Skip to content

Commit

Permalink
Merge pull request #5 from maciejzj/develop
Browse files Browse the repository at this point in the history
Release features for v0.1.0
  • Loading branch information
maciejzj authored Feb 8, 2024
2 parents 6ff04ab + 78c13a0 commit f5abe47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ generated_files += $(foreach post,$(markdown_posts),$(patsubst $(posts_dir)/%.md

compile: $(generated_files)

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

.PHONY: clean
Expand Down
6 changes: 5 additions & 1 deletion ssb
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,17 @@ echo_header_template()
<a href="mailto:">email</a>
</nav>
</header>
<main>
'
}


echo_footer_template()
{
echo \
'<footer>
'
</main>
<footer>
Created with <a href="https://github.com/maciejzj/ssb">ssb</a> – a simple
static blogger.
</footer>
Expand All @@ -145,6 +148,7 @@ echo_css_template()
'body { max-width: 40em; margin: auto; padding: 1.5em }
header { font-size: 1.2em; }
footer { text-align: right; }
main { }
nav { }
h1 { }
h2 { }
Expand Down

0 comments on commit f5abe47

Please sign in to comment.