Commit graph

348 commits

Author SHA1 Message Date
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
Michael Rose
d9bf5025f3 Use relative_url filter 2018-03-20 16:16:42 -04:00
Michael Rose
d6605146ac Add posts, categories, category, tags, tag, and collection layouts
Replace sample pages with hard coded HTML and Liquid in favor of a layout that does all the heavy lifting. Assign the appropriate `layout` via YAML Front Matter and away you go.
2018-03-20 12:45:28 -04:00
Michael Rose
c8226a32a6 Replace absolute_url with relative_url
Where it makes sense replace asset paths and navigation related paths with `relative_url` filter.

Leave SEO related `<head>` elements and social sharing links as `absolute_url`.

Fixes #1588
2018-03-20 11:35:36 -04:00
Matías E. Fernández
79d0b75683 Add support for Google Analytics with global site tag (gtag.js) (#1563)
For documentation see https://developers.google.com/analytics/devguides/collection/gtagjs/
and https://support.google.com/analytics/answer/7538414.
2018-03-12 19:27:42 -04:00
Christian Oliff
04716862b0 Update Font Awesome JS to 5.0.8 (#1561)
REF: https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md
2018-03-12 19:22:30 -04:00
Christian Oliff
b99592bad0 Update Font Awesome JS to 5.0.7 (#1555) 2018-03-01 11:30:19 -05:00
Christian Oliff
abfefd920d https link to realfavicongenerator.net (#1539) 2018-02-21 07:41:00 -05:00
Michael Rose
acdd3443de
Add Algolia search provider (#1531)
* Support Lunr and Algolia search providers
* Document search providers and configuration
* Update CHANGELOG and history

close #1416
2018-02-16 14:20:42 -05:00
Christian Oliff
d98808385f Update Font Awesome to latest version (#1513)
Update Font Awesome to latest version
2018-02-01 07:31:18 -05:00
Michael Rose
1c0f19158d Replace | with HTML entity when used as title separator
ref: #760, #1506
2018-01-29 20:38:47 -05:00
Michael Rose
cd8fd82587 Remove extra spaces after : 2018-01-17 14:36:43 -05:00
d00616
6fee80f754 Fix jsonify name in seo.html application/ld+json script (#1485) 2018-01-17 14:35:50 -05:00
Michael Rose
527d187e82 Replace hardcoded 10 with actual button width 2018-01-10 11:45:35 -05:00
Michael Rose
c24aae3fad Fix typo 2018-01-09 14:17:40 -05:00
Michael Rose
51544d5c62
SEO and author fixes (#1456)
* Fix canonical URL
* Fix next/previous page paths
* Group meta types together
* Fix twitter:creator conditional
* Allow `author` to accept an object or string
* Reduce white-space
* Add "website" as default `og:type`
* Add `article:modified_time`
* Show `article:modified_time` on `article` only

Fixes #289
2018-01-09 13:58:35 -05:00
Michael Rose
614b6bdf92 Improve greedy navigation's layout when JavaScript is disabled 2018-01-09 13:56:09 -05:00
Nick Garlis
3fb63f302d Minimize JSON data (#1449)
* Remove Lunr trimmer & bring back colons

* Add Greek Stemmer

* Translate search_placeholder_text and results_found to Greek

* Minimize JSON data

* Truncate Words

* Move store variable into a new file

* Move Lunr files into a new folder

* Add defer to lunr scripts

* Add search_full_content switch
2018-01-04 20:22:33 -05:00
Michael Rose
3e922ddf58
Upgrade Font Awesome to version 5 (#1446)
Upgrade Font Awesome to version 5 (SVG with JavaScript)

Close #1396
2018-01-04 14:27:27 -05:00
Michael Rose
70ad1c2d8c Only load Lunr languages that exist in theme
ref: https://github.com/mmistakes/minimal-mistakes/pull/1445#issuecomment-355153434
2018-01-03 19:10:58 -05:00
Nick Garlis
6fe3b9cd1c Add lunr-gr.js and fix lunr-en.js (#1445)
* Remove Lunr trimmer & bring back colons
* Add Greek Stemmer
* Translate `search_placeholder_text` and `results_found` to Greek
2018-01-03 12:44:37 -05:00
Darren Hart
7bf2b58ede v2: Introduce show_overlay_excerpt and document (#1436)
Make excerpts optional in header overlay

Some posts and some header images don't lend themselves well to
displaying the excerpt in the overlay. Make this optional by
introducting a new boolean variable:

`page.header.show_overlay_excerpt`

Set it to implicitly default to `true` so existing users are unaffected by
testing explicitly for "!= false".

This can be enabled globally for a site by changing the default to `false`
in the local _config.yml, or per page by specifying the value in front
matter.

Document show_overlay_excerpt variable

* Add show_overlay_excerpt variable to the Header Overlay field documentation table.

Close #1429
2018-01-02 16:08:37 -05:00
Andrew Newhouse
9ca57649c1 Feature: Adding linkback functionality Author avatar & Name (#1386)
* adding linkback funct to author avatar & nm

* rm author_class; change linkback var to home; updating config docs
2017-12-11 12:37:10 -05:00
Michael Rose
7eb00bbd61
Feature: Incorporate site search into masthead (#1383)
* Integrate search into masthead
* Fix cutoff descenders in archive article titles
* Remove search page from `/test` site
* Enable masthead search
* Remove dedicated search page
* Fix masthead search form padding
* Improve insertion of search content
* Speed up page transition
* Add fade transition to search content
* Rename visibility class names
* Add `site.search` to _config.yml
* Document site search feature
* Update CHANGELOG and history
2017-12-07 08:56:14 -05:00
Michael Rose
87731836ee Remove extra spaces 2017-12-04 14:45:57 -05:00
Maaz Syed Adeeb
634d2884a2 Tooltips for masthead links (#1380) 2017-12-04 14:44:39 -05:00
Maaz Syed Adeeb
7c2273f23d Remove analytics in dev environment (#1362) 2017-11-27 12:11:32 -05:00