forked from nat/webbed-site
add footer support, make include script
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body>
|
||||
$[python3 -c 'import utils; print(utils.parse_file("html/header.html"))' | sed 's/\$PREV_URL\$/"{prev}"/']
|
||||
$[include html/header.html]
|
||||
<main>
|
||||
<section>
|
||||
<h1>Natalie Sightings</h1>
|
||||
@ -16,6 +16,7 @@
|
||||
<section>
|
||||
<flex-grid>$[for file in files/natalie-sightings/*; do echo "<flex-grid-item>$(img-caption "/$file")</flex-grid-item>"; done]</flex-grid>
|
||||
</section>
|
||||
</main>
|
||||
</main>
|
||||
$[include html/footer.html]
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user