* 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 alt tag to the images
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
* Remove unnecessary /
Signed-off-by: hossainemruz <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>