diff options
| Commit | 452dad73b690a1a05c5c7c75e21d19c37b040ff9 (patch) | |
|---|---|---|
| Author | 2025-08-19 18:48:33 +0300 | |
| Committer | 2025-08-19 18:48:33 +0300 | |
| Files | 3b246c852cd24a82bca9acebb53ff2c1bd92c61b | |
| syndamia.com-452dad73b690a1a05c5c7c75e21d19c37b040ff9.tar syndamia.com-452dad73b690a1a05c5c7c75e21d19c37b040ff9.tar.gz syndamia.com-452dad73b690a1a05c5c7c75e21d19c37b040ff9.zip | ||
| Parent | b0a51ef21705d612a40b787cfe7b414b6849da08 (diff) | |
feat(footer): Add markup source link, change separators to bullets and add dates
3 files changed, 12 insertions, 2 deletions
| -rw-r--r-- | meta/footer.html | 7 | ||||
| -rw-r--r-- | meta/meta.awk | 6 | ||||
| -rw-r--r-- | src/styles.css | 1 |
diff --git a/meta/footer.html b/meta/footer.html index 34495b9..7027c6b 100644 --- a/meta/footer.html +++ b/meta/footer.html @@ -1,6 +1,11 @@ <div class="gap"></div> <footer> - Unless stated otherwise - <a href="/licensing.html">CC BY-SA 4.0</a> - <a href="/about">Kamen</a> @ <a href="/">syndamia.com</a> + <a href="$DUNBAR_SOURCE">Original markup</a> +  •  + <a href="/licensing.html">CC BY-SA 4.0</a> + (unless stated otherwise) +  •  + 2020–2025 </footer> </div> </article> diff --git a/meta/meta.awk b/meta/meta.awk index f586fef..f5c3c15 100644 --- a/meta/meta.awk +++ b/meta/meta.awk @@ -27,7 +27,11 @@ BEGIN { gsub(/\$TITLE/, meta_title[FILENAME], start) gsub(/\$DESCRIPTION/, meta_description[FILENAME], start) - print start getfile(ARGV[i]) FOOTER > ARGV[i] + end = FOOTER + sub(/html$/, "du", FILENAME) + gsub(/\$DUNBAR_SOURCE/, "/" FILENAME, end) + + print start getfile(ARGV[i]) end > ARGV[i] #-- Add to sitemap --# print "<url><loc>" ENVIRON["URL"] substr(ARGV[i], length(ENVIRON["DST"]) + 1) "</loc><lastmod>" date "</lastmod><priority>1.0</priority></url>" > sitemap diff --git a/src/styles.css b/src/styles.css index 2ed1e41..7ae8d01 100644 --- a/src/styles.css +++ b/src/styles.css @@ -313,6 +313,7 @@ article > #article-container > footer { border: 3px solid var(--accent-line-color); border-left: none; border-right: none; + text-align: center; } /*### Wrapper > Article > h, h-anchor ###*/ |