Add rss link to the menu

This commit is contained in:
Konstantin Nazarov 2023-08-02 20:47:54 +01:00
parent 3d94e47d54
commit 99715f69cb
Signed by: knazarov
GPG key ID: 4CFE0A42FA409C22
5 changed files with 30 additions and 20 deletions

View file

@ -12,7 +12,7 @@ PROJECTS_DST := $(patsubst content/projects/%,$(ODIR)/projects/%/index.html,$(PR
POSTS_SRC := $(wildcard content/posts/*)
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
mkdir -p "$(dir $@)"
@ -32,6 +32,9 @@ $(ODIR)/posts/index.html: $(POSTS_SRC)
$(ODIR)/rss.xml: $(POSTS_SRC)
./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
cat content/index.md | ./bin/mdpage.sh --notitle > "$@"

View file

@ -28,8 +28,8 @@ expand() {
<a href="/posts">posts</a>
<a href="/projects">projects</a>
<a href="/cv">cv</a>
<a href="/about">about</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 id="content">
EOF

View file

@ -1,14 +1,14 @@
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)
* [Plain-text note taking system](https://git.sr.ht/~knazarov/notes.sh)
* [Markdown-to-html in awk](https://git.sr.ht/~knazarov/markdown.awk)
Tarantool-related:
Work-related:
* [Tarantool Cartridge](/projects/tarantool-cartridge)
* [Tarantool Data Grid](/projects/tarantool-data-grid)

BIN
rss.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -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 {
visibility: visible;
}
img {
#content > img {
max-width: 100%;
}
figure {
@ -89,6 +89,7 @@ th, td {
overflow: hidden;
background-color: #17a;
padding: 0.7ex;
font-size: 1em;
}
#menu a {
@ -110,3 +111,9 @@ th, td {
#header a {
color: #17a;
}
.right {
float: right;
margin: 0;
padding: 0;
}