Skip to content

Commit f5abe47

Browse files
authored
Merge pull request #5 from maciejzj/develop
Release features for v0.1.0
2 parents 6ff04ab + 78c13a0 commit f5abe47

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ generated_files += $(foreach post,$(markdown_posts),$(patsubst $(posts_dir)/%.md
129129

130130
compile: $(generated_files)
131131

132-
$(generated_files): $(markdown_pages) $(markdown_posts)
132+
$(generated_files): header.html footer.html $(markdown_pages) $(markdown_posts)
133133
ssb -p $(posts_dir) -o $(output_dir) $(markdown_pages)
134134

135135
.PHONY: clean

ssb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,17 @@ echo_header_template()
123123
<a href="mailto:">email</a>
124124
</nav>
125125
</header>
126+
<main>
126127
'
127128
}
128129

129130

130131
echo_footer_template()
131132
{
132133
echo \
133-
'<footer>
134+
'
135+
</main>
136+
<footer>
134137
Created with <a href="https://github.com/maciejzj/ssb">ssb</a> – a simple
135138
static blogger.
136139
</footer>
@@ -145,6 +148,7 @@ echo_css_template()
145148
'body { max-width: 40em; margin: auto; padding: 1.5em }
146149
header { font-size: 1.2em; }
147150
footer { text-align: right; }
151+
main { }
148152
nav { }
149153
h1 { }
150154
h2 { }

0 commit comments

Comments
 (0)