Commit graph

374 commits

Author SHA1 Message Date
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