* Add Blogtrottr as newsletter provider
* Fixed absLangURL issue with sections in footer
* Added embed-pdf shortcode
pdf-js is sered locally to preserve privacy and comply with GDPR
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
* Initial commit for dark theme.
* Use DarkReader.auto() to watch for system theme.
* Tunning default parameters.
* Allow configurable number of recent posts.
* Added invisible element to hack theme initialization.
* Added default value.
* Use Darkreader CDN.
* Cleanup to keep darkreader in as few files as possible.
* Renamed darkmode.js to darkmode-darkreader.js.
* Bring back the initialization.
* Added provider property.
* Added theme selector to the posts navbar.
* Removed extra line breaks.
* Changed darkreader CDN to local copy.
* Renamed to darkMode.
* Fixed CodeQL failures.
* Added icons.
* Renamed function.
* Added SVG inversion.
* Used icons for selection.
* Toggle initial dark only in the dynamic navbar.
Co-authored-by: donfiguerres <donfiguerres@github.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
* Enable pages in counter.dev
Not perfect but will work fine for a while.
* Make counter.dev's `referrerPolicy` togglable
* Make `referrerPolicy` take more options
Co-authored-by: Emruz Hossain <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>
In the about section, a correct `tel:` URL was only generated if the
name of the sociallink was "Phone". Now, a correct link will also be
generated if the name of the sociallink corresponds to the translation
of "phone" in one of the i18n files.
Co-authored-by: stueja <jan@jBook.local>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
Added id="footer" just in case someone wants to link there via custom
menus or href="#footer".
Co-authored-by: stueja <jan@jBook.local>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
* feat: configurable custom navbar items
The customMenu item from `data/<language>/site.yaml` will only appear if
its property `showOnNavbar` is `true`.
Example:
```
customMenus:
- name: Imprint
url: posts/imprint
showOnNavbar: false
```
* fix: change logic from to
Co-authored-by: stueja <jan@jBook.local>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
* feat: customMenus in footer
Show customMenu links also in footer.
In `config.yaml`,
- `params.footer.enable` is `true` to show the footer at all
- `params.footer.navigation.enable` is `true` to show navigation items
in the footer
- `params.footer.navigation.customMenus.enable` is `true` to show
customMenu items
Example:
```
params:
footer:
enable: true
navigation:
enable: true
customMenus:
enable: true
```
In `data/<language>/site.yaml`,
- `customMenus` must contain at least one entry with `showOnFooter:
true`
Example:
```
customMenus:
- name: Imprint
url: posts/imprint
showOnFooter: true
```
* fix: nesting levels in config
Co-authored-by: stueja <jan@jBook.local>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
* Add Blogtrottr as newsletter provider
* Fixed absLangURL issue with sections in footer
* Add LaTeX support
Added katex scripts and css to scripts and header partials, respectively
* Replace CDN with local files for LaTex resources + Fix flag error
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: Pablo Marcos <codebergflamingo@staplehorse.anonaddy.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
* Footer contact info: Icons and linking
* Open link in a new tab
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
* fixed "show-more-btn" toggle logic
* allow customization of number of items to show in "taken courses" when before collapsing
* renamed treshold param to collapseAfter
Co-authored-by: Fabio Fenoglio <fabio.fenoglio@eng.it>
* add comment plugin utteranc(save message to github issue)
config.yml
# Enable comment feature. There, should be only one of them.
comment:
enable: true
utteranc:
repo: ormissia/ormissia.github.io
issueTerm: title
theme: github-light
* Update utteranc.html
* Fix disqus comment not working on new configuration style
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
* Fix LOC badge
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
* feat: add valine support
* Adjust the comment config
* Adjust the comment config
* Make comment section backward compatible with old config
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: hossainemruz <hossainemruz@gmail.com>