summaryrefslogtreecommitdiffstats
path: root/assets/css/variables.css
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-05 10:32:37 +0200
committerDanilo M. <danix@danix.xyz>2026-04-05 10:32:37 +0200
commit36fffd8e8dfab639b835e5794b18267c146d231c (patch)
tree55191a62e2c11ab2b6981e31e91cb1410edc9b1b /assets/css/variables.css
parente686b06ea46ae25dba0a40a259f2937b3abf7a7c (diff)
downloaddanixxyz-theme-36fffd8e8dfab639b835e5794b18267c146d231c.tar.gz
danixxyz-theme-36fffd8e8dfab639b835e5794b18267c146d231c.zip
fix: use excerpts instead of full content in article cards
Updated both home.html and section.html to: 1. Check for 'excerpt' field in front matter first 2. If excerpt exists, use it 3. If not, generate from content: get first paragraph, convert to plain text, truncate to 150 characters This prevents full article content from showing in feeds while respecting custom excerpts when provided. Applies to both homepage feed and articles section list view. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'assets/css/variables.css')
0 files changed, 0 insertions, 0 deletions