Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mmistakes #63

Merged
merged 367 commits into from
Oct 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
367 commits
Select commit Hold shift + click to select a range
c00e5cf
Update last modified time
mmistakes Nov 19, 2018
dbec2b9
Added missing ref attribute (#1959)
kulbhushanchand Nov 20, 2018
8fd8a0f
Use privacy aware embed options for YouTube & Vimeo (#1964)
maxime-michel Nov 21, 2018
bede124
Update CHANGELOG and history
mmistakes Nov 21, 2018
ed24ab5
Punjabi Translation of ui-text (#1962)
kulbhushanchand Nov 21, 2018
d89c9a3
Update CHANGELOG and history
mmistakes Nov 21, 2018
a2620d3
Add support for utterances (#1966)
mmistakes Nov 21, 2018
b2b6637
Update localized text list
mmistakes Nov 21, 2018
e24e259
Update README.md
mmistakes Nov 26, 2018
e4af8a4
Update theme documentation
mmistakes Nov 26, 2018
a59dd4a
Increase font-size
mmistakes Nov 26, 2018
3cd24c4
Increase padding
mmistakes Nov 26, 2018
cbcc53d
Add focus color
mmistakes Nov 26, 2018
2729b69
Adjust navigation toggles
mmistakes Nov 26, 2018
22a9c52
Use dark syntax highlighting
mmistakes Nov 26, 2018
31828d3
Update CHANGELOG and history
mmistakes Nov 26, 2018
8a03ffb
Add Google Drive as video provider (#1967)
lsolesen Nov 26, 2018
99ca41c
Add Google Drive provider documentation
mmistakes Nov 26, 2018
e2ea799
Update CHANGELOG and history
mmistakes Nov 26, 2018
1a88b6a
Changed schema.org to secure links (https) (#1969)
kulbhushanchand Nov 26, 2018
851426d
Update CHANGELOG and history
mmistakes Nov 26, 2018
319a746
Prevent current post from showing in the "You may also enjoy" (relate…
mikemyl Nov 26, 2018
573ce18
Update CHANGELOG and history
mmistakes Nov 26, 2018
2a64d8f
Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
mmistakes Nov 26, 2018
e954039
Change teaser image
mmistakes Nov 26, 2018
edaf61b
Disable comments
mmistakes Nov 26, 2018
5a68b46
Add hover state
mmistakes Nov 26, 2018
ed09740
Release 4.14.0 💎
mmistakes Nov 26, 2018
83aa6ec
Update CHANGELOG
mmistakes Nov 26, 2018
b689af7
Fix closed navicon on hover
mmistakes Nov 26, 2018
763d1c1
Release 4.14.1 gem
mmistakes Nov 26, 2018
4e745d2
Update NPM dependencies
mmistakes Nov 27, 2018
82e9aee
Change remaining schema.org markup to `https` (#1978)
justinrummel Nov 27, 2018
1986201
Update CHANGELOG and history
mmistakes Nov 27, 2018
f36a8a0
Update about.md (#1981)
kulbhushanchand Dec 3, 2018
6a93cea
Update README.md (#1982)
kulbhushanchand Dec 3, 2018
f4f6e32
Fix function name for Google Custom Search (#1983)
efung Dec 3, 2018
be82750
Update CHANGELOG and history
mmistakes Dec 3, 2018
9de7eab
Allow sidebar navs with custom sidebar content
mmistakes Dec 4, 2018
5a8f737
Update test post
mmistakes Dec 4, 2018
63109a8
Update CHANGELOG and history
mmistakes Dec 4, 2018
aeb09ff
Update YAML example
mmistakes Dec 4, 2018
f6d41f8
Fix broken image
mmistakes Dec 11, 2018
f83fce9
Fix broken image
mmistakes Dec 11, 2018
5b8a9de
HTTPS Twitter short link (#2001)
coliff Dec 19, 2018
7178b37
Fixed Netlify typo (#2013)
hkalant Jan 1, 2019
4c6dd4f
update font awesome (#1995)
coliff Jan 1, 2019
f4d890f
Update CHANGELOG and history
mmistakes Jan 1, 2019
c1412e3
Remove unused variables (#1996)
VincentTam Jan 1, 2019
e647af5
Update CHANGELOG and history
mmistakes Jan 1, 2019
7de372c
[Bug fix]: Added missing Staticman Spanish UI text (#1997)
VincentTam Jan 1, 2019
f3f73fd
Update CHANGELOG and history
mmistakes Jan 1, 2019
599847b
Persian Translation of UI Elements (#2004)
rouyeen Jan 1, 2019
f98445e
Update CHANGELOG and history
mmistakes Jan 1, 2019
8ec8def
shorter IE conditional statement (#2006)
coliff Jan 1, 2019
9fb4849
Update CHANGELOG and history
mmistakes Jan 1, 2019
70c9373
Fix typo
mmistakes Jan 1, 2019
f27bd39
lunr 2.3.5 update (#2010)
justinrummel Jan 1, 2019
47450e8
Update CHANGELOG and history
mmistakes Jan 1, 2019
1cd1e71
Fix wide tables that overflow parent container
mmistakes Jan 1, 2019
a81ed70
Accessibility: Add aria-label to the search button (#2014)
SeanKilleen Jan 1, 2019
b45c66f
Update
mmistakes Jan 1, 2019
c848d1e
Update CHANGELOG and history
mmistakes Jan 1, 2019
53a45a2
Update copyright year
mmistakes Jan 2, 2019
9232a38
Release 4.14.2 💎
mmistakes Jan 2, 2019
2784b3a
Bump version to 4.14.2
mmistakes Jan 4, 2019
33551c8
Clicking TOC links changes hash fragment (#2019)
edemaine Jan 4, 2019
d361c00
Update CHANGELOG and history
mmistakes Jan 4, 2019
f2f5801
Scrollspy-style updating of hash and TOC highlighting
edemaine Jan 4, 2019
6990f8f
Use jQuery throttle library
edemaine Jan 4, 2019
04e1614
Define $active-color in terms of $primary-color
edemaine Jan 4, 2019
4c2557d
Merge pull request #2020 from edemaine/scrollspy
mmistakes Jan 8, 2019
2274abb
Update CHANGELOG and history
mmistakes Jan 8, 2019
77059e3
assign canonical directly if custom value exists (#2021)
SeanKilleen Jan 8, 2019
89c4169
Update CHANGELOG, history, and `canonical_url` documentation
mmistakes Jan 8, 2019
cac73fb
Add support to customize `issue-term` (#2022)
huan Jan 8, 2019
a974e45
Update
mmistakes Jan 8, 2019
1b7e833
Fix scrollspy on link clicking, and # for top of page (#2023)
edemaine Jan 15, 2019
86e95b4
Update CHANGELOG and history
mmistakes Jan 15, 2019
282806a
Add logo and title customization to the masthead (#2026)
00-Evan Jan 15, 2019
c44e65c
Release 4.15.0 💎
mmistakes Jan 16, 2019
afd8cfd
Fix empty `<img>` when `site_logo` is not assigned
mmistakes Jan 16, 2019
8f5140a
Update test post
mmistakes Jan 21, 2019
d0d2676
Add empty `alt` attribute to img tag with logo (#2035)
torrocus Jan 24, 2019
f405d24
Update CHANGELOG and history
mmistakes Jan 24, 2019
d41a284
Fix `site.logo` false positives
mmistakes Jan 24, 2019
c510b51
Update ui-text.yml (#2037)
hakcat Jan 24, 2019
bcb7343
Add Malayalam localized UI text strings
mmistakes Jan 24, 2019
cc4471e
Update CHANGELOG, history, and docs
mmistakes Jan 24, 2019
622005c
Improve Staticman v3 documentation (#2043)
VincentTam Jan 28, 2019
ea2b6de
Remove 'www' from Stack Overflow URL (#2054)
lucascaton Feb 5, 2019
81f7851
[fix] syntax error of non-english character (#2042)
aliwo Feb 8, 2019
246c678
Compile main.min.js
mmistakes Feb 8, 2019
8efaa7e
Update CHANGELOG and history
mmistakes Feb 8, 2019
f597119
update Font Awesome (#2053)
coliff Feb 8, 2019
1d4cad2
Update CHANGELOG and history
mmistakes Feb 8, 2019
adfdf4b
Updated swedish translations. (#2056)
Johannestegner Feb 8, 2019
aefe633
Update Swedish localized UI text strings
mmistakes Feb 8, 2019
9be0551
Update CHANGELOG and history
mmistakes Feb 8, 2019
65c401b
Fix bad YAML
mmistakes Feb 8, 2019
67c08a0
Add Staticman app endpoint to docs site
mmistakes Feb 11, 2019
8eb880a
Revert "Add Staticman app endpoint to docs site"
mmistakes Feb 11, 2019
1e78b16
exit search screen with Esc key (#2055)
ermissa Feb 11, 2019
397c13f
Update CHANGELOG and history
mmistakes Feb 11, 2019
4501e4f
Update history page
mmistakes Feb 11, 2019
7f414f4
Add link to issue
mmistakes Feb 11, 2019
78817f9
Release 4.15.2 💎
mmistakes Feb 17, 2019
c1094ca
Add missing translation of chinese (#2072)
awesee Mar 4, 2019
10f62bb
Update CHANGELOG and history
mmistakes Mar 4, 2019
fb74bde
Fix indendation
mmistakes Mar 4, 2019
3dbe89d
Fix indents
mmistakes Mar 4, 2019
4a38b5f
Loosen Bundler dependency for theme gem
mmistakes Mar 4, 2019
59111d1
Remove Google+
mmistakes Mar 5, 2019
102924f
Update CHANGELOG
mmistakes Mar 5, 2019
d5dae86
Add tip on how to start a YouTube embed at a given timestamp (#2077)
maxime-michel Mar 5, 2019
bd5f157
Update Google Universal Analytics to load async (#2079)
coliff Mar 5, 2019
960d6af
Update CHANGELOG and history
mmistakes Mar 5, 2019
097c01e
Adjust wording
mmistakes Mar 7, 2019
8625e07
Add styling for GFM task lists
mmistakes Mar 13, 2019
94e8280
Add GFM task list example to post
mmistakes Mar 13, 2019
a44dc2f
Replace jQuery Smooth Scroll with Smooth Scroll + Gumshoe (#2082)
mmistakes Mar 22, 2019
5ed1f79
Update CHANGELOG and history
mmistakes Mar 22, 2019
a1ff46c
Fix figures when they are inside of a list (#2094)
Mar 22, 2019
a66cf1d
Update CHANGELOG and hsitory
mmistakes Mar 22, 2019
2e9e2ab
Fix French translation typo (#2096)
iinimata Mar 22, 2019
7fa5ac4
Update CHANGELOG and history
mmistakes Mar 22, 2019
346c8a9
Updated vi-VN for some missing terms (#2097)
samdx Mar 22, 2019
54e141a
Update CHANGELOG and history
mmistakes Mar 22, 2019
baec5d0
Typos fix and including more words for pt-br (#2098)
paaatcha Apr 3, 2019
b93ec8c
Update CHANGELOG and history
mmistakes Apr 3, 2019
737c011
Update Font Awesome (#2102)
coliff Apr 3, 2019
01150a8
Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
mmistakes Apr 3, 2019
63f3240
Update CHANGELOG and history
mmistakes Apr 3, 2019
c7184ba
Added missing Hindi Translation of ui-text (#2105)
kulbhushanchand Apr 3, 2019
146186a
Added missing Hindi Translation of ui-text ( for docs folder) (#2106)
kulbhushanchand Apr 3, 2019
ac2975a
Update CHANGELOG and history
mmistakes Apr 3, 2019
d09bf47
Add UI Text for Thai Language (#2111)
samitixyz Apr 3, 2019
2413ea7
Update `/docs` text strings
mmistakes Apr 3, 2019
60b5bac
Add reference to Thai UI text strings
mmistakes Apr 3, 2019
29acb2a
Fix table of contents active link styling
mmistakes Apr 3, 2019
e4c0689
Add `max-width` Sass variable (#2093)
Apr 9, 2019
9baef1b
Update CHANGELOG and history
mmistakes Apr 9, 2019
df8a030
Allow adding JavaScript files after the theme's (#2116)
mmistakes Apr 9, 2019
9164fda
Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
mmistakes Apr 9, 2019
d06e437
Update CHANGELOG and history
mmistakes Apr 9, 2019
3f1f7da
Improve search `input` semantics (#2123)
inetbiz Apr 10, 2019
dce8f9c
Update CHANGELOG and history
mmistakes Apr 10, 2019
44760c9
Release 4.16.0 💎
mmistakes Apr 10, 2019
cf0c046
Made Gumshoe contingent upon a TOC being present. This prevents a con…
Jeckari Apr 12, 2019
90df6af
Update CHANGELOG and history
mmistakes Apr 12, 2019
0cf24b0
Update jquery v3.3.1 to v3.4.0 (#2129)
torrocus Apr 15, 2019
d84c3de
Update CHANGELOG and history
mmistakes Apr 15, 2019
7cd711e
Update layout compress from v3.0.2 to v3.1.0 (#2128)
torrocus Apr 15, 2019
d90cea5
Update CHANGELOG and history
mmistakes Apr 15, 2019
4e41e73
Add link to MM remote theme starter
mmistakes Apr 18, 2019
b797def
Release 4.16.1 💎
mmistakes Apr 28, 2019
b83ab56
Revert back to jQuery v3.3.1
mmistakes Apr 28, 2019
3f83a0d
Release 4.16.2 💎
mmistakes Apr 28, 2019
abf71c6
Update Gumshoe to v5.1.1
mmistakes Apr 30, 2019
31cb045
Update CHANGELOG and history
mmistakes Apr 30, 2019
93d29be
Update jQuery to v3.4.1
mmistakes May 2, 2019
129500b
Update JavaScript listing
mmistakes May 2, 2019
d7af62a
Update CHANGELOG and history
mmistakes May 2, 2019
06820bc
Reset positioning of `rel="permalink"` anchors
mmistakes May 4, 2019
9b68374
Release 4.16.3 💎
mmistakes May 4, 2019
8da334b
Fix permalink stacking order
mmistakes May 7, 2019
843fa68
Update CHANGELOG and history
mmistakes May 7, 2019
64a34ee
add www to facebook.com link (#2160)
coliff May 20, 2019
cb4acd9
Change permalink
mmistakes May 21, 2019
26c1989
Fix pound symbol not displaying properly for post categories and tags
mmistakes May 21, 2019
1b30ffd
Add edge case
mmistakes May 21, 2019
f0037ae
Update CHANGELOG and history
mmistakes May 21, 2019
16fc624
Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
mmistakes May 21, 2019
80b6f60
Create FUNDING.yml
mmistakes May 25, 2019
cd92802
Fix and complete Spanish localization (#2149)
enreas May 27, 2019
480e81d
Update CHANGELOG and history
mmistakes May 27, 2019
f5dafab
update Font Awesome (#2150)
coliff May 27, 2019
3b43fac
Update CHANGELOG and history
mmistakes May 27, 2019
7127afa
Fix and improve pt-BR localization. (#2162)
vbernardes May 27, 2019
74ea18e
Update CHANGELOG and history
mmistakes May 27, 2019
ca12dcd
Arithmetic fix in _form.scss (#2169)
barsa-net May 27, 2019
08e1458
Update CHANGELOG and history
mmistakes May 27, 2019
e664d1d
Release 4.16.4 💎
mmistakes May 27, 2019
14adf5c
Remove duplicate UI text file in `/docs`
mmistakes Jun 10, 2019
1436671
Add skip links
mmistakes Jun 10, 2019
349e484
Remove extra `{`
mmistakes Jun 20, 2019
ee81b46
Low hanging fruit (#2186)
nopivnick Jun 27, 2019
301594f
Update CHANGELOG and history
mmistakes Jun 27, 2019
56701a0
Fix broken Flickr images
mmistakes Jun 27, 2019
828b004
remove unneeded type="text/javascript" (#2190)
coliff Jun 27, 2019
098a475
Update CHANGELOG and history
mmistakes Jun 27, 2019
b5b8c45
Fix missing fallback title for table of contents
mmistakes Jun 27, 2019
dc99092
Remove unecessary console.log in `lunr-en.js` and `lunr-gr.js` JavaSc…
mmistakes Jun 27, 2019
8444d54
Use Font Awesome Kits to use the latest version of icons
mmistakes Jun 27, 2019
86e9d31
Complete missing parts of Korean locale. (#2209)
potados99 Jul 17, 2019
00bec58
Update CHANGELOG and history
mmistakes Jul 17, 2019
cfad550
Display site subtitle in masthead (#2205)
jdeluyck Jul 17, 2019
8b708a0
Use `span` instead of `div` element
mmistakes Jul 17, 2019
3bbfeac
Document `site.subtitle`
mmistakes Jul 17, 2019
ca786b6
Update CHANGELOG and history
mmistakes Jul 17, 2019
75c120f
Add site subtitle
mmistakes Jul 17, 2019
af772af
Fixes aria issues on search form (#2211)
Jul 17, 2019
64daa7f
Add localized text string
mmistakes Jul 17, 2019
f1fba3d
Update CHANGELOG and history
mmistakes Jul 17, 2019
958441d
Updated localized text string for "Punjabi" and "Hindi" language (#2212)
kulbhushanchand Jul 18, 2019
95ad34b
Update CHANGELOG and history
mmistakes Jul 18, 2019
6311da0
Release 4.16.5 💎
mmistakes Jul 18, 2019
a1200bb
Allow Markdown in author bio (#2215)
raviriley Jul 24, 2019
c1df294
Add note about allowed Markdown in `author.bio`
mmistakes Jul 24, 2019
ae2ab92
Update CHANGELOG and history
mmistakes Jul 24, 2019
bd2d947
Add emphasis
mmistakes Jul 24, 2019
a2255d0
Fix overlapping links in post link type
mmistakes Aug 2, 2019
666c15a
Fix default site.author in seo.html (#2230)
jasontthai Aug 9, 2019
bd44981
Update CHANGELOG and history
mmistakes Aug 9, 2019
07461d7
Complete Spanish localization (#2229)
enreas Aug 9, 2019
4f9aca2
Update CHANGELOG and history
mmistakes Aug 9, 2019
b84e5fd
Remove fullstop in some Staticman UI text (#2220)
VincentTam Aug 9, 2019
0959ef5
Update CHANGELOG and history
mmistakes Aug 9, 2019
6d44ad6
Fix typos
mmistakes Aug 9, 2019
d48fe54
Harmonize `site.url` for Organization JSON-LD schema
mmistakes Aug 9, 2019
9ffdabb
Fix `site.url` in Organization/Person JSON-LD schema
mmistakes Aug 9, 2019
43b5e5f
Update history
mmistakes Aug 9, 2019
14e009e
Relax Jekyll dependency to allow for version 4.0
mmistakes Aug 20, 2019
724ea26
Ignore Jekyll cache
mmistakes Aug 21, 2019
35b31e7
Remove jemoji gem
mmistakes Aug 21, 2019
2388cbe
Bump dependencies
mmistakes Aug 21, 2019
143bb32
Remove jemoji gem
mmistakes Aug 21, 2019
58f1d16
Update documentation
mmistakes Aug 21, 2019
5ab086c
Release 4.16.6 💎
mmistakes Aug 21, 2019
c642c0f
Translate into Catalan (#2237)
mrcasals Aug 27, 2019
cc36594
Update CHANGELOG, history, and docs
mmistakes Aug 27, 2019
a2fdc94
Update onchange development dependency in package.json
mmistakes Aug 28, 2019
f2c5d79
Fix typo in config comment (#2243)
d-Rickyy-b Aug 30, 2019
5c19a81
Update CHANGELOG and history
mmistakes Aug 30, 2019
4b6b768
Fix http links to use https (#2244)
d-Rickyy-b Aug 30, 2019
69edbfb
Update CHANGELOG and history
mmistakes Aug 30, 2019
a52394c
Allow per-page override of words_per_minute (#2250)
iBug Oct 4, 2019
57a7401
Document `page.words_per_minute`
mmistakes Oct 4, 2019
6a3d325
Update CHANGELOG and history
mmistakes Oct 4, 2019
3b3da46
Show a permalink anchor when hovering over headings in main content (…
iBug Oct 4, 2019
9238caa
Update CHANGELOG and history
mmistakes Oct 4, 2019
519824e
remove extraneous space from IE conditional statement (#2273)
coliff Oct 4, 2019
2d22b95
Update CHANGELOG and history
mmistakes Oct 4, 2019
a101d66
Release 4.17.0 (#2275)
mmistakes Oct 5, 2019
5eb4e8e
BLD: update Minimal Mistakes
eigenfoo Oct 6, 2019
ff47e6b
MAINT: remove LICENSE
eigenfoo Oct 6, 2019
37a6444
BUG: remove typo
eigenfoo Oct 6, 2019
e48f389
MAINT: remove docs dir
eigenfoo Oct 6, 2019
908daa8
STY: stylistic chages
eigenfoo Oct 6, 2019
067b6b3
MAINT: remove vendor/bundle
eigenfoo Oct 6, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*.sublime-workspace
.bundle
.DS_Store
.jekyll-cache
.jekyll-metadata
.sass-cache
_asset_bundler_cache
Expand Down
10 changes: 5 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ remote_theme : "mmistakes/minimal-mistakes"
minimal_mistakes_skin : "dirt" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"

# Site Settings
locale : "en"
locale : "en-US"
title : "Eigenfoo"
title_separator : "|"
name : "George Ho"
Expand Down Expand Up @@ -203,7 +203,7 @@ kramdown:
# Sass/SCSS
sass:
sass_dir: _sass
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
style: compressed # https://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style


# Outputting
Expand Down Expand Up @@ -240,8 +240,8 @@ whitelist:
# - Archive page should exist at path when using Liquid method or you can
# expect broken links (especially with breadcrumbs enabled)
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path/my-awesome-category/index.html ~> path: /
# - <base_path>/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path>/my-awesome-category/index.html ~> path: /
category_archive:
type: liquid
path: /categories/
Expand All @@ -262,7 +262,7 @@ tag_archive:


# HTML Compression
# - http://jch.penibelst.de/
# - https://jch.penibelst.de/
compress_html:
clippings: all
ignore:
Expand Down
133 changes: 109 additions & 24 deletions _data/ui-text.yml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions _includes/author-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% endif %}
{% if author.bio %}
<p class="author__bio" itemprop="description">
{{ author.bio }}
</p>
<div class="author__bio" itemprop="description">
{{ author.bio | markdownify }}
</div>
{% endif %}
</div>

Expand Down
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<!-- For all browsers -->
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">

<!--[if IE ]>
<!--[if IE]>
<style>
/* old IE unsupported flexbox fixes */
.greedy-nav .site-title {
Expand Down
5 changes: 4 additions & 1 deletion _includes/masthead.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
{% unless logo_path == empty %}
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a>
{% endunless %}
<a class="site-title" href="{{ '/' | relative_url }}">{{ site.masthead_title | default: site.title }}</a>
<a class="site-title" href="{{ '/' | relative_url }}">
{{ site.masthead_title | default: site.title }}
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
</a>
<ul class="visible-links">
{%- for link in site.data.navigation.main -%}
{%- if link.url contains '://' -%}
Expand Down
4 changes: 2 additions & 2 deletions _includes/read-time.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign words_per_minute = site.words_per_minute | default: 200 %}
{% assign words_per_minute = page.words_per_minute | default: site.words_per_minute | default: 200 %}

{% if post.read_time %}
{% assign words = post.content | strip_html | number_of_words %}
Expand All @@ -12,4 +12,4 @@
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% else %}
{{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %}
{% endif %}
34 changes: 21 additions & 13 deletions _includes/search/search_form.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
<div class="search-content__inner-wrap">
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
<input type="search" id="search" aria-placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
<div id="results" class="results"></div>
<form class="search-content__form" onkeydown="return event.key != 'Enter';">
<label class="sr-only" for="search">
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
</label>
<input type="search" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
</form>
<div id="results" class="results"></div>
{%- when "google" -%}
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
<input type="search" id="cse-search-input-box-id" aria-placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
</form>
<div id="results" class="results">
<gcse:searchresults-only></gcse:searchresults-only>
</div>
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
<label class="sr-only" for="cse-search-input-box-id">
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
</label>
<input type="search" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
</form>
<div id="results" class="results">
<gcse:searchresults-only></gcse:searchresults-only>
</div>
{%- when "algolia" -%}
<div class="search-searchbar"></div>
<div class="search-hits"></div>
{%- endcase -%}
<div class="search-searchbar"></div>
<div class="search-hits"></div>
{%- endcase -%}
</div>
35 changes: 14 additions & 21 deletions _includes/seo.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
{%- endif -%}

{%- assign author = page.author | default: page.authors[0] | default: site:author -%}
{%- assign author = page.author | default: page.authors[0] | default: site.author -%}
{%- assign author = site.data.authors[author] | default: author -%}

{%- if author.twitter -%}
Expand Down Expand Up @@ -127,28 +127,21 @@
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
{% endif %}

{% if site.og_image %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
<script type="application/ld+json">
{
"@context": "https://schema.org",
{% if site.social.type == "Organization" %}
"@type": "Organization",
"url": {{ seo_url | jsonify }},
"logo": {{ site_og_image | jsonify }}
}
</script>
{% endif %}

{% if site.social %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
"url": {{ '/' | absolute_url | jsonify }}{% if site.og_image %},
"logo": {{ site_og_image | jsonify }}{% endif %}
{% else %}
"@type": "Person",
"name": {{ site.social.name | default: site.name | jsonify }},
"url": {{ seo_url | jsonify }},
"sameAs": {{ site.social.links | jsonify }}
}
</script>
{% endif %}
"url": {{ '/' | absolute_url |jsonify }}{% if site.social.links %},
"sameAs": {{ site.social.links | jsonify }}{% endif %}
{% endif %}
}
</script>

{% if site.google_site_verification %}
<meta name="google-site-verification" content="{{ site.google_site_verification }}" />
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.16.4 by Michael Rose
Minimal Mistakes Jekyll Theme 4.17.0 by Michael Rose
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion _sass/minimal-mistakes.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Minimal Mistakes Jekyll Theme 4.16.4 by Michael Rose
* Minimal Mistakes Jekyll Theme 4.17.0 by Michael Rose
* Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
*/
Expand Down
9 changes: 9 additions & 0 deletions _sass/minimal-mistakes/_archive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@

.archive__item {
position: relative;

a {
position: relative;
z-index: 10;
}

a[rel="permalink"] {
position: static;
}
}

.archive__subtitle {
Expand Down
5 changes: 5 additions & 0 deletions _sass/minimal-mistakes/_masthead.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
z-index: 20;
}

.site-subtitle {
display: block;
font-size: $type-size-8;
}

.masthead__menu {
float: left;
margin-left: 0;
Expand Down
17 changes: 17 additions & 0 deletions _sass/minimal-mistakes/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,23 @@
border-bottom: 1px solid $border-color;
}

h1, h2, h3, h4, h5, h6 {
.header-link {
position: relative;
left: 0.5em;
opacity: 0;
font-size: 0.8em;
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
-moz-transition: opacity 0.2s ease-in-out 0.1s;
-o-transition: opacity 0.2s ease-in-out 0.1s;
transition: opacity 0.2s ease-in-out 0.1s;
}

&:hover .header-link {
opacity: 1;
}
}

p,
li,
dl {
Expand Down
6 changes: 6 additions & 0 deletions _sass/minimal-mistakes/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
@include breakpoint($x-large) {
max-width: $max-width;
}

}

&__form {
background-color: transparent;
}

.search-input {
Expand Down Expand Up @@ -119,6 +124,7 @@
font-style: normal;
text-decoration: underline;
}

.archive__item-excerpt .ais-Highlight {
color: $primary-color;
font-style: normal;
Expand Down
18 changes: 18 additions & 0 deletions assets/js/_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ $(document).ready(function() {
events: true // if true, emit custom events
});
}

// Event support
events: true // if true, emit custom events
});
}

// add lightbox class to all image links
$(
Expand Down Expand Up @@ -132,4 +137,17 @@ $(document).ready(function() {
closeOnContentClick: true,
midClick: true // allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source.
});

// Add anchors for headings
$('.page__content').find('h1, h2, h3, h4, h5, h6').each(function() {
var id = $(this).attr('id');
if (id) {
var anchor = document.createElement("a");
anchor.className = 'header-link';
anchor.href = '#' + id;
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>';
anchor.title = "Permalink";
$(this).append(anchor);
}
});
});
10 changes: 5 additions & 5 deletions assets/js/main.min.js

Large diffs are not rendered by default.