aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-24 21:19:24 -0400
committertdro <tdro@noreply.example.com>2022-05-24 21:19:24 -0400
commit572526bca198fa8e1a5054537299056f0b0a7579 (patch)
tree4cdd3cdff1dafa55abfc739dc7d2bee0b4f58fec
parentd2aa53e290395767bc6d818e1f64045ee531d744 (diff)
downloadcanory-572526bca198fa8e1a5054537299056f0b0a7579.tar.gz
canory-572526bca198fa8e1a5054537299056f0b0a7579.tar.bz2
canory-572526bca198fa8e1a5054537299056f0b0a7579.zip
themes/default/layouts/_default/feeds: Change content at interface
-rw-r--r--themes/default/layouts/_default/feeds.html4
-rw-r--r--themes/default/layouts/partials/card-feed.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/_default/feeds.html b/themes/default/layouts/_default/feeds.html
index 5800ae3..473af35 100644
--- a/themes/default/layouts/_default/feeds.html
+++ b/themes/default/layouts/_default/feeds.html
@@ -135,10 +135,10 @@
"FeedName" ((delimit (first 3 (split .FeedSourceTitle " ")) " ") | replaceRE "[^a-zA-Z ]" "")
"FeedSourceDomain" (.FeedSourceLink | replaceRE "^https?://([^/]+).*" "$1")
"FeedSourceLink" .FeedSourceLink
- "FeedContent" (or .FeedDescription .FeedTitle)
+ "FeedContent" (print (or .FeedDescription .FeedTitle) ".")
"FeedDate" .FeedDate
"FeedDateTime" .FeedDateTime
- "FeedDateTitle" .FeedDateTime
+ "FeedDateTitle" .FeedDateTitle
"FeedWordCount" ((or .FeedDescription .FeedTitle) | countwords)
"FeedLink" .FeedLink
)
diff --git a/themes/default/layouts/partials/card-feed.html b/themes/default/layouts/partials/card-feed.html
index fbcab8c..a19ce78 100644
--- a/themes/default/layouts/partials/card-feed.html
+++ b/themes/default/layouts/partials/card-feed.html
@@ -62,7 +62,7 @@
&middot; <a href="{{ .FeedLink }}">
<time
datetime="{{ .FeedDateTime }}"
- title="{{ .FeedDateTime | time.Format "Monday, January 2 2006 at 15:04:05 MST" }}">
+ title="{{ .FeedDateTitle }}">
{{ .FeedDate }}
</time>
</a>
@@ -76,7 +76,7 @@
</word-limit>
</section>
</micro-metadata>
- <p>{{ .FeedContent }}.</p>
+ <p>{{ .FeedContent }}</p>
</micro-content>
</micro-summary>
</micro-card>