25 Commits

Author SHA1 Message Date
Hanwen Guo
cfbfe4e8ed
fix(layout): duplicate back link in post list 2025-01-19 22:32:07 -07:00
Younsung Lee
430d4115f2
fix(partials): Footer rendering bug (#33)
* conditional rendering: render footer if `layouts/footer.md` exists and has content; fallback if empty or missing

* Resolved #33

* Caused by a0684e5add17d66d951b691c747981f1c32f91da
2024-12-12 00:28:58 +09:00
Hanwen Guo
54b49193a0 fix: remove link to polyfill.io 2024-12-06 16:11:56 -07:00
Hanwen Guo
f74e559144 feat(css): align back link and time in post head into one line 2024-11-30 22:11:23 -07:00
younsl
a0684e5add feat(footer): Add fallback footer and improve file reading
- Use resources.Get for safer file reading instead of readFile
  - Prevents directory traversal attacks
  - Ensures file access within Hugo's assets pipeline
  - Better error handling for missing files
- Add fallback copyright notice when footer.md is not found
- Add warning message for fallback to default footer
2024-11-18 01:26:06 +09:00
younsl
169f20256a feat: add toggle option for footer display
- Add isShowFooter option in config.toml (default: true)
- Implement conditional rendering in footer.html based on isShowFooter value
2024-11-18 01:04:24 +09:00
Hanwen Guo
c674e59fca
Merge pull request #27 from ffreeez/patch-1
Fix Hugo WARN deprecated
2024-10-04 12:34:23 -06:00
Hanwen Guo
152ab69e74 Merge pull request #26 from jkkNl:new-features 2024-10-01 00:08:04 -06:00
ffreeez
ad6d622a8d
Update head.html
Fix: Hugo WARN deprecated
2024-09-22 03:35:20 +08:00
nieregularnik
708bc19825 New features
I edited CSS to:
1. I added new styles (not only light and dark).
2. I edited the .toc part. Color of border around TOC should be matching style of theme. Before that it was seted to black no matter what.
3. The same story about "higlight".
4. I added shortcode to support HTML details tag. I also added draft post to show how it's working.
5. I edited baseof.html to add footer.
2024-08-21 09:31:06 +02:00
ch3nnn
990015ea56 feat: support divide post list by year 2024-03-22 15:49:05 +08:00
dtujmer
5524886149
Update back_link.html 2023-05-30 17:48:51 +02:00
Pavel Danov
a37ed682a1 Fix spacing 2023-04-14 13:45:44 +01:00
Pavel Danov
f642c74351 Add simple table of contents generation 2023-04-14 13:44:33 +01:00
Dmitry
76989b98ea
Fix "unclosed action" issue on v0.68.3/extended
https://github.com/Masellum/hugo-theme-nostyleplease/issues/3#issue-1524457299
2023-01-08 14:03:03 +03:00
Hanwen Guo
7ebbf1246a feat: add description <meta> 2023-01-01 17:52:23 +08:00
Hanwen Guo
4bacdfcb75 feat(style): add integrity check 2023-01-01 17:14:50 +08:00
Hanwen Guo
6c52934e93 feat: use relative URL 2023-01-01 17:08:14 +08:00
Hanwen Guo
89a1983130 feat(style): remove han-css to be more minimalist
A few months ago I add han-css to this theme due to my personal
interest. However, I realized it broke the minimalist spirit of
this theme and may broke some style. So it is removed in this
commit.
2023-01-01 16:32:35 +08:00
Hanwen Guo
44f8ee0b7d improve tex (mathjax) support 2022-08-27 21:39:46 +08:00
Hanwen Guo
10130c4963 clean structure of layouts/ and add support for taxonomys 2022-08-27 21:24:22 +08:00
Hanwen Guo
550b0f47b7 improve chinese experience 2022-08-26 23:20:48 +08:00
Hanwen Guo
bbf06e76b2 add default single 2022-08-26 19:47:24 +08:00
Hanwen Guo
0374aa92bf Add mathjax support 2022-08-26 17:51:29 +08:00
Hanwen Guo
d4fc55a757 Initial commit 2022-08-26 15:15:25 +08:00