update
This commit is contained in:
parent
5b9e56a259
commit
6234b815f3
3
Makefile
3
Makefile
|
@ -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:
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -29,6 +29,8 @@ html {
|
|||
}
|
||||
|
||||
body {
|
||||
font-family: 'Latin Modern', serif;
|
||||
font-size: 110%;
|
||||
line-height: 1.8;
|
||||
|
||||
max-width: 100ch;
|
||||
|
|
Loading…
Reference in New Issue