3 Commits

Author SHA1 Message Date
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
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