* conditional rendering: render footer if `layouts/footer.md` exists and has content; fallback if empty or missing
* Resolved#33
* Caused by a0684e5add17d66d951b691c747981f1c32f91da
- 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
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.
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.