diff --git a/i18n/en.toml b/i18n/en.toml index 958a9c1..81f94f8 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -34,5 +34,8 @@ other = "Query is too short" [type_to_search] other = "Type to search" -[old_content] +[old_content_label] +other = "Technology keeps moving but this post has not." + +[old_content_note] other = "What you're about to read hasn't been updated in more than a year. The information may be out of date. Drop a comment below if you find something that needs updating." \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 795cb95..1dc6666 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,7 @@ {{- define "main" }} {{- $s := .Site.Params }} {{- $p := .Params }} -{{- $ageDays := div (sub now.Unix .Date.Unix) 86400 }} +{{- $ageDays := div (sub now.Unix .Date.Unix) 86400 -}} {{- $scratch := newScratch }} {{- if isset $p "image" }} {{- $scratch.Set "image" $p.image }} @@ -15,14 +15,14 @@ {{- $t := .Title }}