| Age | Commit message (Collapse) | Author |
|
to links
|
|
- from https://discord.com/branding
close #76
|
|
|
|
defer and beautify
|
|
closes #78
|
|
- disable indexing for non-prod sites
|
|
|
|
to indicate multiple language/locale versions
for multilungual sites
|
|
- add corresponding css
- gen anchored headings for h1-h6
- link with single.html
|
|
Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
|
|
- default 150
usage:
profileMode:
imageUrl: "/android-chrome-192x192.png"
imageWidth: 120
imageHeight: 120
|
|
- include profile-mode
(cannot be done before f9fbdc9963c37b8ee46196de3349d6769839da4d)
- reduce request count from 2 to 1
improves perf :P
https://web.dev/resource-summary/
|
|
- languageName: ":country_emoji:"
can now be displayed as emoji
|
|
was unset
|
|
used when
enableRobotsTXT: true
https://gohugo.io/templates/robots/
|
|
- fix: Links do not have a discernible name
|
|
- also set theme color to #2e2e33
- use syntax from https://favicon.io
- `site.webmanifest` added, should be present in "static"
Custom links to favicons can be added in site config =>
params:
assets:
favicon: "<link / abs url>"
favicon16x16: "<link / abs url>"
favicon32x32: "<link / abs url>"
apple_touch_icon: "<link / abs url>"
safari_pinned_tab: "<link / abs url>"
|
|
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
|
|
This reverts commit 0eed773e6dcf999cb052b6f781bfbe7ad74e63c7.
|
|
- owner can set dark/light/auto default theme
- theme toggle will be enabled on all theme modes unless disbaled
- if disableThemeToggle is true, user won't be able to switch themes,
here auto (a/c to system theme) also works
for #69
|
|
fixes: Footnotes anchor link hrefs such as `#fn:1`
fixes: ToC anchors failing with hrefs having numbers.
based-on: https://stackoverflow.com/a/51396346/300212
|
|
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
|
|
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
|
|
* language-switch: init
* header: move logo-switches together
|
|
for twitter share
|
|
* is of type `[]interface {}` and not `[]string`
|
|
* is of type `[]interface {}` and not `[]string`
|
|
|
|
|
|
* usage:
author: ["me", "you"]
|
|
when author is not present
|
|
|
|
- will reduce render time in development env
|
|
* rel=me links allow cross-linking of user's identities, improving SEO
|
|
- hide zero date (closes #33)
- fix separator
- refactor
|
|
|
|
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
|
|
* icon belong to medium[.]com
* converted to svg with online-convert[.]com
|
|
Usage:
in site config:
languages:
ar:
languagedirection: rtl
title: مدونتي
weight: 2
* ref: https://gohugo.io/content-management/multilingual/#configure-languages
|
|
* add placeholder template for extending footer
closes #37
|
|
* add placeholder template for extending head
|
|
|
|
|
|
|
|
* label can be set differently from title
* label can have an optional icon with preffered size
* in site config =>
params:
label:
text: "Home"
icon: /apple-touch-icon.png
iconHeight: 35
|
|
* 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
|
|
* json-schema: init
* sameAs can be set through .Site.Params.schema.sameAs
* if it is not specified but social-icons exsists, we use social-icons for sameAs vars
* .Site.Params.schema.sameAs overrides social-icons
* publisherType can be changed via .Site.Params.schema.publisherType
|
|
* 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
|
|
|