| Age | Commit message (Collapse) | Author |
|
.Site.Config.Services.GoogleAnalytics.ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
according to https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started,
twitter:image is not needed when og:image appears
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
prevent instantclick from ignoring the style
|
|
|
|
|
|
|
|
<meta name=twitter:site> and <meta name=twitter:creator>
|
|
|
|
this change happens on both image-size-control and figure-img-size
|
|
for controlling image size with <figure>
|
|
|
|
just like embed an image, use 
|
|
|
|
|
|
- use object instead of array to ensure uniqueness for each callback
- do not use <script data-no-instant> to add callback, they won't be called if the page is not loaded first time;
instead, try to set the callback each time the page is loaded
|
|
comments_script.html
|
|
replace markdownify with .Page.RenderString, the latter trigger render hook properly
see: https://gohugo.io/functions/markdownify/#readout
> Note: if you need Render Hooks, which markdownify doesn’t currently support, use .RenderString instead.
|
|
|
|
|
|
in config: site.Params.defaultCommentSystems
in front matter: pageCommentSystems
|