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_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 > "$@"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
BIN
rss.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
37
style.css
37
style.css
|
@ -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 {
|
||||
|
@ -80,33 +80,40 @@ th, td {
|
|||
|
||||
|
||||
#header a, #nav a, #menu a {
|
||||
text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#menu {
|
||||
clear: both;
|
||||
color: #069;
|
||||
overflow: hidden;
|
||||
background-color: #17a;
|
||||
padding: 0.7ex;
|
||||
clear: both;
|
||||
color: #069;
|
||||
overflow: hidden;
|
||||
background-color: #17a;
|
||||
padding: 0.7ex;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
padding: 0.5ex 1ex;
|
||||
color: #fff;
|
||||
padding: 0.5ex 1ex;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#menu a:hover {
|
||||
background-color: #069;
|
||||
background-color: #069;
|
||||
}
|
||||
|
||||
#header {
|
||||
clear: both;
|
||||
color: #555;
|
||||
font-size: 1.78em;
|
||||
padding: 0.7ex 0.7ex 0.7ex 0.0ex;
|
||||
clear: both;
|
||||
color: #555;
|
||||
font-size: 1.78em;
|
||||
padding: 0.7ex 0.7ex 0.7ex 0.0ex;
|
||||
}
|
||||
|
||||
#header a {
|
||||
color: #17a;
|
||||
color: #17a;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue