Commit graph

436 commits

Author SHA1 Message Date
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
dianlujitao
be9a90fa0c
Fix link for author name (#2575)
Missed from bcd6126612
2020-07-23 12:11:03 -04:00
iBug ♦
42c4df6244
Enhance Bilibili video support (redo of #2522) (#2599)
* Enhance support for bilibili videos in responsive video helper, and add corresponding doc

* Apply @iBug's review in mmistakes/minimal-mistakes#2522

* Fix danmaku in page hero video

* Update video to use case..when for iframe src

* Update CHANGELOG and history

Co-authored-by: Anran <51769728+ALeafWolf@users.noreply.github.com>
Co-authored-by: Michael Rose <mmistakes@users.noreply.github.com>
2020-07-22 15:42:46 -04:00
Marcin Pietraszek
28edd82198
Algolia search update (#2572)
* Search on menu toggle

With that change search is performed when requested. Before it was done
for each pageview, regardless of the fact if search was used by user or
not.

* Localize algolia's empty template
2020-07-22 15:34:53 -04:00
Lars Olesen
4f8e2b48bb
Do not include in toc (#2558) 2020-07-22 15:26:14 -04:00
iBug ♦
2ef1bfb856
Load Font Awesome CSS from jsDelivr CDN (#2583)
* Load Font Awesome CSS from jsDelivr CDN
* Update CHANGELOG and history
2020-07-02 08:08:45 -04:00
Michael Rose
3ab6ba0b1f Replace custom comment hardcoded HTML with include
Also add custom_scripts.html include for custom comment provider JavaScript that loads in the footer.

Close #2549
2020-06-02 22:33:08 -04:00
Lars Olesen
875dbdefb8
Move page date to own file (#2544) 2020-06-02 22:22:56 -04:00
Lars Olesen
b336eab85b
Strip trailing whitespace in seo_description (#2542) 2020-06-02 22:21:10 -04:00
sunete
9280de7075
Update video (#2512)
* Update video

support bilibili video

* Update video

drop the duplicated <div> wrapper

* Update video

update video
2020-05-01 10:16:59 -04:00
Ali Farooq
7790757722
Use css padding for author urls to fix underline hover state (#2472)
* Use scss padding for sidebar author urls

* rename .text to .label
2020-03-30 16:26:24 -04:00
iBug ♦
4e25e5242e
Use first_page_path from Paginate V2 if available (#2431) 2020-03-16 21:17:53 -04:00
chrismelman
7b953b6b01
fixed typo in page_hero (#2428) 2020-03-08 20:27:54 -04:00
iBug ♦
bcd6126612
Use relative_url and absolute_url where possible (#2387)
* Use relative_url and absolute_url where possible

Drops the `contains "://"` check, adopt Jekyll 3.7
Ref: https://github.com/mmistakes/minimal-mistakes/pull/2385#issuecomment-579882236

* One more unneeded {% assign %}

* Remove one more assign as noted by mmistakes

* Consolidate 4 more captures

* Consolidate an extra assign on "active" class
2020-03-06 15:37:07 -05:00
Michael Rose
4bf72cf73f
Hide hidden posts from listings (#2345) 2020-03-04 16:09:24 -05:00
Daniel Schroeder
e8b36c94d3
fix: Do not redirect user away from site after they submit a comment (#2402) 2020-02-17 15:28:33 -05:00
iBug ♦
1799ddd6a5
Regression for mmistakes#2332 (#2385)
* Regression for mmistakes#2332

There's already a `relative_url` in place, shouldn't stack up another

* Update CHANGELOG and history
2020-01-29 12:48:13 -05:00
Johannes Ganzenmüller
741b6dcb10 Adjust comments to be compatible with compress_html (#2373) 2020-01-14 12:43:14 -05:00
iBug ♦
c6b4cdac97 Fix wrong newline concatenation in SEO description, resolves #2354 (#2368)
Close #2354
2020-01-14 12:40:11 -05:00
iBug ♦
be0e7ca971 Allow override of page excerpt in heading (via tagline) (#2307)
Allow the use of `page.tagline` to override `page.excerpt` in heading area
2020-01-07 13:01:47 -05:00
iBug ♦
f331584125 Use %-d instead of %d (#2359) 2020-01-07 12:38:08 -05:00
iBug ♦
8e2d290c7f Update toc.html from allejo/jekyll-toc:master (#2355) 2020-01-07 12:36:05 -05:00
Akhyar Amarullah
7607fcf7b6 Fix staticman v2/v3 comments (#2351)
According to the most recent docs, `branch` and `endpoint` should be inside `site.comments.staticman` config.
2019-12-19 11:38:51 -05:00
dmitrypv
abf29432f6 Update masthead.html (#2332)
* Update masthead.html

fix image path in masthead for relative url

* Update _includes/masthead.html

Co-Authored-By: iBug ♦ <git@ibugone.com>
2019-12-19 11:37:11 -05:00
Lars Olesen
0be64d50fc Fixed page.excerpt to seo_description (#2326) 2019-11-22 09:12:34 -05:00
Christian Oliff
519824eee7 remove extraneous space from IE conditional statement (#2273) 2019-10-04 11:01:09 -04:00
iBug ♦
a52394c02e Allow per-page override of words_per_minute (#2250)
Different languages usually have different read speeds.
This change is useful for sites with multi-lingual content
2019-10-04 10:50:05 -04:00
Michael Rose
9ffdabb51f Fix site.url in Organization/Person JSON-LD schema
Close #1906
2019-08-09 09:58:39 -04:00
Michael Rose
d48fe54559 Harmonize site.url for Organization JSON-LD schema 2019-08-09 09:46:03 -04:00
Jason Thai
666c15a66b Fix default site.author in seo.html (#2230) 2019-08-09 09:08:02 -04:00
Ravi
a1200bbd1d Allow Markdown in author bio (#2215)
* enable markdown in author bio

added the markdownify liquid filter

* Add markdown to bio in _config.yml

* add markdown to bio in /test/ _config.yml

* Change <p> to <div>
2019-07-24 10:06:29 -04:00
Jim Drury
af772af56f Fixes aria issues on search form (#2211)
* Fixes aria issues on search form
* Swapping aria-label for <label> tag in search
* Removing background gray caused by adding <form> tag to search
* Removing redundant space
* Making form not submit if key is enter

Close #2180
2019-07-17 16:05:50 -04:00
Michael Rose
8b708a0ee3 Use span instead of div element 2019-07-17 11:46:37 -04:00
Jan De Luyck
cfad550975 Display site subtitle in masthead (#2205)
* Add site subtitle
* Tabs vs spaces - the ancient conflict
* updates cfr PR #2205
* Perhaps also add the closing anchor
* Make sure we check for the right variables...
* Brown paper bag - subtitle, not description
2019-07-17 11:43:25 -04:00
Michael Rose
8444d54593 Use Font Awesome Kits to use the latest version of icons
Close #2184
2019-06-27 19:19:56 -04:00
Christian Oliff
828b0041a6 remove unneeded type="text/javascript" (#2190)
REF: 
- https://google.github.io/styleguide/htmlcssguide.html#type_Attributes
- https://codeguide.co/#html-style-script
- https://developers.google.com/analytics/devguides/collection/analyticsjs/
2019-06-27 18:45:59 -04:00
Michael Rose
349e4840f1
Remove extra {
Fixes #2192
2019-06-20 12:41:19 -04:00
Michael Rose
1436671500 Add skip links
Close #2182
2019-06-10 19:31:59 -04:00
Christian Oliff
f5dafab391 update Font Awesome (#2150)
REF: https://fontawesome.com/changelog/latest
2019-05-26 20:33:50 -04:00