diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-19 14:59:53 +0200 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-19 15:02:19 +0200 |
| commit | cbb27e8bc159fc7abc4bc23e58cdb704f1759b27 (patch) | |
| tree | 8a0db0319af6914ee2eab61061b73cc3e6515e8a | |
| parent | b4a81359f189f21cfc37cfdcba8091d3f66461ca (diff) | |
| download | alpine-mksite-cbb27e8bc159fc7abc4bc23e58cdb704f1759b27.tar.bz2 alpine-mksite-cbb27e8bc159fc7abc4bc23e58cdb704f1759b27.tar.xz | |
rename _layout.template.html to _default.template.html
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | _default.template.html (renamed from _layout.template.html) | 0 | ||||
| -rw-r--r-- | _scripts/generate_page.lua | 2 |
3 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ all: $(pages) $(static_out) $(out)/index.html: release.yaml last5.yaml -$(out)/%.html: %.md _layout.template.html +$(out)/%.html: %.md _default.template.html mkdir -p $(dir $@) lua _scripts/generate_page.lua $< $(filter %.yaml,$^) > $@.tmp mv $@.tmp $@ diff --git a/_layout.template.html b/_default.template.html index 2cca1a8..2cca1a8 100644 --- a/_layout.template.html +++ b/_default.template.html diff --git a/_scripts/generate_page.lua b/_scripts/generate_page.lua index c5fbeef..c0dee25 100644 --- a/_scripts/generate_page.lua +++ b/_scripts/generate_page.lua @@ -26,7 +26,7 @@ function read_layout(file) -- path/file.template.html -- layout.template.html for _,t in pairs{file:gsub(".md$", ".template.html"), - "_layout.template.html"} do + "_default.template.html"} do local f = io.open(t) if f then local data = f:read("*a") |
