From 3fcd20ad93834ea5ef5a11dfad67416b52b285aa Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Sun, 19 Nov 2023 23:16:03 +0800 Subject: [PATCH 1/4] docs: update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 573b8c7e02a..5754a1d2ceb 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ I will respect your crucial support and say THANK YOU! - Uses font awesome 5 for icons. - Beautiful page banner with image and video. - Beautiful Syntax Highlight using [highlight.js][highlight-js]. +- Beautiful image gallery previewer using [PhotoSwipe 5][photoswipe-5]. - RSS support using [Jekyll Feed][jekyll-feed] gem. - Optimized for search engines using [Jekyll Seo Tag][jekyll-seo-tag] gem. - Sitemap support using [Jekyll Sitemap][jekyll-sitemap] gem. @@ -95,6 +96,7 @@ I will respect your crucial support and say THANK YOU! - Diagram (PlantUML, Mermaid) support using [Jekyll Spaceship][jekyll-spaceship] gem. - Google Translation support. - New post tag support. +- Pin post tag support. Also, visit the [Live Demo][yat-live-demo] site for the theme. @@ -157,6 +159,10 @@ And then execute: $ bundle ``` +### Forking/Cloning the project + +You need to update the option of github workflow file `.github/workflows/build-jekyll.yml`, especially to ensure the value of `jekyll_baseurl` is correct. + ### GitHub Pages without limitation GitHub Pages runs in `safe` mode and only allows [a set of whitelisted plugins/themes](https://pages.github.com/versions/). **In other words, the third-party gems will not work normally**. @@ -198,3 +204,4 @@ This theme is licensed under the [MIT license](https://opensource.org/licenses/m [jekyll-sitemap]: https://github.com/jekyll/jekyll-sitemap [jekyll-feed]: https://github.com/jekyll/jekyll-feed [highlight-js]: https://github.com/highlightjs/highlight.js +[photoswipe-5]: https://photoswipe.com/ From 27b676ce0bfac71d7a3a6a8ab31a23a48c330fcf Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Mon, 27 Nov 2023 23:50:19 +0800 Subject: [PATCH 2/4] feat: support to disable excerpt image (#138) Add a magic code `NO_EXCERPT_IMAGE` to disable excerpt image. --- _includes/views/pagination-item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/views/pagination-item.html b/_includes/views/pagination-item.html index 0b31a3c872b..2fe691e9ccf 100644 --- a/_includes/views/pagination-item.html +++ b/_includes/views/pagination-item.html @@ -42,7 +42,7 @@

{{ reading_time }}
- {%- if post_image -%} + {%- if post_image and post_image != 'NO_EXCERPT_IMAGE' -%}
From c9631bb2930db8c82fa6a849f56356c15cc026de Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Sun, 3 Dec 2023 20:00:15 +0800 Subject: [PATCH 3/4] feat: update quick-mardown-example.md --- _posts/2017-06-10-quick-mardown-example.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_posts/2017-06-10-quick-mardown-example.md b/_posts/2017-06-10-quick-mardown-example.md index d87e9f4ac35..67f736a7129 100644 --- a/_posts/2017-06-10-quick-mardown-example.md +++ b/_posts/2017-06-10-quick-mardown-example.md @@ -2,11 +2,14 @@ layout: post title: Quick markdown example subtitle: This is a quick markdown example +excerpt_image: https://github.com/jeffreytse/jekyll-theme-yat/assets/9413601/2ed22d49-90b1-4f7e-8e8f-b77b21dee505 categories: markdown tags: [example] top: 2 --- +![banner](https://github.com/jeffreytse/jekyll-theme-yat/assets/9413601/2ed22d49-90b1-4f7e-8e8f-b77b21dee505) + Paragraphs are separated by a blank line. 2nd paragraph. *Italic*, **bold**, and `monospace`. Itemized lists From 477cd60b10a3d0d27e06eae8d6f65605c52b4824 Mon Sep 17 00:00:00 2001 From: Jeffrey Tse Date: Wed, 6 Dec 2023 21:17:29 +0800 Subject: [PATCH 4/4] feat: update test-markdown.md --- _posts/2015-02-28-test-markdown.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_posts/2015-02-28-test-markdown.md b/_posts/2015-02-28-test-markdown.md index 153b312c1d9..caeaf8f3893 100644 --- a/_posts/2015-02-28-test-markdown.md +++ b/_posts/2015-02-28-test-markdown.md @@ -74,3 +74,8 @@ You can add notification, warning and error boxes like this: {: .box-error} **Error:** This is an error box. + +### Emoji + +This single quote code `inet:email:message:to` will not be parsed to emoji icon +:+1:.