474 Commits

Author SHA1 Message Date
iBug
6165d896a0 Replace "hidden" check in Liquid with where_exp 2024-05-05 03:18:27 +08:00
iBug
bde92b6d4a page__hero.html: Fix an unclosed <p> tag 2024-05-05 02:36:17 +08:00
iBug
9ac9602e22
Add proper support for sverrirs' Jekyll Paginate V2 plugin (excl. AutoPages) (#2636) 2024-05-05 00:05:12 +08:00
iBug
f3c617f7de Add documentation for the incoming Jekyll Paginate V2 support 2024-05-05 00:00:45 +08:00
iBug
1b06aff3bc Release 4.25.1 💎 2024-04-28 01:13:45 +08:00
iBug
a7af9b0ad2 Replace dead link in _includes/head.html, close #4421 2024-04-26 00:45:41 +08:00
iBug
172a5169f1 Bump jekyll-toc to v1.2.1 2024-04-23 21:52:22 +08:00
Andrii B
409bc92868
Add more configuration for Giscus (#4274)
* update giscus

* fix site variable name

---------

Co-authored-by: Andrii Burkatskyi <underr-ua@users.noreply.github.com>
2024-04-23 13:53:52 +08:00
iBug
60b9565277 Exclude hidden posts from page__related, fix #4653 2024-04-23 12:18:07 +08:00
iBug
5e3d1406d2 Add _includes/before-related.html and remove docs site single layout override 2024-04-23 12:09:12 +08:00
iBug
a0aa8f80a7 Add _includes/after-content.html and remove docs site default layout override 2024-04-23 12:01:53 +08:00
iBug
6e94773083 Release 4.25.0 💎 2024-04-23 01:50:35 +08:00
iBug
8d3592ff70 Consolidate hard-coded version numbers where possible
Now only 4 files left untouchable.
Search README.md for "Dev note" for details.
2024-04-23 01:28:03 +08:00
Huangbo
2c92d34938
Fix non-English characters being url encoded in breadcrumb (#3819)
* Fix non-English characters being url encoded in breadcrumb

* Remove `| replace: '%20', ' ‘`
2024-04-22 23:37:12 +08:00
Mauricio Tavares
0d56036557
Add site.copyright and site.copyright_url config options (#4313)
* Allow to optionally define website copyright holder name and url using site.copyright and site.copyright_url

* Update _config.yml

---------

Co-authored-by: iBug <git@ibugone.com>
2024-04-22 23:35:49 +08:00
Moose
73c2ad818c
Fix Linkedin social share link (#4754)
Removed url encoding of the article link
2024-04-22 23:30:14 +08:00
yusanshi
495fb29b45
Fix wrong first_page_path because of hard-coded page:num (#3778) 2024-04-22 23:27:21 +08:00
iBug
75841313de
Lazy-load InstantSearch scripts and stylesheets (#3691)
* Lazy-load InstantSearch scripts and stylesheets

* Replace outdated script parts
2024-04-22 23:25:09 +08:00
Marco Omainska
51fcef50d0
load latest fontawesome package (#3765)
Co-authored-by: Marco Omainska <59295964+marcoiska@users.noreply.github.com>
2024-04-22 10:28:55 -04:00
iBug
c940a73b50
Remove IE9 upgrade notice (#3666) 2022-05-29 14:34:11 -04:00
FavorMylikes
03a26a105d
Update algolia-search-scripts.html (#3102)
Fix issue https://github.com/mmistakes/minimal-mistakes/issues/3101
2022-05-27 12:22:43 -04:00
Lars Olesen
8b67db3ff4
Added sameAs (#3087) 2022-05-27 09:49:00 -04:00
Andrew McIntosh
691df116da
Fix keybase class (#3221)
* Fix keybase class

* Fix fas->fab
2022-01-05 10:30:36 -05:00
Daniel Schroeder
dbc9479fd5
feat: Sort comments by date ascending (#3184) 2021-10-19 11:23:42 -04:00
John Scott
642ec7b20f
Added optional label attribute (#3128)
Added label attribute as per utterances optional label setting.
2021-10-19 11:18:00 -04:00
John Scott
eaef9ecd9f
include video does not survive compress.html (#3117) 2021-08-15 19:02:31 -04:00
Lars Olesen
f9b17c6249
Add role to search (#3086) 2021-08-08 13:43:31 -04:00
Peter Murray
65e79f5a7d
Add Microformats (#3052)
* Add rel=me to author profile links

* Add h-card Microformats markup

* Add h-entry microformat markup

* Fix missing anchor tag

* Fix h-entry microformat markup on single template

* Use minimal subset of Microformat elements

* Move dt-published to `page__date.html` and remove dt-updated
* Remove "author" and "summary"

Leaves "url" as a hidden element

* Add page link to h1 tag

The h1 tag now contains the Schema-org `url` itemprop and the
Microformats `url` class in an anchor tag.  The anchor tag is styled to
not look like a link.

* Put author 'u-url' on author__name h3

This also puts the same `{{ author.home | default: '/' | absolute_url }}`
construct on `author__avatar` to remove the Jekyll `author.home`
conditional.

Also addresses SCSS text color error.
2021-07-23 14:16:08 -04:00
Erik Westrup
0491cd362b
Remove site.url from first breadcrumb link (#3051)
* Remove site.url from first breadcrumb link

Fixes #3050

* Use relative_rul filter instead of site.baseurl
2021-07-23 09:23:07 -04:00
Sean Killeen
297989c1be
Add giscus support (#3022)
* Add script in same style as utterances

But adjusted for the various filed differences

* Add initial script

* Add default settings

* Update changelog

* Add feature to readme

* Add comments html

* add comment provider include

* update config in docs

* Add URL for additional reference

* docs for giscus comments

* Unrelated bugfix: add missing version separator

So that things match the "history" doc.

* add space

* update history doc

* update about doc

* add to test config yaml

* remove unnecessary / incorrect async attribute

* probably should pass the right config paths

* lowercase the repo name

* Update docs to address '1' and '0' for reactions_enabled

Figured I'd match the giscus format rather than convert a boolean to an int there.

* update two additional docs

* docs wording fix
2021-07-05 16:08:28 -04:00
Christian Oliff
ad094187f7
Remove IE9 flexbox fallback (#3042)
IE9 is absolutely, completely, totally dead. it's marketshare is less than 0.1%.
REF: https://caniuse.com/usage-table

Save some bytes in the HTML for all users by removing the fallback inline CSS.
2021-07-05 15:51:47 -04:00
Lars Olesen
3c60ebde58
Remove H2 as it is not important to site structure (#3012)
This should not use a H2, as that is not an important headline, and thus a H2 here would probably hurt in page SEO.
2021-06-23 08:11:39 -04:00
Guillaume Gautreau
7597735c73
Loads font-awesome asynchronously (#2967)
Loading font-awesome asynchronously allows to display the site faster. This change is advised by google pagespeed insights
2021-06-23 08:10:12 -04:00
Randall Wood
351174e494
feat: Search icon in masthead is a Font Awesome icon. (#2774)
* feat: Allow search icon in masthead to be set to a Font Awesome icon.

* fix indentations

* Users wishing to avoid FontAwesome should override _includes/masthead.html
2021-06-23 08:06:03 -04:00
luweizheng
c521fe58df
Datetime format (#2844)
* datetime_format

* page__meta

* page__date

* page__date test

* update docs

* update docs
2021-04-13 15:58:37 -04:00
Vincent Tam
2301fdf5a7
Remove all references to official public Staticman API instance. (#2831)
* Updated Staticman docs

* remove any ref to official public instance in docs

* remove fallback instance for staticman v2

left staticman v1 untouched as I dunno how to deal with that
2021-04-13 15:55:51 -04:00
luweizheng
deaed193af
Add Baidu site verfication (#2830) 2021-04-13 15:53:30 -04:00
iBug
3d3cb58a2e
Add alt attr to site logo in masthead (#2824)
Co-authored-by: Michael Rose <mmistakes@users.noreply.github.com>
2021-03-03 10:00:20 -05:00
Nicolas Elie
6282bd9221
Allow custom sorting for collections (#2723)
* Allow custom sorting for collections

* Update docs with custom sort of collections

* Refactoring
2021-02-05 20:37:31 -05:00
Johannes Ganzenmüller
9be80f891f
Use sort_natural instead of custom-logic (#2756) 2021-02-05 20:29:06 -05:00
Sean Killeen
7bb68edf03
Add toggle option for RSS feed visibility (#2787)
* add a "hide" value in config for atom

* Update footer to use param

* update header to use param

* Update docs to note configuration

* undo formatting

* use unless syntax

* unless syntax and indentation

* indentation
2021-02-05 20:26:16 -05:00
iBug
5fe4c4810d
Allow custom gradient in page header overlays (#2806)
* Allow custom gradient in page header overlays

* Update documentation

* Update CHANGELOG and history
2021-02-05 20:24:25 -05:00
iBug
faf86f59e9
Update allejo/jekyll-toc to v1.1.0, skip headings without an ID (#2752)
* Update allejo/jekyll-toc to v1.1.0, skip headings without an ID

https://github.com/allejo/jekyll-toc/releases/tag/v1.1.0

* Update CHANGELOG and history
2020-12-10 14:41:57 -05:00
Michael Rose
11524f165e
Merge pull request #2700 from iBug:update-toc
Update allejo/jekyll-toc to v1.0.14
2020-10-28 14:49:22 -04:00
Leo
c2c05b9b67
Fix closing tag of figures without captions in lists (#2697)
When the figure helper is used in a list, which can be either ordered or
unordered, and no caption is specified, a line with text "</figure>"
will be shown below the figure on the rendered page.

This is because, if the '{% if include.caption %}' evaluates to false,
the lines between that 'if' statement and '{% endif %}' will be emptied,
not removed, so the block will be filled by empty lines.

HTML ignores redundant empty lines, but Markdown takes them seriously.
In addition, Markdown expects proper indentation of lines inside lists,
and the closing '</figure>' tag is not indented.  When combined, the
empty space and absence of indentation cause Markdown to process the
'</figure>' tag as a separate paragraph instead of an HTML tag, thus the
text for the tag is directly rendered on the page.

The fix for this issue is very simple: remove the empty space when
'include.caption' is false.  As described in
<https://shopify.github.io/liquid/basics/whitespace/>, this can be done
by adding hyphens to the 'if' and 'endif' tags.
2020-10-28 14:43:09 -04:00
iBug
99a77e4d3a Update allejo/jekyll-toc to v1.0.14
https://github.com/allejo/jekyll-toc/releases/tag/v1.0.14
2020-09-21 01:17:26 +08:00
Michael Rose
c6f10529a4
Refactor page meta (#2641)
* Rename include

* Add grid view test pages

* Rename `.post__meta-sep` and use CSS to add line break

* Improve collection grid archive

* Improve page grid archive

* Enable `grid`

* Don't show date icon if there is no `date` value

* Add blank line at EOF

* Add space

* Wrap date and reading time in named `span` elements
2020-08-30 20:52:12 -04:00
Lars Olesen
24b4585084
Added article:author used by Pinterest (#2670) 2020-08-30 20:38:03 -04:00
Michael Rose
d57fe1de2c Fix entries_layout: grid
Close #2639
2020-08-04 12:59:44 -04:00
Lim Jing Heng
f15e02ea58
Show date of posts (#2526)
* add date to read-time.html

* add option for show_date, dynamic icon style

* change read-time to post__meta

* cleanup post__metal.html

* cleanup post__meta include variables

* put date before read time

* remove space in include variable

* allow customisation of post__meta separator

* add some documentation

* oops fix typo derp

* add post date image

* change page meta separator customisation to CSS
2020-08-04 10:39:01 -04:00