Commit graph

308 commits

Author SHA1 Message Date
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
DannieBGoode
696d589fdd Update social-share.html (#1357) 2017-11-20 15:16:09 -05:00
Nick Garlis
cc3b21bc86 Add Lunr Search (#1353)
* Add `search.html` layout and JavaScript
* Move `{{ content }}` before search input
* Add spaces for consistency

Close #1011
2017-11-15 14:43:31 -05:00
Christian Oliff
ea5d8fc0b2 HTTPS links to github, gitblab and bitbucket and add www to facebook (#1349)
GitHub, Gitlab and Bitbucket are all always served over HTTPS.
Facebook links always have www.
2017-11-13 08:08:27 -05:00
Christian Oliff
95a8c96ce0 https link to browsehappy.com (#1343) 2017-11-12 17:07:49 -05:00
Christian Oliff
4a24be73b8 https link to jekyllrb.com (#1342) 2017-11-12 17:07:33 -05:00
sumibi-yakitori
cf9a908697 no message (#1319) 2017-11-06 12:29:24 -05:00
Vladimir Jimenez
d980884d59 Update jekyll-toc with heading classes fix (#1337) 2017-11-06 11:27:51 -05:00
Louis Matthijssen
d9a5efc666 Fix author profile link texts (#1328) 2017-11-05 10:10:57 -05:00
Michael Rose
869a0e5b73 Refactor seo.html and support OpenGraph image overrides (#1321)
- Refactor seo.html include and add `page.header.og_image` override
- DRY up handling of page images (`page.header.image`, `page.header.overlay_image`, `page.header.teaser`, and `site.og_image`).
- Allow page images to be set with `header.og_image` page variable in YAML Front Matter as per feature request in #1316.
- Add sample posts for testing `og_image` override
- Set author bio as site OpenGraph default image
- Document `page.header.og_image` OpenGraph override
- Update CHANGELOG and history

Close #1316
2017-10-26 15:50:13 -04:00
Michael Rose
866fb17d9e Toggle table of contents via front matter (#1310)
* Add jekyll-toc include
* Reduce whitespace generated by comments
* Add table of contents include to `single` layout
* Replace `toc` include with jekyll-toc enabled YAML Front Matter
* Update README
* Update table of contents documentation
  - Revise `toc` helper include to mention that it will be deprecated in the next major version.
  - Add documentation to `single` layout explaining how to enable table of contents on those pages.
* Update CHANGELOG and history
* Update LICENSE

Close #1222
2017-10-20 14:54:06 -04:00
Michael Rose
9af1e8d548 Replace fieldset elements with div.form-group
Move Staticman v2 comment logic above v1 as it will be deprecated soon.
2017-10-05 09:56:54 -04:00
Michael Rose
8974732330 Add Staticman v2 form scripts 2017-10-04 16:36:24 -04:00
Michael Rose
ab09e1bb43 Add support for Staticman v2 endpoint and reCAPTCHA
Ref: #803
2017-10-04 16:04:24 -04:00
YoungSeon.Ahn
05dafce68f Add naver-site-verification to SEO (#1286)
* Add naver-site-verification to SEO

* Add 2 space indent
2017-10-04 11:16:08 -04:00
Michael Rose
aeebfaa87c Improve accessibility of navigation menu button
Add `type` and label text.

Fixes #1099
2017-10-04 11:10:41 -04:00
Lars Olesen
d81af1f103 Add alt description to avatar image
Use author's name as `alt` description  in comment avatar image.
2017-09-20 15:56:08 -04:00
Michael Rose
8fc9bccda8 Allow <head> and footer scripts to be changed via config (#1241)
* Allow `<head>` and footer scripts to be changed via config
* Update JavaScript documentation

Close #1238
2017-09-12 12:27:36 -04:00
Michael Rose
93c4fbc4b9 Color "skins" (#1242)
* Add YIQ Color Contrast mixin
* Remove text underline from `.btn` links
* Move YIQ variables
* Simplify button classes using YIQ color contrast mixin
  - DRY up button CSS using Sass list and YIQ color contrast mixin.
  - Move `color` and `background-color` to new `btn--primary` class instead of assinging on the default class. Removes the need to override them.
* Add `.btn--primary` to buttons that just had `.btn`
* Apply changes to `/docs`
* Add `.btn--primary` class
* Update CHANGELOG and history
* Add sample form
* Abstract colors away into Sass variables for easier themeing
* Add "dark" skin
* Replace hardcoded color with SCSS variable
* Invert Font Awesome icons' colors in author sidebar and footer
* Add Sass changes to `/docs`
* Use primary button type instead of inverse
* Add missing `!default` on `$muted-text-color`
* Add `contrast` and `sunrise` skin colors
* Add `dirt` skin color
* Add `air` skin color option
* Add `mint` skin color
* Add `btn--primary` class to Submit Comment button
* Set skin to `default`
* Document skin color options
* Add note about skin SCSS import

Close #1208
2017-09-12 12:01:43 -04:00
Michael Rose
b814f306d8 Fix Liquid syntax error in feature_row include
Fix "Expected id but found open_square in `"{{page.[include.id] }}"`" in `feature_row` include.
2017-09-04 21:35:09 -04:00
Michael Rose
c4ca06f4b9 Liquid syntax error: "Expected end_of_string but found pipe in "name in __names | sort"" in group-by-array include
`sort` not allowed in `for` statements, remove it.
2017-09-04 21:21:14 -04:00
Michael Rose
e8d83de8b7 Fix Liquid syntax error: Expected id but found open_square in "{{page.[include.id] }}" 2017-09-04 21:14:36 -04:00
Michael Rose
0a9ad5d243 Fix Liquid errors when in error_mode: strict
Liquid does not allow parenthesis, remove them to fix Liquid Exception: Liquid syntax error "Expected dotdot but found pipe" in `tag-list.html` and `category-list.html`

Close #1223
2017-09-04 21:04:18 -04:00
Michael Rose
eb1f445050 Remove the http-equiv="cleartype" meta tag
Reasons for dropping: https://www.drupal.org/node/1717090
Close #1087
2017-08-29 15:41:47 -04:00
Michael Rose
0d87190f36 Remove #disqus_thread duplicate
`<section id="disqus_thread"></section>` is set in `_includes/comments.html` and not needed in `_includes/comment-provider/disqus.html`.

Fixes #1199
2017-08-28 11:55:07 -04:00
Lars Olesen
2939d45ecc Do not print the comments form (#1195)
Add `.page__comments-form` to "non-printing" selectors in print styles
2017-08-22 14:46:18 -04:00
Kris
d277353c54 Replace old Disqus script with Universal Embed Code (#1179)
* update embeddable disqus javascript

* Update disqus.html
2017-08-18 12:38:58 -04:00
Robert James Kaes
10bc756932 URL Encode Title and Page URL in Social Share Links
The links to the various social networks include data from the post
(title and url) which can contain URL special characters.  Pass each of
the generated URLs through Liquid's `url_encode` filter to build HTML
complaint URLs.
2017-08-15 14:41:34 -04:00
Michael Rose
f7a1b1a160 DRY up handling of image_description for alternative text 2017-08-04 12:20:08 -04:00
austinseraphin
cb8cb6f41e Header alt tags (#1138)
* Added support for an alt tag for the header image

This allows using page.header.image_description as the alt tag. It
will still default to site.title if unset.

* Added documentation
2017-08-04 12:06:20 -04:00
wg1j
bf6bd617e2 Fixed site variables (#1063) 2017-07-05 12:30:39 -04:00
Will Estes
c142f94918 add gitlab to author profile (#1050)
* add gitlab to author profile

* add gitlab to footer

* Fix alignment of :
2017-07-05 12:25:41 -04:00
Michael Rose
8e51d4b8f1 Fix indentation and formatting 2017-07-05 12:04:53 -04:00
Michael Rose
7a7428c2f0 Fix indentation and remove comments 2017-07-05 11:59:09 -04:00
Zobair Shahadat
ede0654d4f Google+ page comments updated. 2017-07-05 00:38:24 -04:00
Michael Lynch
8ed48c1cd5 Removing extraneous a and li tags (#1038)
Removing duplicate <a> and <li> closing tags in paginator include.
2017-05-30 08:11:19 -04:00
Josh Habdas
706531b60d fix(includes/video): use https always (#945)
closes #944
2017-04-19 10:39:20 -04:00
Michael Rose
dbdf5c2f25 Change default locale to en_US to appease OpenGraph debugger.
- Fixes #843
2017-02-28 08:57:54 -05:00
Michael Rose
28793933a3 Merge pull request #858 from rsaccani/master
meta tag "author" added, for site author the field name is used
2017-02-19 19:25:58 -05:00
Rodolfo Saccani
c23c6f9765 meta tag "author" added, for site author the field name is used 2017-02-19 23:09:04 +01:00
Michael Rose
e223934f81 Add flexbox fixes for < IE9 to make the greedy nav button visible 2017-02-14 13:13:28 -05:00