* Fix build failure due to Hugo chaning `_internal` template behavior
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
* Update min Hugo version
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
---------
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
* Add Blogtrottr as newsletter provider
* Fixed absLangURL issue with sections in footer
* Fixes LaTeX support
Makes scripts fully local and only loads them if math:true. Adds support for 18462\latex18462 or even $\latex$
* Added 2 New, Privacy-Friendly Analytics Methods
Counter.dev and GoatAnalytics. Google Analytics should keep working the same
* Removed 1 CDN
* Moved params under features
* Added Ko-Fi floating button for support
* Refactor analytics code + Add local fonts
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: Pablo Marcos <codebergflamingo@staplehorse.anonaddy.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
Per https://github.com/hugo-toha/toha/issues/352 - in order to support Google Analytics v4, _internal/google_analytics.html should be used
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* Allow to disable the footer with params.footer.enable = false
Default is to have the footer enabled (to keep backwards
compatibility).
The diff looks much worse than it is, I just added a variable and an
if clause, but then had to indent the rest of the file.
Make footerEnabled an explicit variable.
This should improve readability.
Use default parameter for even more readability.
* Allow to enable/disable the "contact me" section in the footer.
Just set `footer.contactMe.enable` in the config. Default is true, for
backwards compatibility.
* Make footer template more consistent.
Enabling footers elements and the newsletter is now managed in the
same place.
* Allow to disable the footer navigation. Default is enabled.
* Allow to disable credentials and copyright notice. Default: enabled
* Footer: Reformat variable initialization for readability.
* Allow providing template for footer
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: hossainemruz <hossainemruz@gmail.com>
* Fix the single template to use the authors avatar correctly
* Replace absURL with relURL and .Site.X with site.X
Co-authored-by: Emruz Hossain <emruz@appscode.com>