Skip to content

Releases: feeshy/less-style-please

0.5.4.3

18 Aug 11:42
57353d2

Choose a tag to compare

  • minor updates in colors
  • adapt logo for Safari's blury bug

Full Changelog: v0.5.4.2...0.5.4.3

v0.5.4.2

21 May 10:23
c512615

Choose a tag to compare

  • removed the unfineshed sorting option introduced at v0.5.1
  • fix a bug of copyright script, now works for both rich text and plain text
  • tags and anually archive page implemented via jekyll-archive.
  • fix some bugs in v0.5.4~v0.5.4.1

Please update your _config.yml and gemfile if you are using a remote theme

Full Changelog: v0.5.3...v0.5.4.2

v0.5.3

17 May 16:29
4bae9ce

Choose a tag to compare

  • [new] chinese webfonts need to be enabled at _config.yml
  • [new] tags page at _config.yml
  • [fix] fix a bug that 'updated date' emoji now shown at post meta

Full Changelog: v0.5.2.1...v0.5.3

v0.5.2.1

13 May 03:14
4b9d8e9

Choose a tag to compare

  • js loading from async to defer c1f6b17
  • fix a bug about toc on pages 3e45a66
  • adapt _config.yml and gemfile for remote theme
  • update docs

Full Changelog: v0.5.2...v0.5.2.1

v0.5.2

10 May 19:49
1bff03b

Choose a tag to compare

this version is not compatible with previous versions
filenames and variable names changed a lot in 0.5.2


  • optimized color scheme for dark mode
  • copyright licenses
  • new config options in _config.yml
    • language & locale
    • favicon
    • background image
    • defaults
  • optimized file structures & variable names for better developing experience

Full Changelog: v0.5.1...v0.5.2

v0.5.1

01 May 16:35
67e0469

Choose a tag to compare

v0.5.1 Pre-release
Pre-release
  • _layouts & _includes
    • post-meta: only the latest date is displayed for better performance in search engines
    • nav: redesign nav section
    • minify file structure
  • _config.yml preferences
    • new option to config icon and favicon
    • new option to sort posts by updated date (You have to set last_modified_at on the front matter of every post)
  • new options to post front matter
    • noindex boolean to exclude page from search engine
    • htmlhead string is renamed to custom_head

Full Changelog: v0.5.0...v0.5.1

v0.5.0

11 Apr 16:12

Choose a tag to compare

v0.5.0 Pre-release
Pre-release

forked from rigggraz's no_style_please

What Are Kept

  • Minimalist and reserved design style, ideal for pure text websites
  • Adaptive light and dark theme

Changes

Color palette

from the original high contrast palette to a low-saturated one

Adaptive Table & Rowing Color Grades for Tables

image

Markdown Parser

the default kramdown-parser-gfm engine has a bug that renders any unescaped | as single row tables, which has exist for decades. In both kramdown's and jekyll's repos there are issues mentioning the bug now and then, most of which are closed by timeout. Considering that there is no hope that the bug is being fixed, the default markdown engine in my version of theme is set as redcarpet.

5 non standard flavored markdown syntax are enabled by default - "tables", "autolink", "strikethrough", "highlight", "footnotes". Read the original docs at redcarpet for more usages.

More Plugins

Drop Cap

---
dropcap: true
---

Set Post Language

If the post is written in an language other than the default language in _config.yml, you may define the locale at front matter.

---
locale: en
---

Self Hosting Webfonts for Simplified Chinese

首选字体 候补字体
通用内容 Avenir Next
苹方
Segoe UI, HarmonyOS Sans, Clear Sans🌐
思源黑体 (Noto Sans CJK SC), 思源黑体 CN (Noto Sans SC), 更纱黑体, sans-serif
文学性内容 EB Garamond🌐
思源宋体 (Noto Serif CJK SC)
Adobe Garamond Pro, Garamond, Palatino
思源宋体 CN🌐 (Noto Serif SC), serif
元数据
引用
注释
Ysabeau🌐
霞鹜文楷
霞鹜文楷轻便版🌐, 华文细黑, 冬青黑体, sans-serif
表格
代码
等距更纱黑体 Ubuntu Mono, Inconsolata, Iosevka, JetBrains Mono🌐, Monaco, Source Code Pro, 思源黑体HW (Noto Sans Mono CJK), 文泉驿等宽微米黑, monopace

标🌐的字体使用cn-font-split切割为细粒度webfont并托管在/assets/OpenFonts目录,以期获得稳定的跨平台效果。

PWA

Service-Worker.js

To configure caching strategy, read docs of jekyll-pwa-workbox

App Icons & Manifest.json

  1. Create icon package using real favicon generator
  2. Extract the zip package to the root directory of the project
  3. Paste the generated html code into _includes\head.html

Redirecting

From the Post to a New URL

---
layout: redirect
redirect_to: /newdir/newpage
---

Considering server-side 301 redirecting is not supported by github pages, three client-side ways to redirect is provided:

  • redirect via http refresh meta tag
  • redirect via javascript
  • user manually click on the hyperlink rendered on the webpage

From Old URLs to the Post

---
redirect_from:
  - https://example.com/oldurl
  - /old-dir/old-url-1
  - /old-dir/old-url-2
---

Requiring jekyll-redirect-from plugin. The URL in the first row will be rendered as a hyperlink at the position of the published date.

the Post Meta Section

tags & last_modified_at will be rendered in the post meta section

image

If 'redirect_from' is set, a hyperlink to the first url in the array will be generated at published date

Layouts

There are 5 types of layouts

  • appears on post list
    • post:sans-serif+黑体, justify aligned, meta data rendered if set (tags, created date, updated date, redirected url)
    • poetry: EB Garamond+思源宋体, center aligned, dynamic breathe spacing to the top of the page, no meta data
    • redirect: like post, with redirecting hyperlinks and javascripts
  • not appears on post list
    • page:like post, no meta, no toc
    • archive: the layout of a post list page

Insert Anything to Html Head

Any string of htmlhead in the front matter will be inserted to the rendered html file.

---
htmlhead: ""
---