diff --git a/Makefile b/Makefile index c8b1e6b..4d645b3 100644 --- a/Makefile +++ b/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 > "$@" diff --git a/bin/page.sh b/bin/page.sh index 3aa3a26..016735f 100755 --- a/bin/page.sh +++ b/bin/page.sh @@ -28,8 +28,8 @@ expand() { posts projects cv - about contact +
EOF diff --git a/content/pages/projects/note.md b/content/pages/projects/note.md index f65d933..9bcfd9b 100644 --- a/content/pages/projects/note.md +++ b/content/pages/projects/note.md @@ -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) diff --git a/rss.png b/rss.png new file mode 100644 index 0000000..a16cafa Binary files /dev/null and b/rss.png differ diff --git a/style.css b/style.css index 44d13ad..efec865 100644 --- a/style.css +++ b/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; }