| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<meta name=twitter:site> and <meta name=twitter:creator>
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
in config: site.Params.defaultCommentSystems
in front matter: pageCommentSystems
|
|
|
|
since it's not actually used, revert this commit if needed again in the futures
|
|
|
|
|
|
|
|
only for meta and link (not stylesheet) tags
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to run scripts only when IsPage == true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|