# FAQ

<style>
.prose h2{font-size: 1.4rem}
</style>

## VS Code Editor Snippets

Yore ships two VS Code snippet files that generate shortcode syntax from a short prefix, so you do not have to type parameter names from memory. To install, copy the [`.code-snippets`](https://github.com/ZhenShuo2021/hugo-yore/blob/main/.vscode) files into your site's `.vscode/` directory.

## Description vs. Summary

`description` and `summary` are similar in function: both can be set in front matter, and both convey a short synopsis of the content. The difference is that `description` is never generated automatically, while `summary`, if left unset, is [auto-generated by Hugo](https://gohugo.io/content-management/summaries/#automatic-summary).

Yore does not distinguish between the two for metadata purposes. All metadata output is based on `description`, falling back to `summary` only when `description` is not set. In other words, you should always set `description` rather than relying on `summary`.

## Auto-Generated Summaries Ignore `summaryLength`

This happens because Hugo's automatic summary generation preserves paragraph boundaries rather than truncating mid-paragraph. See [Automatic summaries do not follow summaryLength](https://discourse.gohugo.io/t/automatic-summaries-do-not-follow-summarylength/57386) for details.




## Ancestors of This Page (Auto Generated)



- https://yore.zsl0621.cc/docs/index.md
