| Age | Commit message (Collapse) | Author |
|
finally find a way to determine whether a section/term page has archives or not
by conquering hugo's faultiness of .RelPermalink
|
|
|
|
post_nav_links
|
|
distinguish .Section and .Type
|
|
|
|
|
|
Also updates "draft" to "Draft" to properly capitalize the word (IMO).
|
|
it can cause the search page to have a redundant result for each page
|
|
|
|
|
|
|
|
othewise the count in taxonomy may be inconsistant with the items in the taxonomy list page,
if there's any section page using taxonomy
|
|
- The site function provides global access to the same data as the .Site page method.
- Current context (`.`) is never considered.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fixes non-mainSections pages from being displayed in the list
amend to 143eb18
|
|
when num of posts = 0
- fix: #227
- refactor conditions for nested if
- also fix for 082d960
|
|
- specifically section pages
- should not display on home(index)
|
|
- helps adding description to sub-sections,
search, terms, archive pages
|
|
- same as in single
- allows hiding meta in list pages
|
|
in site config =>
params:
cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: true # hide on list pages and home
hiddenInSingle: true # hide on single page
per-page in front-matter =>
hidden: true # only hide on current single page
|
|
|
|
|
|
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
- generates images of different sizes
- browser can choose between set of images w.r.t viewport width
- is enabled by default
- supported image formats :
https://gohugo.io/content-management/image-processing/#target-format
- Customizing site config params:
params:
cover:
responsiveImages: false # if want to disable it
linkFullImages: true # if link original image on clicking cover
|
|
* User can change Date Format to be displayed in Front Matter
* Formats supported by Hugo can be found here: https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference
|
|
* shows links to section if _index.md is present
* by this sub-sections can be distinguished properly
* more about this and way to implement: https://gohugo.io/content-management/organization/#index-pages-_indexmd
|
|
* change in d819914 and #13
* previous impl breks sites not using `/static` dir as their static location
* hugo supports multiple static directories and previous impl checks only for one
* ref : https://gohugo.io/content-management/static-files/
usage change in post-vars =>
cover:
image: '<relative url>'
relative: true
|
|
#13
|
|
|
|
usage =>
in page-vars front-matter
cover:
image: '<image path/url>'
alt: '<alt text>'
|
|
* checks whether path mentioned in `cover` page-variable exists OR is an external url,
else sets the relative path for image w.r.t the post the cover is of.
|
|
(91e30b806b024422eb257d54df2f5bd59725025d)"
|
|
"." -> "·"
|
|
created by hugo's {{ }}
|
|
* manage spacing and whitespace in meta
|
|
|
|
This reverts commit ce408f6afc0c7ae083ffa48c86b8ce8147c2dda1.
* incomplete
|
|
when num of posts = 0
|
|
* usage => in site config
params:
disableSpecial1stPost : true
|
|
usage with post params =>
cover = "<absolute image url>"
|
|
_default/{archives,list}.html utilize .site.Params.mainSections
This flexible option let's users decide what content pages they want to
display in the archive and on the homepage. By default, Hugo adds
content types with the most content files as a good heuristic. Can be
overwritten at any time in the config file.
Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
|
|
|
|
to hide summary, add to site config
params:
hideSummary: true
|
|
|
|
|