* add npm dependencies used in this theme
* implement helper to configure JS and ESBuild
* migrate jquery popper.js bootstrap fontawesome to js bundle
* refactor main.js into smaller pieces, and moved navbar.js to assets
* remove list.js. It adjusts post card height to be the same, but is actually not needed.
* refactored notes.js, search.js, single.js into application.js
* move ityped to js asset, implement experiences horizontal vertical line in css
* align recent post height via css
* migrated home.js and refactored into various sections
* migrated darkMode feature to js bundle
* moved mermaid feature to js bundle
* migrate syntax highlight to js bundle
* migrate katex ( js portion ) to js bundle
* migrate pdf-js to js bundle by delegating to cdn
* set explicit comparisions for feature envvars so js can properly optimize
* removed goat-counter
* more fixes for broken achievements and small bugs
* more bug fixes
* allow configuration of hightlight.js, fix video-player shortcode
* remove jquery all together
* add null handling and fix merge conflicts
Co-authored-by: Aaron Qian <aaron@yeet.io>
* 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>