| Age | Commit message (Collapse) | Author |
|
Adds **local** and **global** param to following front-matter vars:
- hideMeta
- ShowToc
- TocOpen
- comments
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
|
|
usage =>
in post params add :
description: "Desc Text."
|
|
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
|
|
usage =>
in site config =>
params:
assets:
disableHLJS: true
per-page in front-matter =>
disableHLJS: true
|
|
for https://github.com/adityatelange/hugo-PaperMod/blob/0f994eee95811f5cf6099fb5897dd62be1e6cff2/layouts/partials/footer.html#L21
|
|
fixes #151
anchored-headings: retain anchor link '#' in URL
cc #108
footer: remove '#' with go-to-top
Revert "anchored-headings: retain anchor link '#' in URL"
This reverts commit 80954de8bd085a3d5876e86c878088f911307c52.
Revert "footer: rm unused code"
This reverts commit c76233b350fde926c557e49b1a5f0bab8edddc55.
|
|
|
|
* set up basic actions on keypress
* add actions to perform conditionally
* add simple highlight animation
* prevent mouseclick to change active element
* clear input box on Escape
* click on Arrow Right
* clear results and focus search-input on esc
* refactor
|
|
* fix URLs of tags in tag lists
* use recommended code by hugo for tag list generator
* https://gohugo.io/templates/taxonomy-templates/#example-list-tags-in-a-single-page-template
* closes: #113
|
|
* based on https://gist.github.com/cmod/5410eae147e4318164258742dd053993
* modified working for PaperMod
* fetches current lang index.json for search
* add fuse.js v6.4.3 LICENSE: Apache License 2.0
* bundled fastsearch and fusejs as search.js
Co-authored-by: Craig Mod <stuff@craigmod.com>
|
|
close: #108
|
|
|
|
|
|
single, home
|
|
- add corresponding css
- gen anchored headings for h1-h6
- link with single.html
|
|
- languageName: ":country_emoji:"
can now be displayed as emoji
|
|
was unset
|
|
element.)
c - ToC Open/Close
g- Go To Top
h - Home (according to current lang)
t - Theme toggle
more: https://www.w3schools.com/tags/att_global_accesskey.asp
|
|
and set default dir to `auto`
main(css): rm unused class
|
|
|
|
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
|
|
Usage:
in site config:
languages:
ar:
languagedirection: rtl
title: مدونتي
weight: 2
* ref: https://gohugo.io/content-management/multilingual/#configure-languages
|
|
* 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
|
|
|
|
#13
|
|
* allows users to add links and stuff #17
|
|
* shown only on single page
usage =>
in page-vars front-matter
cover:
image: '<image path/url>'
alt: '<alt text>'
caption: '<text>'
|
|
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.
|
|
|
|
* misc(css): rm unused
|
|
(91e30b806b024422eb257d54df2f5bd59725025d)"
|
|
"." -> "·"
|
|
* match with others
|
|
created by hugo's {{ }}
|
|
* manage spacing and whitespace in meta
|
|
in post - meta
|
|
|
|
|
|
|
|
* accessibility, duplicate code
|
|
credits for fix with [.IsMenuCurrent](https://gohugo.io/functions/ismenucurrent/): https://stackoverflow.com/a/56454338
|
|
|
|
This reverts commit ce408f6afc0c7ae083ffa48c86b8ce8147c2dda1.
* incomplete
|
|
fixes : https://github.com/adityatelange/hugo-PaperMod/issues/2
|
|
when num of posts = 0
|
|
|