mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 21:53:26 +00:00
Compare commits
3 Commits
18c48b4c49
...
v7.3.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0e4756200 | ||
|
|
81886b11c0 | ||
|
|
7615d72e93 |
@@ -1,86 +0,0 @@
|
|||||||
# The layout text of site
|
|
||||||
|
|
||||||
# ----- Commons label -----
|
|
||||||
|
|
||||||
layout:
|
|
||||||
post: Opslag
|
|
||||||
category: Kategori
|
|
||||||
tag: Tag
|
|
||||||
|
|
||||||
# The tabs of sidebar
|
|
||||||
tabs:
|
|
||||||
# format: <filename_without_extension>: <value>
|
|
||||||
home: Hjem
|
|
||||||
categories: Kategorier
|
|
||||||
tags: Tags
|
|
||||||
archives: Arkiv
|
|
||||||
about: Om siden
|
|
||||||
|
|
||||||
# the text displayed in the search bar & search results
|
|
||||||
search:
|
|
||||||
hint: søg
|
|
||||||
cancel: Afbryd
|
|
||||||
no_results: Ups! Ingen resultater fundet.
|
|
||||||
|
|
||||||
panel:
|
|
||||||
lastmod: Senest opdateret
|
|
||||||
trending_tags: Populære tags
|
|
||||||
toc: Indhold
|
|
||||||
|
|
||||||
copyright:
|
|
||||||
# Shown at the bottom of the post
|
|
||||||
license:
|
|
||||||
template: Dette opslag er licenseret under :LICENSE_NAME af forfatteren.
|
|
||||||
name: CC BY 4.0
|
|
||||||
link: https://creativecommons.org/licenses/by/4.0/
|
|
||||||
|
|
||||||
# Displayed in the footer
|
|
||||||
brief: Nogle rettigheder forbeholdes.
|
|
||||||
verbose: >-
|
|
||||||
Medmindre andet er angivet, er opslag på denne side beskyttet
|
|
||||||
under Creative Commons Attribution 4.0 International (CC BY 4.0) licensen af forfatteren.
|
|
||||||
|
|
||||||
# meta: Using the :THEME theme for :PLATFORM.
|
|
||||||
|
|
||||||
not_found:
|
|
||||||
statement: Beklager, vi har malpaceret denne URL, eller den peger på et sted, som ikke findes.
|
|
||||||
|
|
||||||
notification:
|
|
||||||
update_found: En ny version af indholdet er fundet!
|
|
||||||
update: Opdater
|
|
||||||
|
|
||||||
# ----- Posts related labels -----
|
|
||||||
|
|
||||||
post:
|
|
||||||
written_by: Af
|
|
||||||
posted: Udgivet
|
|
||||||
updated: Opdateret
|
|
||||||
words: ord
|
|
||||||
pageview_measure: visninger
|
|
||||||
read_time:
|
|
||||||
unit: min
|
|
||||||
prompt: læsetid
|
|
||||||
relate_posts: Læs videre
|
|
||||||
share: Del
|
|
||||||
button:
|
|
||||||
next: Nyere
|
|
||||||
previous: Ældre
|
|
||||||
copy_code:
|
|
||||||
succeed: Kopieret!
|
|
||||||
share_link:
|
|
||||||
title: Kopier link
|
|
||||||
succeed: Link kopieret!
|
|
||||||
|
|
||||||
# Date time format.
|
|
||||||
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
|
|
||||||
df:
|
|
||||||
post:
|
|
||||||
strftime: "%Y/%m/%d"
|
|
||||||
dayjs: "YYYY/MM/DD"
|
|
||||||
|
|
||||||
# categories page
|
|
||||||
categories:
|
|
||||||
category_measure:
|
|
||||||
singular: kategori
|
|
||||||
plural: kategorier
|
|
||||||
post_measure: opslag
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
# The layout text of site in Dhivehi (Maldives)
|
|
||||||
|
|
||||||
# ----- Commons label -----
|
|
||||||
|
|
||||||
layout:
|
|
||||||
post: ޕޯސްޓް
|
|
||||||
category: ނަތީޖާ
|
|
||||||
tag: ޓެގް
|
|
||||||
|
|
||||||
# The tabs of sidebar
|
|
||||||
tabs:
|
|
||||||
# format: <filename_without_extension>: <value>
|
|
||||||
home: ހުންނަ
|
|
||||||
categories: ނަތީޖާތައް
|
|
||||||
tags: ޓެގްތައް
|
|
||||||
archives: އާރޗިވްސް
|
|
||||||
about: އިންސާން
|
|
||||||
|
|
||||||
# the text displayed in the search bar & search results
|
|
||||||
search:
|
|
||||||
hint: ސާރޗް
|
|
||||||
cancel: ކެންސަލް
|
|
||||||
no_results: އޮޕްސް! އެއްވެސް ނުފެނުނީ.
|
|
||||||
|
|
||||||
panel:
|
|
||||||
lastmod: އާދަމާ އޮޕްޑޭޓްކުރި
|
|
||||||
trending_tags: މަރާހު ޓެގްތައް
|
|
||||||
toc: ކޮންޓެންސް
|
|
||||||
|
|
||||||
copyright:
|
|
||||||
# Shown at the bottom of the post
|
|
||||||
license:
|
|
||||||
template: މި ޕޯސްޓް :LICENSE_NAME އިން ލައިސަންސްކުރާ ނުވަތަ މުޤައްރާއަށް.
|
|
||||||
name: CC BY 4.0
|
|
||||||
link: https://creativecommons.org/licenses/by/4.0/
|
|
||||||
|
|
||||||
# Displayed in the footer
|
|
||||||
brief: އެކީ ބާރަށް ހުށަހަޅާ.
|
|
||||||
verbose: >-
|
|
||||||
އަދި އެ ރަނގަޅުގައި ނުލާހެވެސް، މި ސައިޓުގެ ޕޯސްޓްތައް
|
|
||||||
މުޤައްރާއަށް Creative Commons Attribution 4.0 International (CC BY 4.0) ލައިސަންސްކުރަނީ.
|
|
||||||
|
|
||||||
meta: :PLATFORM އަށް :THEME ތީމް ބަލާލާށެވެ.
|
|
||||||
|
|
||||||
not_found:
|
|
||||||
statement: ސޯރީ، މި ޔޫ.އާރއެލް މަށެވެއްނެ ނުވަތަ އެކަމެއް ނުވެއެވެ.
|
|
||||||
|
|
||||||
notification:
|
|
||||||
update_found: ޔޫ ވާރޝަން ހުރިހާ.
|
|
||||||
update: އޮޕްޑޭޓް
|
|
||||||
|
|
||||||
# ----- Posts related labels -----
|
|
||||||
|
|
||||||
post:
|
|
||||||
written_by: ލެކްއޯލް
|
|
||||||
posted: ޕޯސްޓްކުރެވި
|
|
||||||
updated: އޮޕްޑޭޓްކުރެވި
|
|
||||||
words: ބަސް
|
|
||||||
pageview_measure: ބަނޑުކުރާ
|
|
||||||
read_time:
|
|
||||||
unit: މިނެޓް
|
|
||||||
prompt: އިސްކާރު
|
|
||||||
relate_posts: އެއްޗެހި ފަހުރަށްދަން
|
|
||||||
share: ސެއާރް
|
|
||||||
button:
|
|
||||||
next: އަދާވަނަ
|
|
||||||
previous: ކޮނޯނި
|
|
||||||
copy_code:
|
|
||||||
succeed: ކޮޕީ ކުރެވި!
|
|
||||||
share_link:
|
|
||||||
title: ލިންކް ކޮޕީ ކުރު
|
|
||||||
succeed: ލިންކް ހަދަންކުރެވި!
|
|
||||||
|
|
||||||
# Date time format.
|
|
||||||
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
|
|
||||||
df:
|
|
||||||
post:
|
|
||||||
strftime: "%b %e, %Y"
|
|
||||||
dayjs: "ll"
|
|
||||||
archives:
|
|
||||||
strftime: "%b"
|
|
||||||
dayjs: "MMM"
|
|
||||||
|
|
||||||
categories:
|
|
||||||
category_measure:
|
|
||||||
singular: ނަތީޖާ
|
|
||||||
plural: ނަތީޖާތައް
|
|
||||||
post_measure:
|
|
||||||
singular: ޕޯސްޓް
|
|
||||||
plural: ޕޯސްޓްތައް
|
|
||||||
@@ -37,10 +37,10 @@ copyright:
|
|||||||
# Displayed in the footer
|
# Displayed in the footer
|
||||||
brief: برخی حقوق محفوظ است.
|
brief: برخی حقوق محفوظ است.
|
||||||
verbose: >-
|
verbose: >-
|
||||||
بهجز مواردی که خلاف آن ذکر شده باشد، محتوای پستهای این وبلاگ
|
مگر اینکه خلاف آن ذکر شده باشد، پستهای وبلاگ در این سایت
|
||||||
تحت مجوز Creative Commons Attribution 4.0 International (CC BY 4.0) توسط نویسنده منتشر شدهاند.
|
تحت مجوز Creative Commons Attribution 4.0 International (CC BY 4.0) توسط نویسنده منتشر شدهاند.
|
||||||
|
|
||||||
meta: با استفاده از قالب :THEME برای :PLATFORM
|
meta: با استفاده از :PLATFORM قالب :THEME
|
||||||
|
|
||||||
not_found:
|
not_found:
|
||||||
statement: متأسفیم، لینک زیر معتبر نیست یا به صفحهای که وجود ندارد اشاره میکند.
|
statement: متأسفیم، لینک زیر معتبر نیست یا به صفحهای که وجود ندارد اشاره میکند.
|
||||||
@@ -55,11 +55,11 @@ post:
|
|||||||
written_by: نوشته شده توسط
|
written_by: نوشته شده توسط
|
||||||
posted: منتشر شده
|
posted: منتشر شده
|
||||||
updated: بهروزرسانی شده
|
updated: بهروزرسانی شده
|
||||||
words: کلمه
|
words: کلمات
|
||||||
pageview_measure: بازدید
|
pageview_measure: بازدیدها
|
||||||
read_time:
|
read_time:
|
||||||
unit: "دقیقه "
|
unit: دقیقه
|
||||||
prompt: " زمان مطالعه"
|
prompt: زمان مطالعه
|
||||||
relate_posts: بیشتر بخوانید
|
relate_posts: بیشتر بخوانید
|
||||||
share: اشتراکگذاری
|
share: اشتراکگذاری
|
||||||
button:
|
button:
|
||||||
@@ -85,7 +85,7 @@ df:
|
|||||||
categories:
|
categories:
|
||||||
category_measure:
|
category_measure:
|
||||||
singular: دستهبندی
|
singular: دستهبندی
|
||||||
plural: دستهبندی
|
plural: دستهبندیها
|
||||||
post_measure:
|
post_measure:
|
||||||
singular: پست
|
singular: پست
|
||||||
plural: پست
|
plural: پستها
|
||||||
@@ -1,91 +0,0 @@
|
|||||||
# The layout text of site in Kurdish (Sorani)
|
|
||||||
|
|
||||||
# ----- Commons label -----
|
|
||||||
|
|
||||||
layout:
|
|
||||||
post: بابەت
|
|
||||||
category: هاوپۆل
|
|
||||||
tag: تاگ
|
|
||||||
|
|
||||||
# The tabs of sidebar
|
|
||||||
tabs:
|
|
||||||
# format: <filename_without_extension>: <value>
|
|
||||||
home: سەرەکی
|
|
||||||
categories: هاوپۆلەکان
|
|
||||||
tags: تاگەکان
|
|
||||||
archives: ئەرشیف
|
|
||||||
about: دەربارە
|
|
||||||
|
|
||||||
# the text displayed in the search bar & search results
|
|
||||||
search:
|
|
||||||
hint: گەڕان
|
|
||||||
cancel: هەڵوەشاندنەوە
|
|
||||||
no_results: ببوورە! هیچ ئەنجامێک نەدۆزرایەوە.
|
|
||||||
|
|
||||||
panel:
|
|
||||||
lastmod: دوایین نوێکردنەوەکان
|
|
||||||
trending_tags: تاگە باوەکان
|
|
||||||
toc: ناوەڕۆک
|
|
||||||
|
|
||||||
copyright:
|
|
||||||
# Shown at the bottom of the post
|
|
||||||
license:
|
|
||||||
template: ئەم بابەتە لەلایەن نووسەرەوە بە مۆڵەتی :LICENSE_NAME بڵاوکراوەتەوە.
|
|
||||||
name: CC BY 4.0
|
|
||||||
link: https://creativecommons.org/licenses/by/4.0/
|
|
||||||
|
|
||||||
# Displayed in the footer
|
|
||||||
brief: هەندێک مافی پارێزراوە.
|
|
||||||
verbose: >-
|
|
||||||
تەنها لەو شوێنانەی کە بە پێچەوانەوە ئاماژەی پێدراوە، بابەتەکانی بڵۆگ لەم سایتەدا
|
|
||||||
لەژێر مۆڵەتی Creative Commons Attribution 4.0 International (CC BY 4.0) لەلایەن نووسەرەوە مۆڵەتیان پێدراوە.
|
|
||||||
|
|
||||||
meta: بە بەکارهێنانی :PLATFORM لەگەڵ ڕووکاری :THEME
|
|
||||||
|
|
||||||
not_found:
|
|
||||||
statement: ببوورە، ئەم بەستەرە نادۆزرێتەوە یان ئاماژە بە شتێک دەکات کە بوونی نییە.
|
|
||||||
|
|
||||||
notification:
|
|
||||||
update_found: وەشانێکی نوێی ناوەڕۆک بەردەستە.
|
|
||||||
update: نوێکردنەوە
|
|
||||||
|
|
||||||
# ----- Posts related labels -----
|
|
||||||
|
|
||||||
post:
|
|
||||||
written_by: نووسەر
|
|
||||||
posted: بڵاوکراوەتەوە
|
|
||||||
updated: نوێکراوەتەوە
|
|
||||||
words: وشە
|
|
||||||
pageview_measure: بینین
|
|
||||||
read_time:
|
|
||||||
unit: خولەک
|
|
||||||
prompt: خوێندنەوە
|
|
||||||
relate_posts: بابەتی پەیوەندیدار
|
|
||||||
share: بڵاوکردنەوە
|
|
||||||
button:
|
|
||||||
next: نوێتر
|
|
||||||
previous: کۆنتر
|
|
||||||
copy_code:
|
|
||||||
succeed: کۆپی کرا!
|
|
||||||
share_link:
|
|
||||||
title: کۆپی بەستەر
|
|
||||||
succeed: بەستەر بە سەرکەوتوویی کۆپی کرا!
|
|
||||||
|
|
||||||
# Date time format.
|
|
||||||
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
|
|
||||||
df:
|
|
||||||
post:
|
|
||||||
strftime: "%d %b, %Y"
|
|
||||||
dayjs: "DD MMM, YYYY"
|
|
||||||
archives:
|
|
||||||
strftime: "%b"
|
|
||||||
dayjs: "MMM"
|
|
||||||
|
|
||||||
# categories page
|
|
||||||
categories:
|
|
||||||
category_measure:
|
|
||||||
singular: هاوپۆل
|
|
||||||
plural: هاوپۆل
|
|
||||||
post_measure:
|
|
||||||
singular: بابەت
|
|
||||||
plural: بابەت
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
# The layout text of site in Pashto (Afghanistan)
|
|
||||||
|
|
||||||
# ----- Commons label -----
|
|
||||||
|
|
||||||
layout:
|
|
||||||
post: لیکنه
|
|
||||||
category: وېشنيزه
|
|
||||||
tag: ټګ
|
|
||||||
|
|
||||||
# The tabs of sidebar
|
|
||||||
tabs:
|
|
||||||
# format: <filename_without_extension>: <value>
|
|
||||||
home: کورپاڼه
|
|
||||||
categories: وېشنيزې
|
|
||||||
tags: ټګونه
|
|
||||||
archives: آرشيف
|
|
||||||
about: په اړه
|
|
||||||
|
|
||||||
# the text displayed in the search bar & search results
|
|
||||||
search:
|
|
||||||
hint: لټون
|
|
||||||
cancel: لغوه
|
|
||||||
no_results: ها! هېڅ پایله ونه موندل شوه.
|
|
||||||
|
|
||||||
panel:
|
|
||||||
lastmod: وروستی تازه
|
|
||||||
trending_tags: مشهور ټګونه
|
|
||||||
toc: منځپانګه
|
|
||||||
|
|
||||||
copyright:
|
|
||||||
# Shown at the bottom of the post
|
|
||||||
license:
|
|
||||||
template: دا لیکنه د :LICENSE_NAME جواز لاندې د لیکوال له خوا خپره شوې ده.
|
|
||||||
name: CC BY 4.0
|
|
||||||
link: https://creativecommons.org/licenses/by/4.0/
|
|
||||||
|
|
||||||
# Displayed in the footer
|
|
||||||
brief: ځینې حقونه خوندي دي.
|
|
||||||
verbose: >-
|
|
||||||
تر هغه ځایه چې بل ډول نه وي یاد شوي، د دې سایټ لیکنې
|
|
||||||
د لیکوال له خوا د کریټېو کامنز د انتساب 4.0 نړیوال (CC BY 4.0) جواز لاندې خپرېږي.
|
|
||||||
|
|
||||||
meta: د :PLATFORM لپاره د :THEME موضوع کاروي.
|
|
||||||
|
|
||||||
not_found:
|
|
||||||
statement: بښنه غواړو، دغه URL ناسم دی یا هغه څه ته اشاره کوي چې شتون نه لري.
|
|
||||||
|
|
||||||
notification:
|
|
||||||
update_found: نوې نسخه شتون لري.
|
|
||||||
update: تازه
|
|
||||||
|
|
||||||
# ----- Posts related labels -----
|
|
||||||
|
|
||||||
post:
|
|
||||||
written_by: لیکوال
|
|
||||||
posted: خپره شوې
|
|
||||||
updated: تازه شوې
|
|
||||||
words: کلمې
|
|
||||||
pageview_measure: کتنې
|
|
||||||
read_time:
|
|
||||||
unit: دقیقې
|
|
||||||
prompt: لوستل
|
|
||||||
relate_posts: نوره لوستنه
|
|
||||||
share: شریکول
|
|
||||||
button:
|
|
||||||
next: نوی
|
|
||||||
previous: زوړ
|
|
||||||
copy_code:
|
|
||||||
succeed: کاپي شو!
|
|
||||||
share_link:
|
|
||||||
title: لینک کاپي کړئ
|
|
||||||
succeed: لینک بریالي کاپي شو!
|
|
||||||
|
|
||||||
# Date time format.
|
|
||||||
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
|
|
||||||
df:
|
|
||||||
post:
|
|
||||||
strftime: "%b %e, %Y"
|
|
||||||
dayjs: "ll"
|
|
||||||
archives:
|
|
||||||
strftime: "%b"
|
|
||||||
dayjs: "MMM"
|
|
||||||
|
|
||||||
categories:
|
|
||||||
category_measure:
|
|
||||||
singular: وېشنيزه
|
|
||||||
plural: وېشنيزې
|
|
||||||
post_measure:
|
|
||||||
singular: لیکنه
|
|
||||||
plural: لیکنې
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
# The layout text of site in Urdu (Pakistan)
|
|
||||||
|
|
||||||
# ----- Commons label -----
|
|
||||||
|
|
||||||
layout:
|
|
||||||
post: تحریر
|
|
||||||
category: زمرہ
|
|
||||||
tag: ٹیگ
|
|
||||||
|
|
||||||
# The tabs of sidebar
|
|
||||||
tabs:
|
|
||||||
# format: <filename_without_extension>: <value>
|
|
||||||
home: گھر
|
|
||||||
categories: زمروں
|
|
||||||
tags: ٹیگز
|
|
||||||
archives: محفوظات
|
|
||||||
about: تعارف
|
|
||||||
|
|
||||||
# the text displayed in the search bar & search results
|
|
||||||
search:
|
|
||||||
hint: تلاش
|
|
||||||
cancel: منسوخ
|
|
||||||
no_results: اوہ! کوئی نتیجہ نہیں ملا۔
|
|
||||||
|
|
||||||
panel:
|
|
||||||
lastmod: حال ہی میں اپ ڈیٹ
|
|
||||||
trending_tags: مقبول ٹیگز
|
|
||||||
toc: مواد
|
|
||||||
|
|
||||||
copyright:
|
|
||||||
# Shown at the bottom of the post
|
|
||||||
license:
|
|
||||||
template: یہ تحریر :LICENSE_NAME کے تحت مصنف کی جانب سے لائسنس یافتہ ہے۔
|
|
||||||
name: CC BY 4.0
|
|
||||||
link: https://creativecommons.org/licenses/by/4.0/
|
|
||||||
|
|
||||||
# Displayed in the footer
|
|
||||||
brief: کچھ حقوق محفوظ ہیں۔
|
|
||||||
verbose: >-
|
|
||||||
جب تک کہ دوسری صورت میں ذکر نہ ہو، اس سائٹ کی تحریریں
|
|
||||||
مصنف کی جانب سے تخلیقی العام انتساب 4.0 بین الاقوامی (CC BY 4.0) لائسنس کے تحت دستیاب ہیں۔
|
|
||||||
|
|
||||||
meta: :PLATFORM کے لیے :THEME تھیم استعمال کیا جا رہا ہے۔
|
|
||||||
|
|
||||||
not_found:
|
|
||||||
statement: معذرت، یہ URL غلط ہے یا جس چیز کی طرف اشارہ کر رہا ہے وہ موجود نہیں۔
|
|
||||||
|
|
||||||
notification:
|
|
||||||
update_found: نیا مواد دستیاب ہے۔
|
|
||||||
update: اپ ڈیٹ
|
|
||||||
|
|
||||||
# ----- Posts related labels -----
|
|
||||||
|
|
||||||
post:
|
|
||||||
written_by: از
|
|
||||||
posted: شائع شدہ
|
|
||||||
updated: اپ ڈیٹ شدہ
|
|
||||||
words: لفظ
|
|
||||||
pageview_measure: مشاہدات
|
|
||||||
read_time:
|
|
||||||
unit: منٹ
|
|
||||||
prompt: پڑھیں
|
|
||||||
relate_posts: مزید مطالعہ
|
|
||||||
share: شیئر
|
|
||||||
button:
|
|
||||||
next: نیا
|
|
||||||
previous: پرانا
|
|
||||||
copy_code:
|
|
||||||
succeed: کاپی ہو گیا!
|
|
||||||
share_link:
|
|
||||||
title: لنک کاپی کریں
|
|
||||||
succeed: لنک کامیابی سے کاپی ہو گیا!
|
|
||||||
|
|
||||||
# Date time format.
|
|
||||||
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
|
|
||||||
df:
|
|
||||||
post:
|
|
||||||
strftime: "%b %e, %Y"
|
|
||||||
dayjs: "ll"
|
|
||||||
archives:
|
|
||||||
strftime: "%b"
|
|
||||||
dayjs: "MMM"
|
|
||||||
|
|
||||||
categories:
|
|
||||||
category_measure:
|
|
||||||
singular: زمرہ
|
|
||||||
plural: زمروں
|
|
||||||
post_measure:
|
|
||||||
singular: تحریر
|
|
||||||
plural: تحریریں
|
|
||||||
@@ -2,24 +2,29 @@
|
|||||||
Get post description or generate it from the post content.
|
Get post description or generate it from the post content.
|
||||||
{%- endcomment -%}
|
{%- endcomment -%}
|
||||||
|
|
||||||
{%- assign max_length = include.max_length | default: 200 -%}
|
|
||||||
|
|
||||||
{%- capture description -%}
|
{%- capture description -%}
|
||||||
{%- if post.description -%}
|
{%- if post.description -%}
|
||||||
{{- post.description -}}
|
{{- post.description -}}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{% comment %}
|
{% comment %}
|
||||||
Remove the line number of the code snippet.
|
Remove the line number of the code snippet.
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
{% assign content = post.content %}
|
{%- assign content = post.content -%}
|
||||||
|
|
||||||
{% if content contains '<td class="rouge-gutter gl"><pre class="lineno">' %}
|
{%- if content contains '<td class="rouge-gutter gl"><pre class="lineno">' -%}
|
||||||
{% assign content = content | replace: '<td class="rouge-gutter gl"><pre class="lineno">', '<!-- <td class="rouge-gutter gl"><pre class="lineno">'%}
|
{%- assign content = content | replace: '<td class="rouge-gutter gl"><pre class="lineno">', '<!-- <td class="rouge-gutter gl"><pre class="lineno">' -%}
|
||||||
{% assign content = content | replace: '</td><td class="rouge-code">', '</td> --><td class="rouge-code">' %}
|
{%- assign content = content | replace: '</td><td class="rouge-code">', '</td> --><td class="rouge-code">' -%}
|
||||||
{% endif %}
|
{%- endif -%}
|
||||||
|
|
||||||
{{- content | markdownify | strip_html | newline_to_br | replace: '<br />', ' ' | strip_newlines -}}
|
{{- content | strip_html | newline_to_br | replace: '<br />', ' ' | strip_newlines -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endcapture -%}
|
{%- endcapture -%}
|
||||||
|
|
||||||
{{- description | strip | truncate: max_length | escape -}}
|
{%- if include.json -%}
|
||||||
|
{%- assign description = description | jsonify -%}
|
||||||
|
{%- else -%}
|
||||||
|
{%- assign max_length = include.max_length | default: 200 -%}
|
||||||
|
{%- assign description = description | strip | truncate: max_length -%}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{{- description -}}
|
||||||
|
|||||||
@@ -5,16 +5,13 @@ swcache: true
|
|||||||
|
|
||||||
[
|
[
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
{%- capture description -%}
|
|
||||||
{% include post-description.html %}
|
|
||||||
{%- endcapture -%}
|
|
||||||
{
|
{
|
||||||
"title": {{ post.title | jsonify }},
|
"title": {{ post.title | jsonify }},
|
||||||
"url": {{ post.url | relative_url | jsonify }},
|
"url": {{ post.url | relative_url | jsonify }},
|
||||||
"categories": {{ post.categories | join: ', ' | jsonify }},
|
"categories": {{ post.categories | join: ', ' | jsonify }},
|
||||||
"tags": {{ post.tags | join: ', ' | jsonify }},
|
"tags": {{ post.tags | join: ', ' | jsonify }},
|
||||||
"date": "{{ post.date }}",
|
"date": {{ post.date | jsonify }},
|
||||||
"content": "{{ description }}"
|
"content": {% include post-description.html json=true %}
|
||||||
}{% unless forloop.last %},{% endunless %}
|
}{% unless forloop.last %},{% endunless %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [7.3.1](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.3.0...v7.3.1) (2025-07-26)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* escape special JSON characters in search results ([#2481](https://github.com/cotes2020/jekyll-theme-chirpy/issues/2481)) ([7615d72](https://github.com/cotes2020/jekyll-theme-chirpy/commit/7615d72e9300a1514ef2fc8ec941ab2974ba7eb4))
|
||||||
|
|
||||||
## [7.3.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.2.4...v7.3.0) (2025-05-18)
|
## [7.3.0](https://github.com/cotes2020/jekyll-theme-chirpy/compare/v7.2.4...v7.3.0) (2025-05-18)
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "jekyll-theme-chirpy"
|
spec.name = "jekyll-theme-chirpy"
|
||||||
spec.version = "7.3.0"
|
spec.version = "7.3.1"
|
||||||
spec.authors = ["Cotes Chung"]
|
spec.authors = ["Cotes Chung"]
|
||||||
spec.email = ["cotes.chung@gmail.com"]
|
spec.email = ["cotes.chung@gmail.com"]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "jekyll-theme-chirpy",
|
"name": "jekyll-theme-chirpy",
|
||||||
"version": "7.3.0",
|
"version": "7.3.1",
|
||||||
"description": "A minimal, responsive, and feature-rich Jekyll theme for technical writing.",
|
"description": "A minimal, responsive, and feature-rich Jekyll theme for technical writing.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user