* 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>
* 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 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>
* Update layout to use Hugo Image Processing.
Created shortcode rimg that uses the srcset attribute to display responsive images.
* Copy Static images to assets folder.
* Add image processing to missing components + Update examples
* Fix rendering in https://themes.gohugo.io/
Co-authored-by: Emruz Hossain <emruz@appscode.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>
* Managing i18n
* Fix absolute path
* Config files
* Home link manage langage
* Fixing footer i18n
* Implemented i18n on newsletter
* Implemented two languages in example
* Removed old section directory
* Using yaml in data to organize home summary
* Fully working for old versions without i18n
* Integrating language menu CSS
* Fix language dropdown CSS
* Refactor translation codes
* Remove duplicate code
* Fix URL issues
* Move customMenus and other site related config into data section
* Fix error during language toggle
* Only show the available translation for the posts
* Handle navbar brand URL properly
* Fix responsiveness
Co-authored-by: Hugo MARTIN <hugo.martin.69@gmail.com>
Co-authored-by: hossainemruz <emruz@appscode.com>