Skip to content

Commit

Permalink
Merge branch 'jeffreytse:master' into up_cdn_mathjax
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua authored Dec 26, 2023
2 parents 9125d89 + 477cd60 commit 8275153
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.

Expand Down Expand Up @@ -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**.
Expand Down Expand Up @@ -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/
2 changes: 1 addition & 1 deletion _includes/views/pagination-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h2 class="post-title">
<span class="post-reading-time left-vsplit"><i class="fa fa-clock-o"></i> {{ reading_time }}</span>
</div>
<div class="post-excerpt">
{%- if post_image -%}
{%- if post_image and post_image != 'NO_EXCERPT_IMAGE' -%}
<a class="post-image" href="{{ post_url }}" style="flex: 0 1 {{ image_width }}">
<div style="background-image: url({{ post_image | relative_url }}); height: {{ image_height }}"></div>
</a>
Expand Down
5 changes: 5 additions & 0 deletions _posts/2015-02-28-test-markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:.
3 changes: 3 additions & 0 deletions _posts/2017-06-10-quick-mardown-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8275153

Please sign in to comment.