Commit graph

68 commits

Author SHA1 Message Date
Emruz Hossain
7223361464
Fix build failure due to Hugo chaning _internal template behavior (#1050)
* 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>
2025-04-14 22:48:34 +06:00
Emruz Hossain
aa91957832
Make RSS feed path configurable (#1034)
* Make RSS feed path configurable

Fixes #997

Add configuration option for RSS feed path

* Add `rssPath` configuration option in `exampleSite/hugo.yaml` under the `params` section to specify the desired RSS feed path.
* Set the default value of `rssPath` to `/rss.xml`.
* Update `layouts/_default/baseof.html` to include the RSS feed link with the configured `rssPath` value.
* Use the default path `/index.xml` if `rssPath` is not specified.

* Add outputFormats to hugo.yaml

Signed-off-by: Emruz Hossain <hossainemruz@gmail.com>

* Add reference to doc

Signed-off-by: Emruz Hossain <hossainemruz@gmail.com>

---------

Signed-off-by: Emruz Hossain <hossainemruz@gmail.com>
2025-02-07 03:01:08 +06:00
dependabot[bot]
9a8d3af57d
Bump katex from 0.16.11 to 0.16.21 in /exampleSite (#1025)
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.11 to 0.16.21.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.11...v0.16.21)

---
updated-dependencies:
- dependency-name: katex
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2025-02-07 01:30:58 +06:00
David G. Simmons
4e4acdbb6b
Remove in-line script from header (#1004)
* remove in-line script from header

* oops!

* Set script in-line with integrity hash

Signed-off-by: Emruz Hossain <hossainemruz@gmail.com>

---------

Signed-off-by: Emruz Hossain <hossainemruz@gmail.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2024-12-01 20:37:33 +06:00
David G. Simmons
aa9b49b318
Add statcounter to statistics (#1003) 2024-10-21 19:11:26 +06:00
Bernat Borràs Civil
0d4d8a8e3c
Add copy code button (#963)
* Add copy code button

* External package not needed

* Improve alignement

* Update button style + add feedback on click

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Update dependencies

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

---------

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2024-09-20 01:29:38 +00:00
Andreas Deininger
f032986c23 Change npm package 'flag-icon-css' to 'flag-icons' 2024-09-08 19:25:09 +02:00
JY Hsu
7bc37c74c7
Added default theme (#960)
* feat: Added default theme

* Revert "feat: Added default theme"

This reverts commit a11a99f92a.

* feat: Add basic theme feature

* feat: Add theme settings

* fix: Fix default theme value

* fix: Fix CR and doc-string

* Comment out darkMode on exampleSite/hugo.yaml

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

---------

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2024-09-06 16:15:33 +06:00
Andreas Deininger
02e5e99cf6
Fix deprecation warnings (#962) 2024-08-31 04:14:02 +06:00
Emruz Hossain
8599c634e3
Update hugo version in netlify.toml (#946)
* Update hugo version in netlify.toml

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Rename config.yaml to hugo.yaml

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Use go version 1.21

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Fix link

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

---------

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2024-06-02 00:47:22 +06:00
Augusto Pace
f3dacf112c
Added umami analitycs support (#938)
* feat: added umami analityc support

* chore: added support to on-premise deployment of umami service

* chore: renamed 'proto' to 'scheme' on umami integration
2024-05-13 22:56:20 +06:00
Emruz Hossain
a3213b46f9
Fix language selector when default language is not English (#936)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2024-05-11 01:59:04 +06:00
Andreas Deininger
3edd8e7858
Fix deprecation warnings (#908)
* 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>
2024-05-11 00:00:29 +06:00
Bernat Borràs Civil
03148c9f3f
Migrate to Bootstrap 5 (#918)
* Migrate to Bootstrap 5

* Fix dropdown

* Fix horizontal line color

* Fix vertical line

* Migrate bootstrap on example site

* Fix style issue + scroll spy

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

---------

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2024-04-21 02:03:59 +06:00
dependabot[bot]
d90b878f92
Bump katex from 0.16.9 to 0.16.10 in /exampleSite (#913)
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.9 to 0.16.10.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.9...v0.16.10)

---
updated-dependencies:
- dependency-name: katex
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2024-04-14 02:18:03 +06:00
Emruz Hossain
e8b0cfb32e
Fix active menu on sidebar not getting highlighted in dark mode (#881)
Signed-off-by: Emruz Hossain <emruz.hossain@qdrant.com>
2024-02-02 18:31:03 +00:00
Emruz Hossain
c74672c1c1
Update local development guide (#869)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2024-01-24 10:06:35 +06:00
hossainemruz
40d121bf2c Update replace dir
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2023-11-23 15:00:41 +06:00
Emruz Hossain
93fc487111
Refactor workflows (#835)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2023-11-21 14:42:39 +06:00
Emruz Hossain
5f0aebcf68
Implement proper dark mode (#800)
* Implement proper dark mode

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Fix footer color in light mode

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

---------

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2023-09-30 05:04:48 +06:00
Emruz Hossain
6dc9d1d33d
Refactor CSS (#785)
* Refactor CSS

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Refactor about section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Refactor CSS for experiences section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Update education section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Update projects section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Update publication + accomplishment section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Update achievements section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Refactor footer CSS

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Re-use section title adjustment css for top header

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Refactor navbar CSS

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Refactor sidebar CSS

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Use unified navbar for all pages

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Refactor 404 page CSS

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Refactor list page css

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Fix notes page css

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Refactor single page css

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Introduce color variables

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

---------

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2023-09-29 04:27:19 +06:00
Bernat Borràs Civil
80205a7117
Add reading time, #679 (#784)
* Add reading time

* Add reading time
2023-07-31 16:30:13 +00:00
ZeYanLin
8f2d583ab6
Support Cloudflare Web Analytics (#763)
* Support Cloudflare Web Analytics

* Support Cloudflare Web Analytics

---------

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2023-07-30 07:48:13 +00:00
Bernat Borràs Civil
08017d5977
Add possibility to show tags on post cards (#782)
* Add possibility to show tags on post cards

* Add on_card tags in exampleSite

---------

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2023-07-29 15:21:26 +00:00
Emruz Hossain
0d20efe1b7
Support rel atribute in social links (#735)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2023-02-09 17:03:59 +00:00
Emruz Hossain
85f6413b7e
Update config.yaml for exampleSite to match new structure (#722)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2023-01-05 18:58:41 +00:00
Emruz Hossain
d3c2c6d1fc
Add exampleSite + update module to v4 (#717)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2022-12-28 19:25:33 +00:00
Emruz Hossain
add2c3703c
Remove exampleSite (#284)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2021-04-01 18:22:38 +00:00
hossainemruz
5c95132b1e Add acomplishment section
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2021-03-28 00:55:39 +06:00
Chuso Pérez
0848be17ba
#42 Add suppor for client-side search (#227)
* Add support for client-side search with Fuse.js. Implements #42.

Based on https://gist.github.com/eddiewebb/735feb48f50f0ddd65ae5606a1cb41ae

* Move search form code repeated in many places to one single template.

* Add search box in home page.

* Fix search UI + Some improvements

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Remove search.md from exampleSite

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2021-03-13 23:43:10 +06:00
安红豆
4ef34a8f63
Display project card technology tags (#243)
* Display project card technology tags

* Fix tag CSS

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2021-03-13 21:37:47 +06:00
Nicholas Santiago
83f7946136
parameterize git branch (#222)
* parameterize git branch

* docs: add param to README.md, prettier lint
2021-01-21 13:03:37 +06:00
Emruz Hossain
dd856ac3ef
Fix missing space in cn/sections.projects.yaml (#215) 2021-01-07 10:19:08 +00:00
BoT
211db5b2c2
Translate chinese (#210)
Signed-off-by: Emruz Hossain <emruz@appscode.com>
2021-01-05 11:34:09 +06:00
Emruz Hossain
6d8bffcfca
Remove images from static folders (#207) 2021-01-03 09:55:31 +00:00
Emruz Hossain
73c786b1c2
Add education section (#168)
* Add education section

* Add education-alt section

* Add translations
2021-01-02 22:29:38 +06:00
imgbot[bot]
505b8a9307
[ImgBot] Optimize images (#204)
*Total -- 2,892.29kb -> 2,385.28kb (17.53%)

/exampleSite/assets/images/sections/skills/git.png -- 25.45kb -> 10.41kb (59.1%)
/assets/images/main-logo.png -- 12.86kb -> 5.50kb (57.2%)
/exampleSite/assets/images/sections/projects/toha.png -- 12.86kb -> 5.50kb (57.2%)
/exampleSite/assets/images/sections/skills/go.png -- 15.16kb -> 6.58kb (56.62%)
/exampleSite/assets/images/sections/skills/c++.png -- 97.47kb -> 56.46kb (42.08%)
/exampleSite/assets/images/site/favicon.png -- 6.52kb -> 4.12kb (36.78%)
/exampleSite/assets/images/site/inverted-logo.png -- 6.52kb -> 4.12kb (36.78%)
/assets/images/favicon.png -- 20.59kb -> 13.35kb (35.18%)
/assets/images/inverted-logo.png -- 20.59kb -> 13.35kb (35.18%)
/assets/images/theme-logo.png -- 20.59kb -> 13.35kb (35.18%)
/exampleSite/assets/images/author/jessica.png -- 7.97kb -> 6.01kb (24.62%)
/exampleSite/assets/images/author/john.png -- 7.73kb -> 6.25kb (19.15%)
/assets/images/default-background.jpg -- 1,427.74kb -> 1,154.80kb (19.12%)
/exampleSite/assets/images/sections/skills/kubernetes.png -- 279.62kb -> 235.54kb (15.76%)
/exampleSite/assets/images/sections/projects/kubernetes.png -- 279.62kb -> 235.54kb (15.76%)
/exampleSite/assets/images/sections/skills/prometheus.png -- 55.60kb -> 47.25kb (15.02%)
/exampleSite/assets/images/sections/projects/no-code.png -- 51.09kb -> 44.82kb (12.26%)
/assets/images/404.png -- 114.64kb -> 107.74kb (6.02%)
/exampleSite/assets/images/sections/achievements/woman-winner.jpg -- 87.81kb -> 83.21kb (5.24%)
/exampleSite/assets/images/site/main-logo.png -- 7.09kb -> 6.72kb (5.21%)
/exampleSite/assets/images/sections/achievements/sport.jpg -- 142.25kb -> 136.39kb (4.12%)
/assets/images/default-hero.jpg -- 72.20kb -> 69.41kb (3.87%)
/exampleSite/assets/images/sections/achievements/presenter.jpg -- 97.24kb -> 95.85kb (1.42%)
/assets/images/hugo-logo.svg -- 2.46kb -> 2.44kb (0.68%)
/assets/images/404.svg -- 20.61kb -> 20.56kb (0.23%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-12-31 20:58:47 +00:00
Patrick Magauran
a2b3c7fda2
Transition to Hugo Image Processing (#173)
* 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>
2020-12-31 20:55:28 +00:00
Thorsten Alteholz
73f759b2b6
explicitly set the default language (needed for English not being the… (#197)
Co-authored-by: Thorsten Alteholz <thorsten@alteholz.de>
2020-12-29 09:12:36 +00:00
BoT
00b42fd266
translate_Chinese (#198)
* translate_Chinese

* translate_Chinese
2020-12-29 09:11:03 +00:00
Alison Presmanes Hill
1341d9216d
es -> it for italian language code (#194) 2020-12-18 04:11:16 +00:00
imgbot[bot]
b9ab0e6f2d
[ImgBot] Optimize images (#176)
*Total -- 4,648.08kb -> 3,992.27kb (14.11%)

/exampleSite/static/images/sections/skills/git.png -- 25.45kb -> 10.41kb (59.1%)
/exampleSite/static/images/sections/projects/toha.png -- 12.86kb -> 5.50kb (57.2%)
/static/assets/images/main-logo.png -- 12.86kb -> 5.50kb (57.2%)
/exampleSite/static/images/sections/skills/go.png -- 15.16kb -> 6.58kb (56.62%)
/exampleSite/static/images/sections/skills/c++.png -- 97.47kb -> 56.46kb (42.08%)
/exampleSite/static/images/site/inverted-logo.png -- 6.52kb -> 4.12kb (36.78%)
/exampleSite/static/images/site/favicon.png -- 6.52kb -> 4.12kb (36.78%)
/static/assets/images/inverted-logo.png -- 20.59kb -> 13.35kb (35.18%)
/static/assets/images/favicon.png -- 20.59kb -> 13.35kb (35.18%)
/exampleSite/static/images/author/jessica.png -- 7.97kb -> 6.01kb (24.62%)
/images/single.png -- 146.86kb -> 117.81kb (19.78%)
/exampleSite/static/images/author/john.png -- 7.73kb -> 6.25kb (19.15%)
/static/assets/images/default-background.jpg -- 1,427.74kb -> 1,154.80kb (19.12%)
/exampleSite/static/images/sections/projects/kubernetes.png -- 279.62kb -> 235.54kb (15.76%)
/exampleSite/static/images/sections/skills/kubernetes.png -- 279.62kb -> 235.54kb (15.76%)
/images/about.png -- 166.76kb -> 141.16kb (15.35%)
/exampleSite/static/images/sections/skills/prometheus.png -- 55.60kb -> 47.25kb (15.02%)
/exampleSite/static/images/sections/projects/no-code.png -- 51.09kb -> 44.82kb (12.26%)
/images/screenshot.png -- 697.87kb -> 637.97kb (8.58%)
/images/tn2.png -- 343.68kb -> 315.34kb (8.24%)
/images/tn.png -- 127.17kb -> 119.37kb (6.13%)
/static/assets/images/404.png -- 114.64kb -> 107.74kb (6.02%)
/exampleSite/static/images/sections/achievements/woman-winner.jpg -- 87.81kb -> 83.21kb (5.24%)
/exampleSite/static/images/site/main-logo.png -- 7.09kb -> 6.72kb (5.21%)
/exampleSite/static/images/sections/achievements/sport.jpg -- 142.25kb -> 136.39kb (4.12%)
/static/assets/images/default-hero.jpg -- 72.20kb -> 69.41kb (3.87%)
/images/list.png -- 294.05kb -> 288.70kb (1.82%)
/exampleSite/static/images/sections/achievements/presenter.jpg -- 97.24kb -> 95.85kb (1.42%)
/static/assets/images/hugo-logo-wide.svg -- 2.46kb -> 2.44kb (0.68%)
/static/assets/images/404.svg -- 20.61kb -> 20.56kb (0.23%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-11-30 18:43:28 +06:00
domenico.vistocco
6e8d2ad151
Italian menu item (#166)
Added the Italian menu item
2020-11-24 09:23:12 +06:00
Emruz Hossain
7a05e9b022
Improve theme README & exampleSite (#157)
* Improve theme README

* Update exampleSite

* Add "Available Translation" section in README
2020-11-05 02:11:32 +06:00
alex bezek
d0c32c5d08
Fix the single template to use the authors avatar correctly (#107)
* 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>
2020-10-25 08:07:18 +06:00
Richard Tirtadji
47c4ef0251
Add Indonesian Language for Toha Themes (#118)
* Add Indonesian Language for Toha Themes #118

Co-authored-by: Richard Tirtadji <richardtirtadji@Richards-MacBook-Pro.local>
2020-10-22 23:32:01 +06:00
Lukas Herzog
f9a3d3a49e
German Translation (#97) 2020-10-13 18:06:07 +06:00
Emruz Hossain
56c8ba4e43
Fix smooth scroll for multi-language setup (#93) 2020-10-11 12:40:00 +06:00
Hugo MARTIN
46b21e028c
Translations and i18n (#60)
* 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>
2020-10-03 09:59:28 +06:00
Anthony Vanegas
6c2cca0127
Support custom homepage greeting message (#66)
* Support custom greeting message in homepage
Co-authored-by: Emruz Hossain <emruz@appscode.com>
2020-08-27 18:45:50 +06:00