This commit is contained in:
Dan Frumin 2020-08-28 20:22:52 +02:00
parent 5b9e56a259
commit 6234b815f3
3 changed files with 6 additions and 3 deletions

View File

@ -15,6 +15,7 @@ post-htmls := $(patsubst $(src)/%.md,$(www)/%.html,$(post-sources))
.PHONY: all serve clean $(post_index)
all: $(POSTCC) $(post-htmls) $(post_index) $(www_root)/static
cp -R ~/www/* $(www_root)
$(www):
mkdir -p $(www)
@ -24,7 +25,7 @@ $(www)/%.html: $(src)/%.md $(www)
# make sure that this target is .PHONY!
$(post_index):
echo LOL > $@
echo hm > $@
$(www_root)/static:

View File

@ -71,7 +71,7 @@ let format_page ~title ~contents =
<body>
<div class="menu">
<span class="menu-item"><a href="/">home</a></span>
<span class="menu-item"><a href="/pages/links.html">linkroll</a></span>
<span class="menu-item"><a href="/posts.html">blog posts</a></span>
<span class="menu-item"><a href="/feed.xml">atom feed</a></span>
</div>
<div id="wrapper">

View File

@ -29,8 +29,10 @@ html {
}
body {
font-family: 'Latin Modern', serif;
font-size: 110%;
line-height: 1.8;
max-width: 100ch;
min-height: 100vh;
overflow-x: hidden;