Skip to content

Commit

Permalink
Cleanup + favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
htv04 committed Feb 19, 2024
1 parent 96b233a commit 28cb89d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
16 changes: 13 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
all: root/index.html
.PHONY: all pages run clean

docs/index.html: root/index/index.md
all: root pages

pages: root/index.html root/images

root/%.html: src/pages/%.md root
pandoc $< -f markdown -s -t html -o $@

root/images: root
cp -r src/pages/images root/images

root:
mkdir root

run:
python3 -m http.server -d root

clean:
rm -f root/index.html
rm -rf root
Binary file added root/images/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions root/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
Expand Down
Binary file added src/pages/images/favicon.ico
Binary file not shown.
2 changes: 2 additions & 0 deletions src/index/index.md → src/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title-meta: HTV04's Website
author-meta: HTV04
date-meta: February 18, 2024
document-css: false
header-includes:
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
---

# [HTV04's Website](https://htv04.com).
Expand Down

0 comments on commit 28cb89d

Please sign in to comment.