Commit Graph

474 Commits

Author SHA1 Message Date
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
Michael Rose
26c1989bf6 Fix pound symbol not displaying properly for post categories and tags
Fixes #2156
2019-05-21 11:40:48 -04:00
Denver Prophit Jr
3f1f7da5c8 Improve search input semantics (#2123)
* Update search_form.html

Updates Issue #2122 by adding the correct input type and aria label.

* update search_form.html

should be area-placeholder. My mistake. Updates Issue #2122

* fix aria-placeholder

Updates issue #2123 with a typo found by @mmistakes for liquid syntax.

Close #2122
2019-04-09 21:20:35 -04:00
Michael Rose
df8a030a42
Allow adding JavaScript files after the theme's (#2116)
Allow adding JavaScript files after those bundled in the theme

Close #2110
2019-04-08 21:03:52 -04:00
Christian Oliff
737c011d46 Update Font Awesome (#2102)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2019-04-03 15:04:07 -04:00
Luis Puerto
a1ff46cc59 Fix figures when they are inside of a list (#2094) 2019-03-22 16:05:48 -04:00
Michael Rose
a44dc2f914
Replace jQuery Smooth Scroll with Smooth Scroll + Gumshoe (#2082)
* Replace jQuery Smooth Scroll with Smooth Scroll + Gumshoe
* Change smooth scrolling speed
* Set maximum smooth scroll duration
* Remove Font Awesome CSS Ppseudo elements attribute from JS script

Close #2050, close #2075
2019-03-22 16:01:28 -04:00
Christian Oliff
bd5f157833 Update Google Universal Analytics to load async (#2079) 2019-03-05 18:56:03 -05:00
Michael Rose
59111d1e01 Remove Google+
Google+ is being shutdown on April 2, 2019. Social sharing buttong, comment provider, and author link configs have been removed from the theme.

ref: https://support.google.com/plus/answer/9195133
2019-03-05 18:53:30 -05:00
Christian Oliff
f59711945e update Font Awesome (#2053)
* update Font Awesome

REF: https://fontawesome.com/changelog/latest

* Update _includes/scripts.html

Co-Authored-By: coliff <christianoliff@yahoo.com>
2019-02-08 12:30:56 -05:00
Lucas Caton
ea2b6de555 Remove 'www' from Stack Overflow URL (#2054)
Stack Overflow is no longer including `www` in its URLs.
2019-02-05 08:07:16 -05:00
Michael Rose
d41a284bd2 Fix site.logo false positives 2019-01-23 20:05:17 -05:00
Alex Malaszkiewicz
d0d267697e Add empty alt attribute to img tag with logo (#2035)
* Provide empty alt attribute (alt="") for logo image, because it does not provide information
2019-01-23 19:34:43 -05:00
Michael Rose
afd8cfd99e Fix empty <img> when site_logo is not assigned
Ref: https://github.com/mmistakes/minimal-mistakes/pull/2026#issuecomment-454809876
2019-01-16 11:06:54 -05:00
Evan Debenham
282806ae07 Add logo and title customization to the masthead (#2026)
* Add logo and title customization to the masthead

* Adjust config description

* Add test site logo to `/test`

* Document `site.logo` and `site.masthead_title`

* Update CHANGELOG and history
2019-01-15 09:07:56 -05:00
Huan LI (李卓桓)
cac73fb87d Add support to customize issue-term (#2022)
Current we hardcoded the `pathname` for `issue-term` when we are using utterances comment provider.

It would be better for let users customize it by setting a `site.comments.utterances.issue_term` in their `_config.yml`.
2019-01-08 08:42:19 -05:00
Sean Killeen
77059e3710 assign canonical directly if custom value exists (#2021) 2019-01-08 08:23:31 -05:00
Sean Killeen
a81ed706da Accessibility: Add aria-label to the search button (#2014)
* Accessibility: Add aria-label to the search button
* Update button aria text
* Add aria text to menu toggle
* Add span for search toggle
* Update span for menu label & remove aria
* Update ui-text.yml to add search_label
2019-01-01 18:33:51 -05:00
Christian Oliff
8ec8def1b8 shorter IE conditional statement (#2006)
saves 5 bytes :-)
2019-01-01 16:50:33 -05:00
Vincent Tam
c1412e3958 Remove unused variables (#1996) 2019-01-01 16:39:39 -05:00
Christian Oliff
4c6dd4fb41 update font awesome (#1995)
REF: https://fontawesome.com/changelog/latest
2019-01-01 16:02:59 -05:00
Christian Oliff
5b8a9de8eb HTTPS Twitter short link (#2001) 2018-12-19 08:02:41 -05:00
Michael Rose
9de7eab353 Allow sidebar navs with custom sidebar content
Multiple sidebar navs can also be included on a page:

```
sidebar:
  - title: Navigation 1
    nav: nav1
  - title: Navigation 2
    nav: nav2
```

Fixes #1986
2018-12-04 14:17:54 -05:00
Eric Fung
f4f6e32cc3 Fix function name for Google Custom Search (#1983)
fbafe58e40b1bd4a2628aef1eb5955ab57dcfaf4 renamed the function in the
scripts file, but did not rename the call sites.
2018-12-03 08:38:33 -05:00
Justin Rummel
82e9aee6a8 Change remaining schema.org markup to https (#1978) 2018-11-27 09:07:51 -05:00
Kulbhushan Chand
1a88b6a24a Changed schema.org to secure links (https) (#1969) 2018-11-25 20:47:47 -05:00
Lars Olesen
8a03ffb439 Add Google Drive as video provider (#1967) 2018-11-25 20:40:54 -05:00
Michael Rose
a2620d34f6
Add support for utterances (#1966)
* Add support for utterances
* Add utterances config documentation
* Update CHANGELOG and history

Close #1909
2018-11-21 14:59:14 -05:00
Maxime Michel
8fd8a0ff3d Use privacy aware embed options for YouTube & Vimeo (#1964) 2018-11-21 14:06:26 -05:00
Kulbhushan Chand
dbec2b9975 Added missing ref attribute (#1959)
As suggested by @mmistakes in https://github.com/mmistakes/minimal-mistakes/issues/1948#issuecomment-439888193
2018-11-20 14:23:07 -05:00
Michael Rose
7d257e4e8b Fix FontAwesome script
ref #1922
2018-11-14 10:54:18 -05:00
Michael Rose
2cd757e601 Add crossorigin attribute to FontAwesome script
ref #1922
2018-11-14 10:11:00 -05:00
Alex Malaszkiewicz
d786c190c7 Add rel attribute to social media links in author profile and fotter (#1924) 2018-11-13 09:37:14 -05:00
Léo Grange
d0ee15eb5c add integrity hash for Font Awesome script (#1922)
* add integrity hash for Font Awesome script

As the script is loaded from an external CDN (use.fontawesome.com), its integrity must be ensured mainly for security reasons.
This hash must be updated together with the exact version of Font Awesome, as given on their website.

* Update to FontAwesome 5.5.0
2018-11-13 09:34:54 -05:00
Paul Fioravanti
98d518817f Revert caching for comments and analytics. Fixes #1905 (#1907) 2018-10-23 10:32:41 -04:00
Michael Rose
e704cd40d4
Cache "static" includes to improve build performance (#1874)
* Add jekyll-include-cache plugin
* Cache "static" includes to improve build performance
* Update CHANGELOG and history

"Static" refers to those includes that don't rely on data passed from the page content.
2018-10-04 15:48:26 -04:00
Maxime Michel
4bd6efc323 Allow custom Staticman endpoints (#1845) 2018-09-21 09:49:58 -04:00
Christian Oliff
2f1b8f3321 Update algolia-search-scripts.html (#1836)
not needed for HTML5 and saves a few bytes by removing
2018-09-16 18:18:46 -04:00
Christian Oliff
adfbe8622b Remove unneeded HandheldFriendly and MobileOptimized meta tags (#1837)
Fixes: #1835
2018-09-16 18:16:47 -04:00
Christian Oliff
fe67efdee8 Update Font Awesome to latest version (#1830) 2018-09-16 18:13:50 -04:00
Michael Rose
a95fae0155 Properly apply relative_url filter to internal links in header overlay actions array 2018-09-11 11:42:21 -04:00
Michael Rose
90f5a98406 Remove deprecated base_path include helper 2018-09-11 09:58:22 -04:00
Michael Rose
1504379168 Improve footer link flexibility
Deprecate hardcoded footer links in favor or new `footer.links` array for any link and in any order. All of Font Awesome's icons are available for use.

```
footer:
  links:
    - label: "Twitter"
      icon: "fab fa-fw fa-twitter-square"
      url: "https://twitter.com/username"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/username"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://instagram.com/username"
```
2018-09-10 15:06:50 -04:00
Michael Rose
42de7a56fc Improve author link flexibility
Deprecate social networking links in `_config.yml` in favor or new `author.links` array for any link and in any order. All of Font Awesome's icons are available for use.

```
author:
  links:
    - label: "Your Website"
      icon: "fas fa-fw fa-link"
      url: "https://your-site.com"
    - label: "Twitter"
      icon: "fab fa-fw fa-twitter-square"
      url: "https://twitter.com/username"
    - label: "GitHub"
      icon: "fab fa-fw fa-github"
      url: "https://github.com/username"
    - label: "Instagram"
      icon: "fab fa-fw fa-instagram"
      url: "https://instagram.com/username"
```

Fixes #1581
2018-09-10 15:05:07 -04:00
Michael Rose
68df0b6b63 Add header actions array support for multiple call to action links
```
header:
  overlay_image: /assets/images/unsplash-image-1.jpg
  og_image: /assets/images/page-header-og-image.png
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  actions:
    - label: "Learn More"
      url: "https://unsplash.com"
```

Fixes #1461
2018-09-10 11:04:06 -04:00
Michael Rose
833ab3933d Add support to gallery helper for defining column layout
e.g. `{% include gallery id="gallery" layout="half" caption="2 column gallery caption" %}

Fixes #1821
2018-09-10 10:24:24 -04:00
Michael Rose
07411719a0 Update jekyll-toc to v1.0.5 2018-08-15 09:38:22 -04:00
Luc Sarzyniec
f5c33989c8 Fix: use relative links for menu items when possible (#1783) (#1784) 2018-08-13 08:00:39 -04:00
Brian Exelbierd
3c48a2ed02 Allow time to be shown with a header image overlay (#1756)
Fix `read_time` logic in header image overlay
2018-07-24 10:43:54 -04:00
Christian Oliff
89d3cb3d02 Update font awesome (#1754)
* Update scripts.html

* update to 5.2.0

REF: https://github.com/FortAwesome/Font-Awesome/releases
2018-07-24 10:38:49 -04:00
Christian Oliff
9a94fb0f96 update Font Awesome (#1711)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2018-06-22 14:26:47 -04:00
David Tomaschik
53d1063c17 Include a default title_separator (#1701)
The current code prevented any separator being included when site.title_separator was unset.
2018-06-11 08:17:03 -04:00
GwonHyeok
70bff53a41 fix typo in seo template (#1687)
naver-site-verification to naver_site_verification
2018-06-04 12:10:27 -04:00
Michael Rose
648254b2b5 Add support for captioning images in feature row helper
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed.

Close #1440
2018-05-15 15:41:45 -04:00
Michael Rose
9b17ac9856 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2018-05-15 14:46:03 -04:00
user414
3a817c2bdb Implement feature #1652 google custom search support. (#1667)
Implement feature #1652 google custom search support. For now we only support the look and feel "results only" and the engine must be set to use that layout. Add a google section to the search providers and search_form and search layout.

Close #1652
2018-05-15 14:42:10 -04:00
Christian Oliff
28ef6b07d7 update Font Awesome (#1668)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2018-05-11 12:47:42 -04:00
Michael Rose
fa0acf455f Fix "Back to Top" links
Pages that use header overlays were missing `#page-title` anchors on the `<h1>` element.
2018-05-08 10:40:42 -04:00
Michael Rose
7092d4301e Update Font Awesome to 5.0.12 2018-05-03 15:51:06 -04:00
Bruno Coelho
13b2969bb8 Add option to anonymize analytics ip address (#1636)
* Add option to anonymize analytics ip address

* Add option to anonymize analytics ip address in google tag
2018-05-03 14:27:03 -04:00
Christian Oliff
ac2b8db6b3 Update Font Awesome to v5.0.11 (#1620)
* Update Font Awesome to v5.0.10

https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md

* Update scripts.html
2018-05-03 14:24:25 -04:00
Michael Rose
2248a4b1ba Add conditionals for showing reCaptcha keys in form 2018-03-30 18:39:54 -04:00
Christian Oliff
2c03e688f8 Update Font Awesome (#1605)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2018-03-29 12:34:02 -04:00