Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 4 insertions, 2 deletions
-rw-r--r--ext/pagenav.awk6
diff --git a/ext/pagenav.awk b/ext/pagenav.awk
index b4dd791..0f2a297 100644
--- a/ext/pagenav.awk
+++ b/ext/pagenav.awk
@@ -2,11 +2,13 @@ FNR == 1 {
STD_FILENAME = FILENAME
sub(/^\.\/website\//, "", STD_FILENAME)
+ substitutions["dbarsep"] = " || "
+
# Stats element
stats = \
" <div id=\"pagenav-stats\">" ORS \
-" <strong>Reading: [$expected-reading]</strong> &ensp;||&ensp; <strong>Created: [$created]</strong> &ensp;||&ensp; <strong>Edited: [$edited]</strong>" ORS \
-" &ensp;||&ensp; <a href=\"https://gitlab.com/Syndamia/syndamiadotcom/-/blob/master/src/" STD_FILENAME "\"><strong>GitLab source</strong></a>" ORS \
+" <strong>Reading: [$expected-reading]</strong> " substitutions["dbarsep"] " <strong>Created: [$created]</strong> " substitutions["dbarsep"] " <strong>Edited: [$edited]</strong>" ORS \
+" " substitutions["dbarsep"] " <a href=\"https://gitlab.com/Syndamia/syndamiadotcom/-/blob/master/src/" STD_FILENAME "\"><strong>GitLab source</strong></a>" ORS \
" </div>"
# Breadcrumbs element