summaryrefslogtreecommitdiff
path: root/layouts/partials/footer.html
AgeCommit message (Collapse)Author
2022-06-01ensure the toggle theme click event listener is only added onceReorx
2022-05-31subtle updatesReorx
2022-05-31remove delegate-jsReorx
since it's not actually used, revert this commit if needed again in the futures
2022-05-28instantclick: support updating head tagsReorx
only for meta and link (not stylesheet) tags
2022-05-27refactor theme toggle; add delegate-itReorx
2022-05-19reindent footer htmlReorx
2022-05-19split page_footer.html from footer.htmlReorx
to run scripts only when IsPage == true
2022-05-05fixup! use noComments to determine comments renderReorx
2022-05-05allow cover img zoomReorx
2022-05-05just replace absLangURL with absURL, stop using DisableLanguageSwitchReorx
start from this commit, PaperModX will no longer support multi language site, post still have language, but there won't be /zh, /zh/archives pages
2022-04-21add image zoom jsReorx
2022-04-21add comments_js partialReorx
2022-04-21add MaskedEmail param and gmail iconReorx
2022-04-14use partial instead of partialCached for footer.htmlReorx
footer has involved a lot of config keys since our fork, sometimes the toc scroll behavior is broken due to cached footer is inconsistant with the current file
2022-04-14subtle changesReorx
2022-04-13add cc link in footerReorx
2022-04-13makes search plays well with InstantClickReorx
by moving search script into footer.html and stop loading InstantClick when page is search
2022-04-13makes toc scroll plays well with InstantClickReorx
by adding/removing scroll event listener each time page is loaded
2022-04-12fix toc script run scopeReorx
2022-04-11replace instantpage with instantclickReorx
2022-04-10fork: update footerReorx
2022-04-10use setTimeout to reduce scroll callback frequencyReorx
2022-04-10add param DisableSmoothScrollReorx
2022-04-10enhance toc scroll algorithmReorx
2022-04-10active toc link while scrollingReorx
2022-03-27Use `site` function instead of `.Site` or `$.Site`Aditya Telange
- The site function provides global access to the same data as the .Site page method. - Current context (`.`) is never considered.
2021-10-30Check if `menu` exists before using scroll position logicAditya Telange
2021-09-05Fix button not allowed inside anchor in footer - HTML validator complaint (#551)Daniel F. Dickinson
Move attributes to anchor and remove not required span (which was used place of a button which was against HTML spec).
2021-09-02Allow hiding `ShowCodeCopyButtons` per pageAditya Telange
closes: #548
2021-09-02Allow hiding copyright/footer textAditya Telange
closes: #543
2021-05-01Use less space in footer for 'Powered by' strings;Aditya Telange
Don't break the 'Powered by' string in between
2021-04-29Improve scripts for menu-scrollAditya Telange
- also fixes menu-scroll-position not working in search page
2021-04-25Don't enable CodeCopyButtons by defaultAditya Telange
Change in var name disableCodeCopy -> ShowCodeCopyButtons
2021-04-16Add checks for adding the copy button in code-blocksAditya Telange
- adds checks to put copy button for code inside table and highlight code block - Fixes #363
2021-04-10Show Code Copy scripts only on Kind = pageAditya Telange
2021-04-10Add copy button to copy code block contents (#345)Kian Kasad
* add buttons to copy code block contents Adds a clickable "copy" link in the top-right corner of each code block. If available, uses the navigator.clipboard API. Falls back to selecting the text and calling document.execCommand('copy') to copy text. * hides copy button unless mouse is hovering over code block * change text of copy button when text is copied * add translation keys for copy button text `code_copy` and `code_copied` * To disable use `Params.disableCodeCopy: true` in site config
2021-04-09Refactor, move HLJS code from footer to head;Aditya Telange
already defered.
2021-03-30Fix Spacing in overall repoAditya Telange
2021-03-25Allow disabling ScrollToTop buttonAditya Telange
- refactor corresponding code usage => in site config: params: disableScrollToTop: true closes: #321
2021-01-26Revert "Use md5 instead of default sha256 for generating SRI hashes (#195)"Aditya Telange
This reverts commit 9e99493e696961bf6dfd58c8540184c8ad4132f7.
2021-01-25retain history of header link clicksAditya Telange
close: #196
2021-01-25Use md5 instead of default sha256 for generating SRI hashes (#195)John
reference: https://gohugo.io/hugo-pipes/fingerprint/
2021-01-20Revert "fix wrong load stylesheet and JS on multihost (multilingual) #126"Aditya Telange
Doesn't work with multilingual config with no specific baseurl This reverts commit ad79fdaf830e9df84a154510d67011c9e6d709a5.
2021-01-20fix wrong load stylesheet and JS on multihost (multilingual) #126Aditya Telange
2021-01-15fix highlight.js loading on section pagesAditya Telange
2021-01-13Do not smooth scrollIntoViewAditya Telange
if user has it preferred https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
2021-01-11go-top-top button cleanupAditya Telange
2021-01-06fix wrong asset links on multihost config (#126)Roman Ispaev
CORS issue for multidomain setup (#168)
2020-12-29fotter: fix Links do not have a discernible name for go-to-top btnAditya Telange
2020-12-29footer: allow disabling HLJS #143Aditya Telange
usage => in site config => params: assets: disableHLJS: true per-page in front-matter => disableHLJS: true