mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 04:44:38 -04:00
parent
0c0f583b8d
commit
158df174ad
@ -156,6 +156,12 @@ http://remarkjs.com)
|
||||
.Site
|
||||
: see [Site Variables](/variables/site/).
|
||||
|
||||
.Sites
|
||||
: returns all sites (languages). A typical use case would be to link back to the main language: `<a href="{{ .Sites.First.Home.RelPermalink }}">...</a>`.
|
||||
|
||||
.Sites.First
|
||||
: returns the site for the first language. If this is not a multilingual setup, it will return itself.
|
||||
|
||||
.Summary
|
||||
: a generated summary of the content for easily showing a snippet in a summary view. The breakpoint can be set manually by inserting <code><!--more--></code> at the appropriate place in the content page. See [Content Summaries](/content-management/summaries/) for more details.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user