Add rss link to the menu
This commit is contained in:
parent
3d94e47d54
commit
99715f69cb
5 changed files with 30 additions and 20 deletions
5
Makefile
5
Makefile
|
@ -12,7 +12,7 @@ PROJECTS_DST := $(patsubst content/projects/%,$(ODIR)/projects/%/index.html,$(PR
|
||||||
POSTS_SRC := $(wildcard content/posts/*)
|
POSTS_SRC := $(wildcard content/posts/*)
|
||||||
POSTS_DST := $(patsubst content/posts/%,$(ODIR)/posts/%/index.html,$(POSTS_SRC))
|
POSTS_DST := $(patsubst content/posts/%,$(ODIR)/posts/%/index.html,$(POSTS_SRC))
|
||||||
|
|
||||||
all: $(PAGES_DST) $(PROJECTS_DST) $(POSTS_DST) $(ODIR)/style.css $(ODIR)/index.html $(ODIR)/posts/index.html $(ODIR)/rss.xml
|
all: $(PAGES_DST) $(PROJECTS_DST) $(POSTS_DST) $(ODIR)/style.css $(ODIR)/index.html $(ODIR)/posts/index.html $(ODIR)/rss.xml $(ODIR)/rss.png
|
||||||
|
|
||||||
$(ODIR)/%/index.html: content/pages/%/note.md
|
$(ODIR)/%/index.html: content/pages/%/note.md
|
||||||
mkdir -p "$(dir $@)"
|
mkdir -p "$(dir $@)"
|
||||||
|
@ -32,6 +32,9 @@ $(ODIR)/posts/index.html: $(POSTS_SRC)
|
||||||
$(ODIR)/rss.xml: $(POSTS_SRC)
|
$(ODIR)/rss.xml: $(POSTS_SRC)
|
||||||
./bin/rss.sh content/posts "https://knazarov.com" "/posts" > "$@"
|
./bin/rss.sh content/posts "https://knazarov.com" "/posts" > "$@"
|
||||||
|
|
||||||
|
$(ODIR)/rss.png: rss.png
|
||||||
|
cp rss.png $(ODIR)/rss.png
|
||||||
|
|
||||||
$(ODIR)/index.html: content/index.md
|
$(ODIR)/index.html: content/index.md
|
||||||
cat content/index.md | ./bin/mdpage.sh --notitle > "$@"
|
cat content/index.md | ./bin/mdpage.sh --notitle > "$@"
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@ expand() {
|
||||||
<a href="/posts">posts</a>
|
<a href="/posts">posts</a>
|
||||||
<a href="/projects">projects</a>
|
<a href="/projects">projects</a>
|
||||||
<a href="/cv">cv</a>
|
<a href="/cv">cv</a>
|
||||||
<a href="/about">about</a>
|
|
||||||
<a href="/contact">contact</a>
|
<a href="/contact">contact</a>
|
||||||
|
<a href="/rss.xml"><img src="/rss.png" style="height: 15px; width: auto; vertical-align:middle;"></img></a>
|
||||||
</div>
|
</div>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
Subject: Projects
|
Subject: Projects
|
||||||
|
|
||||||
This is a list of ongoing and completed projects that I participated in.
|
Open-source tools and projects: [git.sr.ht/~knazarov](https://git.sr.ht/~knazarov/)
|
||||||
|
|
||||||
Personal side projects:
|
Highlights:
|
||||||
|
|
||||||
* [Homebrew tap for qemu with support for 3d accelerated guests](https://github.com/knazarov/homebrew-qemu-virgl)
|
* [Homebrew tap for qemu with support for 3d accelerated guests](https://github.com/knazarov/homebrew-qemu-virgl)
|
||||||
* [Plain-text note taking system](https://git.sr.ht/~knazarov/notes.sh)
|
* [Plain-text note taking system](https://git.sr.ht/~knazarov/notes.sh)
|
||||||
* [Markdown-to-html in awk](https://git.sr.ht/~knazarov/markdown.awk)
|
* [Markdown-to-html in awk](https://git.sr.ht/~knazarov/markdown.awk)
|
||||||
|
|
||||||
Tarantool-related:
|
Work-related:
|
||||||
|
|
||||||
* [Tarantool Cartridge](/projects/tarantool-cartridge)
|
* [Tarantool Cartridge](/projects/tarantool-cartridge)
|
||||||
* [Tarantool Data Grid](/projects/tarantool-data-grid)
|
* [Tarantool Data Grid](/projects/tarantool-data-grid)
|
||||||
|
|
BIN
rss.png
Normal file
BIN
rss.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
|
@ -35,7 +35,7 @@ h1:hover a:empty, h2:hover a:empty, h3:hover a:empty,
|
||||||
h4:hover a:empty, h5:hover a:empty, h6:hover a:empty {
|
h4:hover a:empty, h5:hover a:empty, h6:hover a:empty {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
img {
|
#content > img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
figure {
|
figure {
|
||||||
|
@ -89,6 +89,7 @@ th, td {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: #17a;
|
background-color: #17a;
|
||||||
padding: 0.7ex;
|
padding: 0.7ex;
|
||||||
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu a {
|
#menu a {
|
||||||
|
@ -110,3 +111,9 @@ th, td {
|
||||||
#header a {
|
#header a {
|
||||||
color: #17a;
|
color: #17a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
float: right;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue