* 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>
* Example site: bump hugo modules to latest versions
* Fix deprecation warnings emitted by hugo v0.124
* Fix typos
* Netlify: bump hugo version
---------
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
* Add tags in post cards from search results
* Use on_card parameter to decide to show the cards or not
* Fix search cards height
* Minor fix
* Fix null tags
* Fix CSS not applied properly in search page
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
---------
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
* Fixed date localization on post card
* fixed also labeling localization for post card
* adressed change request by using the hugo feature of singular/plural automagic for translation
* Fix reading time translation
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
---------
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: hossainemruz <hossainemruz@gmail.com>
* 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>
* 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>
* 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
* 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>
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>
* Make search multilingual
* Added Support for custom country flags
* Add search.md for more language + fix search behavior
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: Pablo Marcos <codebergflamingo@staplehorse.anonaddy.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.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>