Compare commits

..
88 Commits
Author SHA1 Message Date
Michael Rose 5021021fc8 Release 4.19.3 💎 2020-06-06 11:47:44 -04:00
Michael Rose c6145356fd Update CHANGELOG and history 2020-06-06 10:39:32 -04:00
Michael Rose 7ec8e90c76 Update GreedyNav.js 2020-06-06 10:30:54 -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
Michael Rose 59e007b20e Update CHANGELOG and history 2020-06-02 22:24:13 -04:00
Lars Olesen 875dbdefb8 Move page date to own file (#2544) 2020-06-02 22:22:56 -04:00
Michael Rose da2035c1ff Update CHANGELOG and history 2020-06-02 22:22:21 -04:00
Lars Olesen b336eab85b Strip trailing whitespace in seo_description (#2542) 2020-06-02 22:21:10 -04:00
iBug ♦ 3ca2503745 Bump Jekyll version note from 3.5 to 3.7 (#2520) 2020-06-02 22:19:22 -04:00
Michael Rose d392698661 Reword commit change 2020-06-02 22:18:57 -04:00
iBug ♦ a3d1d904d5 Make sticky sidebar live well with short content (#2514) 2020-06-02 22:17:31 -04:00
Michael Rose cf398b07ab Ignore heading in TOC 2020-05-22 10:06:57 -04:00
Michael Rose f7770ad079 Fix typo 2020-05-01 11:53:47 -04:00
Michael Rose 7a4b65711d Bump version to 4.19.2 2020-05-01 11:51:54 -04:00
Michael Rose 7bdc8dc193 Release 4.19.2 💎 2020-05-01 11:47:01 -04:00
Michael Rose 1a6bc842ae Wrap email in quotes
Close #2498
2020-05-01 10:28:44 -04:00
Michael Rose 476b12c867 Add bilibili provider 2020-05-01 10:23:02 -04:00
Michael Rose 890e573989 Fix typo 2020-05-01 10:21:55 -04:00
Michael Rose b27da24c8d Update CHANGELOG and history 2020-05-01 10:20:27 -04:00
Michael Rose 502e28a54e Add bilibili provider 2020-05-01 10:20:18 -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
Michael Rose 2147ee2b66 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-05-01 10:15:50 -04:00
Michael Rose 172321f115 Add Myanmar (Burmese) 2020-05-01 10:15:46 -04:00
Michael Rose f8ab328e8a Update CHANGELOG and history 2020-05-01 10:14:48 -04:00
Hein Htet Aung ac970d98b8 Update Burmese translation (#2500) 2020-05-01 10:13:23 -04:00
Michael Rose 3c6c8586ba Update CHANGELOG and history 2020-05-01 10:12:43 -04:00
Tobias V. Langhoff f9c4e37816 Fix typo in configuration docs (#2497)
`https://github.io.mmistakes` should be `https://mmistakes.github.io`
2020-05-01 10:11:58 -04:00
Michael Rose 4ba02060e4 Update CHANGELOG and history 2020-05-01 10:11:32 -04:00
Quan 8ba8be1cac Update Vietnamese translation (#2486)
* Update Vietnamese translation

* Update Vietnamese translation
2020-05-01 10:10:35 -04:00
Michael Rose ef9431ccdd Update 01-quick-start-guide.md 2020-04-27 11:11:21 -04:00
Michael Rose d387d410eb Update README.md 2020-04-27 11:10:04 -04:00
iBug ♦ 07957f6d64 Hide index page from page-archive, resolves #2481 (#2482) 2020-04-13 18:55:19 -04:00
iBug ♦ f3c74113fd Fix #2478 "Follow menu falls under post links" (#2479)
* Fix #2478 "Follow menu falls under post links"

* Do it the other way
2020-04-08 09:15:07 -04:00
Michael Rose 63c929655d Update CHANGELOG and history 2020-03-30 16:27:41 -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
Michael Rose b4ccaa6ae2 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes
* 'master' of https://github.com/mmistakes/minimal-mistakes:
  Add guide on applying Front Matter defaults to jekyll-archives pages (#2466)
2020-03-30 16:19:59 -04:00
Michael Rose 29f4efc441 Update CHANGELOG and history 2020-03-30 16:18:32 -04:00
iBug ♦ 54001dade7 Add guide on applying Front Matter defaults to jekyll-archives pages (#2466)
* Add guide on applying Front Matter defaults to jekyll-archives pages

Sources:
- https://github.com/mmistakes/minimal-mistakes/issues/2465#issuecomment-604839346
- https://github.com/iBug/iBug-source/commit/8685c1ecd984529dcb044ba816497313d8896f1e

* Update CHANGELOG and history
2020-03-30 16:17:45 -04:00
Quan 843c38b892 Update ui-text.yml for Vietnamese translation (#2459) 2020-03-30 16:16:24 -04:00
Michael Rose c57dfd78b0 Add mention of Finnish 2020-03-23 14:08:03 -04:00
Michael Rose a0a0a78b07 Update CHANGELOG and history 2020-03-23 14:06:44 -04:00
Tatu Wikman 7f222d7e1f Finnish translations (#2455)
* Finnish translations

* Small fix to finnish translation
2020-03-23 14:05:10 -04:00
Michael Rose e773a08645 Update CHANGELOG and history 2020-03-23 14:04:43 -04:00
A. Ishikawa def3aaf229 Clarify lunr only searches documents in collections (#2450) 2020-03-23 14:03:25 -04:00
Michael Rose 2d0b445634 Bump theme version 2020-03-16 21:32:15 -04:00
Michael Rose 6bc673d331 Release 4.19.1 💎 2020-03-16 21:31:23 -04:00
Michael Rose 0d4e54283a Update CHANGELOG and history 2020-03-16 21:26:12 -04:00
Michael Rose c5523d119a Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-03-16 21:24:19 -04:00
Luiz Lopes e00e24dc9d docs: Add dracula base16 syntax highlighting (#2438)
Updates stylesheets doc by adding a section for [dracula theme](https://draculatheme.com/).
2020-03-16 21:24:11 -04:00
Michael Rose e3fd8dc17b Update CHANGELOG and history 2020-03-16 21:23:05 -04:00
Christian Oliff 2d407a9d9e update links to HTTPS and remove Google+ from 05-configuration.md (#2432) 2020-03-16 21:21:36 -04:00
Michael Rose b1d7c4062f Update CHANGELOG and history 2020-03-16 21:18:56 -04:00
iBug ♦ 4e25e5242e Use first_page_path from Paginate V2 if available (#2431) 2020-03-16 21:17:53 -04:00
Michael Rose eeecf26117 Update CHANGELOG and history 2020-03-16 10:46:52 -04:00
Michael Rose 864892c507 Bump dependencies 2020-03-16 10:45:33 -04:00
Michael Rose ece34c1c57 Fix author profile links z-index order on small screens
Close #2440
2020-03-16 10:33:42 -04:00
Michael Rose 7051c2b595 Update smooth-scroll.js to v16.1.2
Close #2430
2020-03-11 13:13:46 -04:00
Michael Rose e31701787e Force rebuild of site 2020-03-10 19:09:54 -04:00
Michael Rose 78f049abee Release 4.19.0 💎 2020-03-10 19:02:57 -04:00
Michael Rose f9b4ddb869 Remove unused variables 2020-03-10 19:00:43 -04:00
Michael Rose a2385e2584 Update CHANGELOG and history 2020-03-09 14:49:50 -04:00
Michael Rose b5abe62bf6 Add "click" overlay to close masthead and follow button menus when open
Fixes #1168
2020-03-09 14:49:15 -04:00
Michael Rose 9c90563d1a Remove delay on menu close 2020-03-09 13:04:51 -04:00
Michael Rose 02098bc079 Update CHANGELOG and history 2020-03-09 12:33:15 -04:00
Michael Rose 60f0f1c33a Remove deprecated Staticman v1 config
Close #2386
2020-03-09 12:31:42 -04:00
Michael Rose e1724aec9d Lock demo site at version 4.18.1
ref: https://github.com/mmistakes/minimal-mistakes/issues/2429
2020-03-09 10:15:17 -04:00
chrismelman 7b953b6b01 fixed typo in page_hero (#2428) 2020-03-08 20:27:54 -04:00
Michael Rose 21ae828654 Fix typo in Sass variable map 2020-03-06 15:48:03 -05:00
Michael Rose cba217a6da Update CHANGELOG and history 2020-03-06 15:42:43 -05:00
Ivan Storck 72bc135b5f Fix minor deprecation issue (#2425)
with bundler show vs now info. Just to avoid warning for users
2020-03-06 15:41:07 -05:00
Michael Rose 5e5d4210e2 Update CHANGELOG and history 2020-03-06 15:39:05 -05: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 0cf1a2e114 Improve headline hierarchy
Add headline specific Sass variables:

```scss
$h-size-1: 1.563em !default; // ~25.008px
$h-size-2: 1.25em !default; // ~20px
$h-size-3: 1.125em !default; // ~18px
$h-size-4: 1.0625em !default; // ~17px
$h-size-5: 1.03125em !default; // ~16.5px
$h-size-6: 1em !default; // ~16px
```

Fixes #2423
2020-03-05 12:39:35 -05:00
Michael Rose 52fcc60474 Update CHANGELOG and history 2020-03-05 12:28:40 -05:00
Michael Rose dc8a41bb60 Improve accessiblity of default skin by increasing color contrast 2020-03-04 16:33:50 -05:00
Michael Rose 4fa9cf63d2 Update CHANGELOG and history 2020-03-04 16:10:57 -05:00
Michael Rose 4bf72cf73f Hide hidden posts from listings (#2345) 2020-03-04 16:09:24 -05:00
Michael Rose 31dff63ad1 Update CHANGELOG, history, and documentation 2020-03-04 16:08:15 -05:00
Michael Rose 648ef257a4 Add Irish (Gaeilge) locale to ui-text.yml (#2422) 2020-03-04 16:05:27 -05:00
Michael Rose 909745a7c9 Fix rake vulnerability in .gemspec file 2020-03-02 16:25:50 -05:00
Michael Rose 2513357cdc Update CHANGELOG and history 2020-02-17 15:30:14 -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
Michael Rose f7884a31c6 Update CHANGELOG and history 2020-02-17 15:27:35 -05:00
iBug ♦ 060d50eda0 Disable box-shadow for radio and checkbox (#2398) 2020-02-17 15:26:10 -05:00
Michael Rose b06b6477e9 Bump Jekyll gem dependency to v3.7 2020-01-29 13:24:22 -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
Michael Rose 636ea3eb87 Release 4.18.1 💎 2020-01-25 11:18:44 -05:00
iBug ♦ 82a71a59f2 Fix compatibility issue with paginate V2 introduced by mmistakes/minimal-mistakes#2378 (#2381) 2020-01-25 11:14:29 -05:00
62 changed files with 719 additions and 456 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
*.gem *.gem
.bundle .bundle
Gemfile.lock Gemfile.lock
vendor/bundle **/vendor/bundle
# Node.js and NPM # Node.js and NPM
node_modules node_modules
+70
View File
@@ -1,3 +1,73 @@
## Unreleased
### Enhancements
- Update GreedyNav.js to reduce masthead link overflow/shifting on mobile devices. [#2551](https://github.com/mmistakes/minimal-mistakes/issues/2551)
- Replace `<section id="custom-comments"></section>` in `comments.html` include and add `custom_scripts.html` include for loading custom comment provider JavaScript in the footer. [#2549](https://github.com/mmistakes/minimal-mistakes/issues/2549)
- Move page date Liquid to include. [#2544](https://github.com/mmistakes/minimal-mistakes/pull/2544)
- Strip trailing whitespace in seo_description. [#2542](https://github.com/mmistakes/minimal-mistakes/pull/2542)
- Improve sticky sidebar's appearance with short content. [#2514](https://github.com/mmistakes/minimal-mistakes/pull/2514)
## [4.19.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.2)
### Enhancements
- Add support for bilibili videos in [responsive video helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#responsive-video-embed). [#2512](https://github.com/mmistakes/minimal-mistakes/pull/2512)
- Add Myanmar (Burmese) localized UI text strings. [#2500](https://github.com/mmistakes/minimal-mistakes/pull/2500)
- Improve author links underline on hover. [#2472](https://github.com/mmistakes/minimal-mistakes/pull/2472)
- Add documentation for applying Front Matter defaults to jekyll-archives pages. [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466)
- Add missing Vietnamese translations. [#2459](https://github.com/mmistakes/minimal-mistakes/pull/2459) [#2486](https://github.com/mmistakes/minimal-mistakes/pull/2486)
- Fix Finnish localized UI text strings. [#2455](https://github.com/mmistakes/minimal-mistakes/pull/2455)
- Clarify documentation that Lunr only searches documents in collections. [#2450](https://github.com/mmistakes/minimal-mistakes/pull/2450)
- Add guide on applying Front Matter defaults to jekyll-archives pages [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466)
### Bug Fixes
- Fix typo in configuration documentation. [#2497](https://github.com/mmistakes/minimal-mistakes/pull/2497)
- Fix "Follow menu falls under post links" on small screens. [#2479](https://github.com/mmistakes/minimal-mistakes/issues/2479)
- Hide index page from page-archive. [#2482](https://github.com/mmistakes/minimal-mistakes/pull/2482)
## [4.19.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.1)
### Enhancements
- Add [Dracula](https://draculatheme.com/) Base16 syntax highlighting theme Sass variables to [stylesheets documentation](https://mmistakes.github.io/minimal-mistakes/docs/stylesheets/#syntax-highlighting). [#2438](https://github.com/mmistakes/minimal-mistakes/pull/2438)
- Update links to `HTTPS` and remove Google+ from configuration documentation. [#2432](https://github.com/mmistakes/minimal-mistakes/pull/2432)
- Use `first_page_path` from jekyll-paginate-v2 if available. [#2431](https://github.com/mmistakes/minimal-mistakes/pull/2431)
- Update onchange and uglify-js dependencies.
- Update smooth-scroll.js to `v16.1.2`. [#2430](https://github.com/mmistakes/minimal-mistakes/issues/2430)
### Bug Fixes
- Fix author profile links `z-index` order on small screens. [#2440](https://github.com/mmistakes/minimal-mistakes/issues/2440)
## [4.19.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.0)
### Enhancements
- Add "click" overlay to close masthead and follow button menus when open. [#1168](https://github.com/mmistakes/minimal-mistakes/issues/1168)
- Remove deprecated Staticman v1 configurations from `_config.yml`. [#2386](https://github.com/mmistakes/minimal-mistakes/issues/2386)
- Use `relative_url` and `absolute_url` filters where possible. [#2387](https://github.com/mmistakes/minimal-mistakes/pull/2387)
- Improve headline hierarchy and add Sass specific variables `$h-size-x`. [#2423](https://github.com/mmistakes/minimal-mistakes/issues/2423)
- Improve accessibility of `default` skin by increasing color contrast of text and links.
- Hide posts with `hidden: true` YAML front matter from appearing in listings. [#2345](https://github.com/mmistakes/minimal-mistakes/pull/2345)
- Add Irish (Gaeilge) localized UI text strings. [#2422](https://github.com/mmistakes/minimal-mistakes/pull/2422)
- Remove `box-shadow` on radio and checkbox inputs. [#2398](https://github.com/mmistakes/minimal-mistakes/pull/2398)
- Bump Jekyll gem dependency to `v3.7`.
### Bug Fixes
- Fix documentation around using `bundle info` command. [#2425](https://github.com/mmistakes/minimal-mistakes/pull/2425)
- Fix rake vulnerability in `.gemspec` file.
- Fix Staticman v2 comment submission. [#2402](https://github.com/mmistakes/minimal-mistakes/pull/2402)
- Fix repeated site base path for masthead logo. [#2385](https://github.com/mmistakes/minimal-mistakes/pull/2385)
## [4.18.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.18.1)
### Bug Fixes
- Fix compatibility issue with jekyll-paginate-v2. [#2381](https://github.com/mmistakes/minimal-mistakes/pull/2381)
## [4.18.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.18.0) ## [4.18.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.18.0)
### Enhancements ### Enhancements
+4 -4
View File
@@ -1,7 +1,7 @@
# [Minimal Mistakes Jekyll theme](https://mmistakes.github.io/minimal-mistakes/) # [Minimal Mistakes Jekyll theme](https://mmistakes.github.io/minimal-mistakes/)
[![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE) [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
[![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.6-blue.svg)](https://jekyllrb.com/) [![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.7-blue.svg)](https://jekyllrb.com/)
[![Ruby gem](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://rubygems.org/gems/minimal-mistakes-jekyll) [![Ruby gem](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://rubygems.org/gems/minimal-mistakes-jekyll)
[![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/mmistakes) [![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/mmistakes)
@@ -33,7 +33,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more. - Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and [utterances](https://utteranc.es/)). - Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and [utterances](https://utteranc.es/)).
- [Google Analytics](https://www.google.com/analytics/) support. - [Google Analytics](https://www.google.com/analytics/) support.
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Hindi (हिंदी), Hungarian, Indonesian, Italian (Italiano), Japanese, Korean, Malayalam, Nepali (Nepalese), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese. - UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese.
## Skins (color variations) ## Skins (color variations)
@@ -126,9 +126,9 @@ To install:
bundle bundle
``` ```
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.18.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry. 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.19.3"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
**Looking for an example?** Fork the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter) for the quickest method of getting a GitHub Pages hosted site up and running. Replace sample content with your own and configure as needed. **Looking for an example?** Use the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter/generate) for the quickest method of getting a GitHub Pages hosted site up and running. Generate a new repository from the starter, replace sample content with your own, and configure as needed.
## Usage ## Usage
+4 -18
View File
@@ -43,23 +43,9 @@ comments:
utterances: utterances:
theme : # "github-light" (default), "github-dark" theme : # "github-light" (default), "github-dark"
issue_term : # "pathname" (default) issue_term : # "pathname" (default)
staticman: staticman:
allowedFields : # ['name', 'email', 'url', 'message'] branch : # "master"
branch : # "master" endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
commitMessage : # "New comment by {fields.name}"
filename : # comment-{@timestamp}
format : # "yml"
moderation : # true
path : # "/_data/comments/{options.slug}" (default)
requiredFields : # ['name', 'email', 'message']
transforms:
email : # "md5"
generatedFields:
date:
type : # "date"
options:
format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance
reCaptcha: reCaptcha:
siteKey : siteKey :
secret : secret :
@@ -115,7 +101,7 @@ author:
links: links:
- label: "Email" - label: "Email"
icon: "fas fa-fw fa-envelope-square" icon: "fas fa-fw fa-envelope-square"
# url: mailto:your.name@email.com # url: "mailto:your.name@email.com"
- label: "Website" - label: "Website"
icon: "fas fa-fw fa-link" icon: "fas fa-fw fa-link"
# url: "https://your-website.com" # url: "https://your-website.com"
+164 -15
View File
@@ -940,33 +940,33 @@ id-ID:
# Vietnamese # Vietnamese
# ---------- # ----------
vi: &DEFAULT_VI vi: &DEFAULT_VI
skip_links : skip_links : "Đường dẫn tắt"
skip_primary_nav : skip_primary_nav : "Nhảy tới thanh điều hướng"
skip_content : skip_content : "Nhảy tới nội dung"
skip_footer : skip_footer : "Nhảy tới chân trang"
page : "Trang" page : "Trang"
pagination_previous : "Trước" pagination_previous : "Trước"
pagination_next : "Sau" pagination_next : "Kế tiếp"
breadcrumb_home_label : "Trang chủ" breadcrumb_home_label : "Trang chủ"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label : "Menu" menu_label : "Menu"
search_label : search_label : "Tìm kiếm"
toc_label : "Tại trang này" toc_label : "Tại trang này"
ext_link_label : "Đường dẫn trực tiếp" ext_link_label : "Đường dẫn trực tiếp"
less_than : "nhỏ hơn" less_than : "chỉ cần"
minute_read : "phút đọc" minute_read : "phút để đọc"
share_on_label : "Chia sẻ tại" share_on_label : "Chia sẻ tại"
meta_label : meta_label :
tags_label : "Nhãn:" tags_label : "Thẻ:"
categories_label : "Chủ đề:" categories_label : "Danh mục:"
date_label : "Cập nhật:" date_label : "Ngày cập nhật:"
comments_label : "Để lại bình luận" comments_label : "Để lại bình luận"
comments_title : "Bình luận" comments_title : "Bình luận"
more_label : "Mở rộng" more_label : "Mở rộng"
related_label : "Có thể bạn cũng thích" related_label : "Có thể bạn cũng thích"
follow_label : "Theo dõi:" follow_label : "Theo dõi:"
feed_label : "Feed" feed_label : "Feed"
powered_by : "Được hỗ trợ bởi" powered_by : "Xây dựng trên nền tảng"
website_label : "Website" website_label : "Website"
email_label : "Email" email_label : "Email"
recent_posts : "Bài viết mới" recent_posts : "Bài viết mới"
@@ -982,7 +982,7 @@ vi: &DEFAULT_VI
comment_success_msg : "Cảm ơn bạn đã bình luận! Bình luận sẽ xuất hiện sau khi được duyệt." comment_success_msg : "Cảm ơn bạn đã bình luận! Bình luận sẽ xuất hiện sau khi được duyệt."
comment_error_msg : "Rất tiếc, có lỗi trong việc gửi bình luận. Hãy đảm bảo toàn bộ các phần bắt buộc đã được điền đầy đủ và thử lại." comment_error_msg : "Rất tiếc, có lỗi trong việc gửi bình luận. Hãy đảm bảo toàn bộ các phần bắt buộc đã được điền đầy đủ và thử lại."
loading_label : "Đang tải..." loading_label : "Đang tải..."
search_label_text : search_label_text : "Nhập từ khóa cần tìm..."
search_placeholder_text : "Nhập từ khóa cần tìm..." search_placeholder_text : "Nhập từ khóa cần tìm..."
results_found : "Kết quả tìm được" results_found : "Kết quả tìm được"
back_to_top : "Lên đầu trang" back_to_top : "Lên đầu trang"
@@ -1555,7 +1555,7 @@ hi: &DEFAULT_HI
back_to_top : "शीर्ष पर वापस" back_to_top : "शीर्ष पर वापस"
hi-IN: hi-IN:
<<: *DEFAULT_HI <<: *DEFAULT_HI
# Catalan # Catalan
# -------------- # --------------
ca: &DEFAULT_CA ca: &DEFAULT_CA
@@ -1607,7 +1607,156 @@ ca: &DEFAULT_CA
back_to_top : "Torna a dalt" back_to_top : "Torna a dalt"
ca-ES: ca-ES:
<<: *DEFAULT_CA <<: *DEFAULT_CA
# Irish (Gaeilge)
# --------------
ga: &DEFAULT_GA
skip_links : "Léim naisc"
skip_primary_nav : "Léim chuig príomh naiscleanúint"
skip_content : "Léim chuig inneachar"
skip_footer : "Léim chuig buntásc"
page : "Leathanach"
pagination_previous : "Leathanach roimhe sin"
pagination_next : "Céad leathanach eile"
breadcrumb_home_label : "Baile"
breadcrumb_separator : "/"
menu_label : "Scorán roghchlár"
search_label : "Scorán cuardach"
toc_label : "Ar an leathanach seo"
ext_link_label : "Nasc díreach"
less_than : "níos lú na"
minute_read : "a léamh"
share_on_label : "Roinn ar"
meta_label :
tags_label : "Clibeanna:"
categories_label : "Catagoírí:"
date_label : "Nuashonraíodh:"
comments_label : "Fág trácht"
comments_title : "Tráchtanna"
more_label : "Foghlaim níos mó"
follow_label : "Lean:"
feed_label : "Feed"
powered_by : "Ag fáil cumhacht as"
website_label : "Suíomh gréasáin"
email_label : "R-phost"
recent_posts : "Postálacha le deanaí"
comment_form_comment_label : "Trácht"
comment_form_name_label : "Ainm"
comment_form_email_label : "Ríomhsheoladh"
comment_form_website_label : "Suíomh gréasáin (roghnach)"
comment_btn_submit : "Cuir isteach trácht"
comment_btn_submitted : "Curtha isteach"
loading_label : "Lódáil..."
search_label_text : "Cuir do chuardach isteach..."
search_placeholder_text : "Cuir do chuardach isteach..."
results_found : "Torthaí aimsithe"
back_to_top : "Ar ais go barr"
ga-IE:
<<: *DEFAULT_GA
# Finnish / Suomi
# -----------------
fi: &DEFAULT_FI
skip_links : "Ohita linkit"
skip_primary_nav : "Hyppää pää navigaatioon"
skip_content : "Hyppää sisältöön"
skip_footer : "Hyppää alareunaan"
page : "Sivu"
pagination_previous : "Edellinen"
pagination_next : "Seuraava"
breadcrumb_home_label : "Etusivu"
breadcrumb_separator : "/"
menu_label : "Avaa valikko"
search_label : "Avaa haku"
toc_label : "Tällä sivulla"
ext_link_label : "Suora linkki"
less_than : "vähemmän kuin"
minute_read : "lukuaika"
share_on_label : "Jaa"
meta_label :
tags_label : "Tagit:"
categories_label : "Kategoriat:"
date_label : "Päivitetty:"
comments_label : "Jätä kommentti"
comments_title : "Kommentit"
more_label : "Lisää"
related_label : "Voit olla kiinnostunut myös"
follow_label : "Seuraa:"
feed_label : "Syöte"
powered_by : "Voimanlähteenä"
website_label : "Websivu"
email_label : "Email"
recent_posts : "Viimeisimmät postaukset"
undefined_wpm : "words_per_minute asetusta ei ole määritelty _config.yml tiedostossa"
comment_form_info : "Your email address will not be published. Required fields are marked"
comment_form_comment_label : "Kommentti"
comment_form_md_info : "Tukee markdown muotoilua."
comment_form_name_label : "Nimi"
comment_form_email_label : "Email osoite"
comment_form_website_label : "Webbisivu (vapaaehtoinen)"
comment_btn_submit : "Lähetä"
comment_btn_submitted : "Lähetetty"
comment_success_msg : "Kiitos kommentista, se julkaistaan tällä sivulla moderoinnin jälkeen."
comment_error_msg : "Tarkista että olet täyttänyt kaikki kentät ja yritä uudelleen."
loading_label : "Ladataan..."
search_label_text : "Hakusana..."
search_placeholder_text : "Hakusana..."
results_found : "Tulosta"
back_to_top : "Ylös"
# Myanmar (Burmese)
# -----------------
my: &DEFAULT_MY
skip_links : "လင့်များကို​ကျော်ပါ။"
skip_primary_nav : "မူလအညွှန်းသို့​ကျော်ပါ။"
skip_content : "အကြောင်းအရာသို့ကျော်ပါ။"
skip_footer : "အောက်ခြေသို့ကျော်ပါ။"
page : "စာမျက်နှာ"
pagination_previous : "ရှေ့တစ်ခု"
pagination_next : "နောက်တစ်ခု"
breadcrumb_home_label : "ပင်မစာမျက်နှာ"
breadcrumb_separator : "/"
menu_label : "မီနူး ဖွင့်၊ပိတ်"
search_label : "ရှာ​ဖွေရန် ဖွင့်၊ပိတ်"
toc_label : "ဒီစာမျက်နှာတွင်"
ext_link_label : "တိုက်ရိုက်လင့်"
less_than : "ဖတ်ရန်ကြာချိန်"
minute_read : "မိနစ်"
share_on_label : "မျှဝေပါ။"
meta_label :
tags_label : "အမှတ်အသားများ -"
categories_label : "အမျိုးအစားများ -"
date_label : "ပြင်ဆင်ပြီး -"
comments_label : "မှတ်ချက်တစ်ခုချန်ထားပါ။"
comments_title : "မှတ်ချက်များ"
more_label : "ပိုမိုသိရှိရန်"
related_label : "သင်နှစ်သက်နိုင်​သော"
follow_label : "သတင်းလိုက်ယူရန် -"
feed_label : "Feed ယူရန် -"
powered_by : "ပံ့ပိုးသည်"
website_label : "ဝဘ်ဆိုက်"
email_label : "အီးမေးလ်"
recent_posts : "လတ်တလောရေးသားချက်များ"
undefined_wpm : "_config.yml မှာ words_per_minute ကိုမသတ်မှတ်ထားပါ။"
comment_form_info : "သင့်အီးမေးလ်လိပ်စာကို​ဖော်ပြသွားမည်မဟုတ်ပါ။ လိုအပ်သောဖြည့်စွက်ရန်​နေရာများကို အမှတ်အသားပြထားပါသည်။"
comment_form_comment_label : "မှတ်ချက်"
comment_form_md_info : "Markdown ကိုထောက်ပံ့သည်။"
comment_form_name_label : "နာမည်"
comment_form_email_label : "အီးမေးလိပ်စာ"
comment_form_website_label : "ဝဘ်ဆိုက် (မဖြည့်စွက်လည်းရသည်)"
comment_btn_submit : "မှတ်ချက်တင်ပါ"
comment_btn_submitted : "တင်သွင်းလိုက်သည်"
comment_success_msg : "မှတ်ချက်ပေးတဲ့အတွက်ကျေးဇူးတင်ပါတယ်။ ၎င်းကိုအတည်ပြုပြီးသည့်အခါ ဝဘ်ဆိုက်ပေါ်တွင်ပြလိမ့်မည်။"
comment_error_msg : "တောင်းပန်ပါတယ်။ သင့်တင်သွင်းမှုတွင်အမှားတစ်ခုရှိခဲ့သည်။ ကျေးဇူးပြုပြီးလိုအပ်သောဖြည့်စွက်ရန်​နေရာအားလုံးဖြည့်ပြီးပါကထပ်မံကြိုးစားပါ။"
loading_label : "တင်နေသည်..."
search_label_text : "သင့်ရှာဖွေရေးဝေါဟာရကိုရိုက်ထည့်ပါ..."
search_placeholder_text : "သင့်ရှာဖွေရေးဝေါဟာရကိုရိုက်ထည့်ပါ..."
results_found : "ရလဒ်(များ)ကိုတွေ့ရှိခဲ့သည်"
back_to_top : "အပေါ်သို့ပြန်သွား"
my-MM:
<<: *DEFAULT_MY
# Another locale # Another locale
# -------------- # --------------
# #
+1 -7
View File
@@ -14,13 +14,7 @@
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork"> <article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
{% if include.type == "grid" and teaser %} {% if include.type == "grid" and teaser %}
<div class="archive__item-teaser"> <div class="archive__item-teaser">
<img src= <img src="{{ teaser | relative_url }}" alt="">
{% if teaser contains "://" %}
"{{ teaser }}"
{% else %}
"{{ teaser | relative_url }}"
{% endif %}
alt="">
</div> </div>
{% endif %} {% endif %}
<h2 class="archive__item-title" itemprop="headline"> <h2 class="archive__item-title" itemprop="headline">
+30 -41
View File
@@ -5,23 +5,12 @@
{% if author.avatar %} {% if author.avatar %}
<div class="author__avatar"> <div class="author__avatar">
{% if author.avatar contains "://" %}
{% assign author_src = author.avatar %}
{% else %}
{% assign author_src = author.avatar | relative_url %}
{% endif %}
{% if author.home %} {% if author.home %}
{% if author.home contains "://" %} <a href="{{ author.home | relative_url }}">
{% assign author_link = author.home %} <img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image">
{% else %}
{% assign author_link = author.home | relative_url %}
{% endif %}
<a href="{{ author_link }}">
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
</a> </a>
{% else %} {% else %}
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image"> <img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image">
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
@@ -51,7 +40,7 @@
{% if author.links %} {% if author.links %}
{% for link in author.links %} {% for link in author.links %}
{% if link.label and link.url %} {% if link.label and link.url %}
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li> <li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
@@ -59,7 +48,7 @@
{% if author.uri %} {% if author.uri %}
<li> <li>
<a href="{{ author.uri }}" itemprop="url"> <a href="{{ author.uri }}" itemprop="url">
<i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }} <i class="fas fa-fw fa-link" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].website_label | default: "Website" }}</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -68,7 +57,7 @@
<li> <li>
<a href="mailto:{{ author.email }}"> <a href="mailto:{{ author.email }}">
<meta itemprop="email" content="{{ author.email }}" /> <meta itemprop="email" content="{{ author.email }}" />
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }} <i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].email_label | default: "Email" }}</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -76,7 +65,7 @@
{% if author.keybase %} {% if author.keybase %}
<li> <li>
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase <i class="fas fa-fw fa-key" aria-hidden="true"></i><span class="label">Keybase</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -84,7 +73,7 @@
{% if author.twitter %} {% if author.twitter %}
<li> <li>
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter <i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i><span class="label">Twitter</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -92,7 +81,7 @@
{% if author.facebook %} {% if author.facebook %}
<li> <li>
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook <i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i><span class="label">Facebook</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -100,7 +89,7 @@
{% if author.linkedin %} {% if author.linkedin %}
<li> <li>
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn <i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span class="label">LinkedIn</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -108,7 +97,7 @@
{% if author.xing %} {% if author.xing %}
<li> <li>
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING <i class="fab fa-fw fa-xing-square" aria-hidden="true"></i><span class="label">XING</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -116,7 +105,7 @@
{% if author.instagram %} {% if author.instagram %}
<li> <li>
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram <i class="fab fa-fw fa-instagram" aria-hidden="true"></i><span class="label">Instagram</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -124,7 +113,7 @@
{% if author.tumblr %} {% if author.tumblr %}
<li> <li>
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr <i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i><span class="label">Tumblr</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -132,7 +121,7 @@
{% if author.bitbucket %} {% if author.bitbucket %}
<li> <li>
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket <i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i><span class="label">Bitbucket</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -140,7 +129,7 @@
{% if author.github %} {% if author.github %}
<li> <li>
<a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub <i class="fab fa-fw fa-github" aria-hidden="true"></i><span class="label">GitHub</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -148,7 +137,7 @@
{% if author.gitlab %} {% if author.gitlab %}
<li> <li>
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab <i class="fab fa-fw fa-gitlab" aria-hidden="true"></i><span class="label">GitLab</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -156,7 +145,7 @@
{% if author.stackoverflow %} {% if author.stackoverflow %}
<li> <li>
<a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow <i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i><span class="label">Stack Overflow</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -164,7 +153,7 @@
{% if author.lastfm %} {% if author.lastfm %}
<li> <li>
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm <i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i><span class="label">Last.fm</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -172,7 +161,7 @@
{% if author.dribbble %} {% if author.dribbble %}
<li> <li>
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble <i class="fab fa-fw fa-dribbble" aria-hidden="true"></i><span class="label">Dribbble</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -180,7 +169,7 @@
{% if author.pinterest %} {% if author.pinterest %}
<li> <li>
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest <i class="fab fa-fw fa-pinterest" aria-hidden="true"></i><span class="label">Pinterest</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -188,7 +177,7 @@
{% if author.foursquare %} {% if author.foursquare %}
<li> <li>
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare <i class="fab fa-fw fa-foursquare" aria-hidden="true"></i><span class="label">Foursquare</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -196,7 +185,7 @@
{% if author.steam %} {% if author.steam %}
<li> <li>
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam <i class="fab fa-fw fa-steam" aria-hidden="true"></i><span class="label">Steam</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -205,13 +194,13 @@
{% if author.youtube contains "://" %} {% if author.youtube contains "://" %}
<li> <li>
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube <i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
</a> </a>
</li> </li>
{% else author.youtube %} {% elsif author.youtube %}
<li> <li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube <i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -220,7 +209,7 @@
{% if author.soundcloud %} {% if author.soundcloud %}
<li> <li>
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> SoundCloud <i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i><span class="label">SoundCloud</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -228,7 +217,7 @@
{% if author.weibo %} {% if author.weibo %}
<li> <li>
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo <i class="fab fa-fw fa-weibo" aria-hidden="true"></i><span class="label">Weibo</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -236,7 +225,7 @@
{% if author.flickr %} {% if author.flickr %}
<li> <li>
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr <i class="fab fa-fw fa-flickr" aria-hidden="true"></i><span class="label">Flickr</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -244,7 +233,7 @@
{% if author.codepen %} {% if author.codepen %}
<li> <li>
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen <i class="fab fa-fw fa-codepen" aria-hidden="true"></i><span class="label">CodePen</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -252,7 +241,7 @@
{% if author.vine %} {% if author.vine %}
<li> <li>
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer"> <a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
<i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine <i class="fab fa-fw fa-vine" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].email_label | default: "Email" }}</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@@ -0,0 +1,3 @@
<!-- start custom comments scripts -->
<!-- end custom comments scripts -->
+1 -1
View File
@@ -13,6 +13,6 @@
{% when "utterances" %} {% when "utterances" %}
{% include /comments-providers/utterances.html %} {% include /comments-providers/utterances.html %}
{% when "custom" %} {% when "custom" %}
{% include /comments-providers/custom.html %} {% include /comments-providers/custom_scripts.html %}
{% endcase %} {% endcase %}
{% endif %} {% endif %}
@@ -1,4 +1,4 @@
{% if site.repository and site.staticman.branch %} {% if site.repository and site.comments.staticman.branch %}
<script> <script>
(function ($) { (function ($) {
$('#new_comment').submit(function () { $('#new_comment').submit(function () {
+1 -1
View File
@@ -154,6 +154,6 @@
<h4 class="page__comments-title">{{ comments_label }}</h4> <h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="utterances-comments"></section> <section id="utterances-comments"></section>
{% when "custom" %} {% when "custom" %}
<section id="custom-comments"></section> {% include /comments-providers/custom.html %}
{% endcase %} {% endcase %}
</div> </div>
+3 -1
View File
@@ -15,5 +15,7 @@
{% endif %} {% endif %}
{%- for post in entries -%} {%- for post in entries -%}
{% include archive-single.html %} {%- unless post.hidden -%}
{% include archive-single.html %}
{%- endunless -%}
{%- endfor -%} {%- endfor -%}
+4 -16
View File
@@ -7,24 +7,12 @@
<div class="feature__wrapper"> <div class="feature__wrapper">
{% for f in feature_row %} {% for f in feature_row %}
{% if f.url contains "://" %}
{% capture f_url %}{{ f.url }}{% endcapture %}
{% else %}
{% capture f_url %}{{ f.url | relative_url }}{% endcapture %}
{% endif %}
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}"> <div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
<div class="archive__item"> <div class="archive__item">
{% if f.image_path %} {% if f.image_path %}
<div class="archive__item-teaser"> <div class="archive__item-teaser">
<img src= <img src="{{ f.image_path | relative_url }}"
{% if f.image_path contains "://" %} alt="{% if f.alt %}{{ f.alt }}{% endif %}">
"{{ f.image_path }}"
{% else %}
"{{ f.image_path | relative_url }}"
{% endif %}
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
{% if f.image_caption %} {% if f.image_caption %}
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span> <span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
{% endif %} {% endif %}
@@ -43,11 +31,11 @@
{% endif %} {% endif %}
{% if f.url %} {% if f.url %}
<p><a href="{{ f_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p> <p><a href="{{ f.url | relative_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
{% endif %} {% endif %}
</div> </div>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
+5 -8
View File
@@ -1,12 +1,9 @@
<figure class="{{ include.class }}"> <figure class="{{ include.class }}">
<img src= <img src="{{ include.image_path | relative_url }}"
{% if include.image_path contains "://" %} alt="{% if include.alt %}{{ include.alt }}{% endif %}">
"{{ include.image_path }}"
{% else %}
"{{ include.image_path | relative_url }}"
{% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %} {% if include.caption %}
<figcaption> <figcaption>
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }} {{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
</figcaption>{% endif %}</figure> </figcaption>
{% endif %}
</figure>
+7 -23
View File
@@ -19,33 +19,17 @@
<figure class="{{ gallery_layout }} {{ include.class }}"> <figure class="{{ gallery_layout }} {{ include.class }}">
{% for img in gallery %} {% for img in gallery %}
{% if img.url %} {% if img.url %}
<a href= <a href="{{ img.url | relative_url }}"
{% if img.url contains "://" %} {% if img.title %}title="{{ img.title }}"{% endif %}>
"{{ img.url }}" <img src="{{ img.image_path | relative_url }}"
{% else %} alt="{% if img.alt %}{{ img.alt }}{% endif %}">
"{{ img.url | relative_url }}"
{% endif %}
{% if img.title %}title="{{ img.title }}"{% endif %}
>
<img src=
{% if img.image_path contains "://" %}
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | relative_url }}"
{% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
</a> </a>
{% else %} {% else %}
<img src= <img src="{{ img.image_path | relative_url }}"
{% if img.image_path contains "://" %} alt="{% if img.alt %}{{ img.alt }}{% endif %}">
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | relative_url }}"
{% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% if include.caption %} {% if include.caption %}
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption> <figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
{% endif %} {% endif %}
</figure> </figure>
+1 -6
View File
@@ -31,11 +31,6 @@
{% if site.head_scripts %} {% if site.head_scripts %}
{% for script in site.head_scripts %} {% for script in site.head_scripts %}
{% if script contains "://" %} <script src="{{ script | relative_url }}"></script>
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
+2 -11
View File
@@ -1,8 +1,4 @@
{% if site.logo contains "://" %} {% capture logo_path %}{{ site.logo }}{% endcapture %}
{% capture logo_path %}{{ site.logo }}{% endcapture %}
{% else %}
{% capture logo_path %}{{ site.logo | relative_url }}{% endcapture %}
{% endif %}
<div class="masthead"> <div class="masthead">
<div class="masthead__inner-wrap"> <div class="masthead__inner-wrap">
@@ -17,13 +13,8 @@
</a> </a>
<ul class="visible-links"> <ul class="visible-links">
{%- for link in site.data.navigation.main -%} {%- for link in site.data.navigation.main -%}
{%- if link.url contains '://' -%}
{%- assign url = link.url -%}
{%- else -%}
{%- assign url = link.url | relative_url -%}
{%- endif -%}
<li class="masthead__menu-item"> <li class="masthead__menu-item">
<a href="{{ url }}" {% if link.description %}title="{{ link.description }}"{% endif %}>{{ link.title }}</a> <a href="{{ link.url | relative_url }}"{% if link.description %} title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
</li> </li>
{%- endfor -%} {%- endfor -%}
</ul> </ul>
+3 -24
View File
@@ -8,14 +8,7 @@
{% for nav in navigation %} {% for nav in navigation %}
<li> <li>
{% if nav.url %} {% if nav.url %}
{% comment %} internal/external URL check {% endcomment %} <a href="{{ nav.url | relative_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
{% if nav.url contains "://" %}
{% assign nav_url = nav.url %}
{% else %}
{% assign nav_url = nav.url | relative_url %}
{% endif %}
<a href="{{ nav_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
{% else %} {% else %}
<span class="nav__sub-title">{{ nav.title }}</span> <span class="nav__sub-title">{{ nav.title }}</span>
{% endif %} {% endif %}
@@ -23,25 +16,11 @@
{% if nav.children != null %} {% if nav.children != null %}
<ul> <ul>
{% for child in nav.children %} {% for child in nav.children %}
{% comment %} internal/external URL check {% endcomment %} <li><a href="{{ child.url | relative_url }}"{% if child.url == page.url %} class="active"{% endif %}>{{ child.title }}</a></li>
{% if child.url contains "://" %}
{% assign child_url = child.url %}
{% else %}
{% assign child_url = child.url | relative_url %}
{% endif %}
{% comment %} set "active" class on current page {% endcomment %}
{% if child.url == page.url %}
{% assign active = "active" %}
{% else %}
{% assign active = "" %}
{% endif %}
<li><a href="{{ child_url }}" class="{{ active }}">{{ child.title }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</nav> </nav>
+5
View File
@@ -0,0 +1,5 @@
{% if page.last_modified_at %}
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %-d, %Y" }}</time></p>
{% elsif page.date %}
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %-d, %Y" }}</time></p>
{% endif %}
+4 -25
View File
@@ -1,20 +1,4 @@
{% if page.header.image contains "://" %} {% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
{% capture img_path %}{{ page.header.image }}{% endcapture %}
{% else %}
{% capture img_path %}{{ page.header.image | relative_url }}{% endcapture %}
{% endif %}
{% if page.header.cta_url contains "://" %}
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
{% else %}
{% capture cta_path %}{{ page.header.cta_url | relative_url }}{% endcapture %}
{% endif %}
{% if page.header.overlay_image contains "://" %}
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
{% elsif page.header.overlay_image %}
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
{% endif %}
{% if page.header.overlay_filter contains "rgba" %} {% if page.header.overlay_filter contains "rgba" %}
{% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %} {% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %}
@@ -51,22 +35,17 @@
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p> <p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %} {% endif %}
{% if page.header.cta_url %} {% if page.header.cta_url %}
<p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p> <p><a href="{{ page.header.cta_url | relative_url }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
{% endif %} {% endif %}
{% if page.header.actions %} {% if page.header.actions %}
<p> <p>
{% for action in page.header.actions %} {% for action in page.header.actions %}
{% if action.url contains "://" %} <a href="{{ action.url | relative_url }}" class="btn btn--light-outline btn--large">{{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a>
{% assign url = action.url %}
{% else %}
{% assign url = action.url | relative_url %}
{% endif %}
<a href="{{ url }}" class="btn btn--light-outline btn--large">{{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</div> </div>
{% else %} {% else %}
<img src="{{ img_path }}" alt="{{ image_description }}" class="page__hero-image"> <img src="{{ page.header.image | relative_url }}" alt="{{ image_description }}" class="page__hero-image">
{% endif %} {% endif %}
{% if page.header.caption %} {% if page.header.caption %}
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span> <span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
+1 -1
View File
@@ -1,6 +1,6 @@
{% if paginator.total_pages > 1 %} {% if paginator.total_pages > 1 %}
<nav class="pagination"> <nav class="pagination">
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %} {% assign first_page_path = paginator.first_page_path | default: site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
<ul> <ul>
{% comment %} Link for previous page {% endcomment %} {% comment %} Link for previous page {% endcomment %}
{% if paginator.previous_page %} {% if paginator.previous_page %}
+3 -1
View File
@@ -1,3 +1,5 @@
{%- for post in site.categories[include.taxonomy] -%} {%- for post in site.categories[include.taxonomy] -%}
{% include archive-single.html %} {%- unless post.hidden -%}
{% include archive-single.html %}
{%- endunless -%}
{%- endfor -%} {%- endfor -%}
+3 -1
View File
@@ -1,3 +1,5 @@
{%- for post in site.tags[include.taxonomy] -%} {%- for post in site.tags[include.taxonomy] -%}
{% include archive-single.html %} {%- unless post.hidden -%}
{% include archive-single.html %}
{%- endunless -%}
{%- endfor -%} {%- endfor -%}
+2 -12
View File
@@ -1,11 +1,6 @@
{% if site.footer_scripts %} {% if site.footer_scripts %}
{% for script in site.footer_scripts %} {% for script in site.footer_scripts %}
{% if script contains "://" %} <script src="{{ script | relative_url }}"></script>
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
{% endfor %} {% endfor %}
{% else %} {% else %}
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script> <script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
@@ -29,11 +24,6 @@
{% if site.after_footer_scripts %} {% if site.after_footer_scripts %}
{% for script in site.after_footer_scripts %} {% for script in site.after_footer_scripts %}
{% if script contains "://" %} <script src="{{ script | relative_url }}"></script>
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
+4 -13
View File
@@ -22,7 +22,7 @@
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%} {%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
{%- if seo_description -%} {%- if seo_description -%}
{%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once -%} {%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once | strip -%}
{%- endif -%} {%- endif -%}
{%- assign author = page.author | default: page.authors[0] | default: site.author -%} {%- assign author = page.author | default: page.authors[0] | default: site.author -%}
@@ -32,22 +32,13 @@
{%- assign author_twitter = author.twitter | replace: "@", "" -%} {%- assign author_twitter = author.twitter | replace: "@", "" -%}
{%- endif -%} {%- endif -%}
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image -%} {%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image | absolute_url -%}
{%- unless page_large_image contains '://' -%}
{%- assign page_large_image = page_large_image | absolute_url -%}
{%- endunless -%}
{%- assign page_large_image = page_large_image | escape -%} {%- assign page_large_image = page_large_image | escape -%}
{%- assign page_teaser_image = page.header.teaser | default: site.og_image -%} {%- assign page_teaser_image = page.header.teaser | default: site.og_image | absolute_url -%}
{%- unless page_teaser_image contains '://' -%}
{%- assign page_teaser_image = page_teaser_image | absolute_url -%}
{%- endunless -%}
{%- assign page_teaser_image = page_teaser_image | escape -%} {%- assign page_teaser_image = page_teaser_image | escape -%}
{%- assign site_og_image = site.og_image -%} {%- assign site_og_image = site.og_image | absolute_url -%}
{%- unless site_og_image contains '://' -%}
{%- assign site_og_image = site_og_image | absolute_url -%}
{%- endunless -%}
{%- assign site_og_image = site_og_image | escape -%} {%- assign site_og_image = site_og_image | escape -%}
{%- if page.date -%} {%- if page.date -%}
+3 -8
View File
@@ -4,13 +4,8 @@
{% if page.sidebar %} {% if page.sidebar %}
{% for s in page.sidebar %} {% for s in page.sidebar %}
{% if s.image %} {% if s.image %}
<img src= <img src="{{ s.image | relative_url }}"
{% if s.image contains "://" %} alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
"{{ s.image }}"
{% else %}
"{{ s.image | relative_url }}"
{% endif %}
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
{% endif %} {% endif %}
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %} {% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
{% if s.text %}{{ s.text | markdownify }}{% endif %} {% if s.text %}{{ s.text | markdownify }}{% endif %}
@@ -21,4 +16,4 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
+2
View File
@@ -9,5 +9,7 @@
<iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe> <iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
{% elsif video_provider == "google-drive" %} {% elsif video_provider == "google-drive" %}
<iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe> <iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>
{% elsif video_provider == "bilibili" %}
<iframe src="https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
{% endif %} {% endif %}
</div> </div>
+1 -1
View File
@@ -3,7 +3,7 @@
<!doctype html> <!doctype html>
<!-- <!--
Minimal Mistakes Jekyll Theme 4.18.0 by Michael Rose Minimal Mistakes Jekyll Theme 4.19.3 by Michael Rose
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
+1 -1
View File
@@ -6,7 +6,7 @@ layout: archive
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3> <h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
{% if site.paginate %} {% if paginator %}
{% assign posts = paginator.posts %} {% assign posts = paginator.posts %}
{% else %} {% else %}
{% assign posts = site.posts %} {% assign posts = site.posts %}
+1 -5
View File
@@ -51,11 +51,7 @@ layout: default
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4> <h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
{% endif %} {% endif %}
{% include page__taxonomy.html %} {% include page__taxonomy.html %}
{% if page.last_modified_at %} {% include page__date.html %}
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %-d, %Y" }}</time></p>
{% elsif page.date %}
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %-d, %Y" }}</time></p>
{% endif %}
</footer> </footer>
{% if page.share %}{% include social-share.html %}{% endif %} {% if page.share %}{% include social-share.html %}{% endif %}
+1 -1
View File
@@ -1,5 +1,5 @@
/*! /*!
* Minimal Mistakes Jekyll Theme 4.18.0 by Michael Rose * Minimal Mistakes Jekyll Theme 4.19.3 by Michael Rose
* Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes * Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE) * Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
*/ */
+6 -6
View File
@@ -35,27 +35,27 @@ h6 {
h1 { h1 {
margin-top: 0; margin-top: 0;
font-size: $type-size-3; font-size: $h-size-1;
} }
h2 { h2 {
font-size: $type-size-4; font-size: $h-size-2;
} }
h3 { h3 {
font-size: $type-size-5; font-size: $h-size-3;
} }
h4 { h4 {
font-size: $type-size-6; font-size: $h-size-4;
} }
h5 { h5 {
font-size: $type-size-6; font-size: $h-size-5;
} }
h6 { h6 {
font-size: $type-size-6; font-size: $h-size-6;
} }
small, small,
+1 -1
View File
@@ -107,6 +107,7 @@ input[type="radio"] {
cursor: pointer; cursor: pointer;
border-radius: 0; border-radius: 0;
border: 0 \9; border: 0 \9;
box-shadow: none;
} }
input[type="checkbox"], input[type="checkbox"],
@@ -119,7 +120,6 @@ input[type="radio"] {
input[type="image"] { input[type="image"] {
border: 0; border: 0;
box-shadow: none;
} }
input[type="file"] { input[type="file"] {
+1 -1
View File
@@ -50,7 +50,7 @@
-ms-flex-item-align: center; -ms-flex-item-align: center;
align-self: center; align-self: center;
font-weight: bold; font-weight: bold;
z-index: 20; // z-index: 20;
} }
.site-subtitle { .site-subtitle {
+3 -3
View File
@@ -352,11 +352,11 @@ body {
.taxonomy__title { .taxonomy__title {
margin-bottom: 0.5em; margin-bottom: 0.5em;
color: lighten($text-color, 60%); color: $muted-text-color;
} }
.taxonomy__count { .taxonomy__count {
color: lighten($text-color, 50%); color: $muted-text-color;
} }
.taxonomy__index { .taxonomy__index {
@@ -389,7 +389,7 @@ body {
.back-to-top { .back-to-top {
display: block; display: block;
clear: both; clear: both;
color: lighten($text-color, 50%); color: $muted-text-color;
font-size: 0.6em; font-size: 0.6em;
text-transform: uppercase; text-transform: uppercase;
text-align: right; text-align: right;
+40 -11
View File
@@ -8,13 +8,13 @@
.sidebar { .sidebar {
@include clearfix(); @include clearfix();
@include breakpoint(max-width $large) { // @include breakpoint(max-width $large) {
/* fix z-index order of follow links */ // /* fix z-index order of follow links */
position: relative; // position: relative;
z-index: 10; // z-index: 10;
-webkit-transform: translate3d(0, 0, 0); // -webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0); // transform: translate3d(0, 0, 0);
} // }
@include breakpoint($large) { @include breakpoint($large) {
float: left; float: left;
@@ -32,7 +32,7 @@
/* calculate height of nav list /* calculate height of nav list
viewport height - nav height - masthead x-padding viewport height - nav height - masthead x-padding
*/ */
height: calc(100vh - #{$nav-height} - 2em); max-height: calc(100vh - #{$nav-height} - 2em);
} }
} }
@@ -63,7 +63,7 @@
img { img {
width: 100%; width: 100%;
&.emoji { &.emoji {
width: 20px; width: 20px;
height: 20px; height: 20px;
@@ -184,7 +184,7 @@
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
font-family: $sans-serif; font-family: $sans-serif;
z-index: 10; z-index: 20;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
@@ -194,13 +194,38 @@
} }
} }
.author__urls {
span.label {
padding-left: 5px;
}
}
@include breakpoint($large) { @include breakpoint($large) {
display: block; display: block;
} }
button { button {
position: relative;
margin-bottom: 0; margin-bottom: 0;
&:before {
@supports (pointer-events: none) {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
}
&.open {
&:before {
pointer-events: auto;
}
}
@include breakpoint($large) { @include breakpoint($large) {
display: none; display: none;
} }
@@ -217,7 +242,6 @@
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: $border-radius; border-radius: $border-radius;
background: $background-color; background: $background-color;
z-index: -1;
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12); box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
cursor: default; cursor: default;
@@ -269,6 +293,11 @@
} }
} }
ul {
padding: 10px;
list-style-type: none;
}
li { li {
white-space: nowrap; white-space: nowrap;
} }
+27
View File
@@ -385,6 +385,33 @@ body:hover .visually-hidden button {
} }
} }
.greedy-nav__toggle {
&:before {
@supports (pointer-events: none) {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
background-color: $background-color;
-webkit-transition: $global-transition;
transition: $global-transition;
pointer-events: none;
}
}
&.close {
&:before {
opacity: 0.9;
-webkit-transition: $global-transition;
transition: $global-transition;
pointer-events: auto;
}
}
}
.greedy-nav__toggle:hover { .greedy-nav__toggle:hover {
.navicon, .navicon,
.navicon:before, .navicon:before,
+11 -3
View File
@@ -43,12 +43,20 @@ $type-size-6: 0.75em !default; // ~12px
$type-size-7: 0.6875em !default; // ~11px $type-size-7: 0.6875em !default; // ~11px
$type-size-8: 0.625em !default; // ~10px $type-size-8: 0.625em !default; // ~10px
/* headline scale */
$h-size-1: 1.563em !default; // ~25.008px
$h-size-2: 1.25em !default; // ~20px
$h-size-3: 1.125em !default; // ~18px
$h-size-4: 1.0625em !default; // ~17px
$h-size-5: 1.03125em !default; // ~16.5px
$h-size-6: 1em !default; // ~16px
/* /*
Colors Colors
========================================================================== */ ========================================================================== */
$gray: #7a8288 !default; $gray: #7a8288 !default;
$dark-gray: mix(#000, $gray, 40%) !default; $dark-gray: mix(#000, $gray, 50%) !default;
$darker-gray: mix(#000, $gray, 60%) !default; $darker-gray: mix(#000, $gray, 60%) !default;
$light-gray: mix(#fff, $gray, 50%) !default; $light-gray: mix(#fff, $gray, 50%) !default;
$lighter-gray: mix(#fff, $gray, 90%) !default; $lighter-gray: mix(#fff, $gray, 90%) !default;
@@ -57,7 +65,7 @@ $background-color: #fff !default;
$code-background-color: #fafafa !default; $code-background-color: #fafafa !default;
$code-background-color-dark: $light-gray !default; $code-background-color-dark: $light-gray !default;
$text-color: $dark-gray !default; $text-color: $dark-gray !default;
$muted-text-color: mix(#fff, $text-color, 35%) !default; $muted-text-color: mix(#fff, $text-color, 20%) !default;
$border-color: $lighter-gray !default; $border-color: $lighter-gray !default;
$form-background-color: $lighter-gray !default; $form-background-color: $lighter-gray !default;
$footer-background-color: $lighter-gray !default; $footer-background-color: $lighter-gray !default;
@@ -103,7 +111,7 @@ $youtube-color: #bb0000 !default;
$xing-color: #006567 !default; $xing-color: #006567 !default;
/* links */ /* links */
$link-color: mix(#000, $info-color, 15%) !default; $link-color: mix(#000, $info-color, 20%) !default;
$link-color-hover: mix(#000, $link-color, 25%) !default; $link-color-hover: mix(#000, $link-color, 25%) !default;
$link-color-visited: mix(#fff, $link-color, 15%) !default; $link-color-visited: mix(#fff, $link-color, 15%) !default;
$masthead-link-color: $primary-color !default; $masthead-link-color: $primary-color !default;
+1 -6
View File
@@ -43,12 +43,7 @@ var store = [
"categories": {{ doc.categories | jsonify }}, "categories": {{ doc.categories | jsonify }},
"tags": {{ doc.tags | jsonify }}, "tags": {{ doc.tags | jsonify }},
"url": {{ doc.url | absolute_url | jsonify }}, "url": {{ doc.url | absolute_url | jsonify }},
"teaser": "teaser": {{ teaser | absolute_url | jsonify }}
{%- if teaser contains "://" -%}
{{ teaser | jsonify }}
{%- else -%}
{{ teaser | absolute_url | jsonify }}
{%- endif -%}
}{%- unless forloop.last and l -%},{%- endunless -%} }{%- unless forloop.last and l -%},{%- endunless -%}
{%- endfor -%} {%- endfor -%}
{%- endfor -%}] {%- endfor -%}]
+3 -3
View File
File diff suppressed because one or more lines are too long
+23 -32
View File
@@ -1,10 +1,11 @@
/* /*
GreedyNav.js - https://github.com/lukejacksonn/GreedyNav GreedyNav.js - http://lukejacksonn.com/actuate
Licensed under the MIT license - http://opensource.org/licenses/MIT Licensed under the MIT license - http://opensource.org/licenses/MIT
Copyright (c) 2015 Luke Jackson Copyright (c) 2015 Luke Jackson
*/ */
$(document).ready(function() { $(function() {
var $btn = $("nav.greedy-nav .greedy-nav__toggle"); var $btn = $("nav.greedy-nav .greedy-nav__toggle");
var $vlinks = $("nav.greedy-nav .visible-links"); var $vlinks = $("nav.greedy-nav .visible-links");
var $hlinks = $("nav.greedy-nav .hidden-links"); var $hlinks = $("nav.greedy-nav .hidden-links");
@@ -24,35 +25,28 @@ $(document).ready(function() {
var availableSpace, numOfVisibleItems, requiredSpace, timer; var availableSpace, numOfVisibleItems, requiredSpace, timer;
function check() { function check() {
// Get instant state // Get instant state
availableSpace = $vlinks.width() - $btn.width(); availableSpace = $vlinks.width() - 10;
numOfVisibleItems = $vlinks.children().length; numOfVisibleItems = $vlinks.children().length;
requiredSpace = breakWidths[numOfVisibleItems - 1]; requiredSpace = breakWidths[numOfVisibleItems - 1];
// There is not enough space // There is not enought space
if (requiredSpace > availableSpace) { if (requiredSpace > availableSpace) {
$vlinks $vlinks.children().last().prependTo($hlinks);
.children()
.last()
.prependTo($hlinks);
numOfVisibleItems -= 1; numOfVisibleItems -= 1;
check(); check();
// There is more than enough space // There is more than enough space
} else if (availableSpace > breakWidths[numOfVisibleItems]) { } else if (availableSpace > breakWidths[numOfVisibleItems]) {
$hlinks $hlinks.children().first().appendTo($vlinks);
.children()
.first()
.appendTo($vlinks);
numOfVisibleItems += 1; numOfVisibleItems += 1;
check(); check();
} }
// Update the button accordingly // Update the button accordingly
$btn.attr("count", numOfItems - numOfVisibleItems); $btn.attr("count", numOfItems - numOfVisibleItems);
if (numOfVisibleItems === numOfItems) { if (numOfVisibleItems === numOfItems) {
$btn.addClass("hidden"); $btn.addClass('hidden');
} else { } else $btn.removeClass('hidden');
$btn.removeClass("hidden");
}
} }
// Window listeners // Window listeners
@@ -60,24 +54,21 @@ $(document).ready(function() {
check(); check();
}); });
$btn.on("click", function() { $btn.on('click', function() {
$hlinks.toggleClass("hidden"); $hlinks.toggleClass('hidden');
$(this).toggleClass("close");
clearTimeout(timer); clearTimeout(timer);
}); });
$hlinks $hlinks.on('mouseleave', function() {
.on("mouseleave", function() { // Mouse has left, start the timer
// Mouse has left, start the timer timer = setTimeout(function() {
timer = setTimeout(function() { $hlinks.addClass('hidden');
$hlinks.addClass("hidden"); }, closingTime);
$btn.toggleClass("close"); }).on('mouseenter', function() {
}, closingTime); // Mouse is back, cancel the timer
}) clearTimeout(timer);
.on("mouseenter", function() { })
// Mouse is back, cancel the timer
clearTimeout(timer);
});
check(); check();
});
});
+30 -12
View File
@@ -1,7 +1,7 @@
/*! /*!
* smooth-scroll v15.2.1 * smooth-scroll v16.1.2
* Animate scrolling to anchor links * Animate scrolling to anchor links
* (c) 2019 Chris Ferdinandi * (c) 2020 Chris Ferdinandi
* MIT License * MIT License
* http://github.com/cferdinandi/smooth-scroll * http://github.com/cferdinandi/smooth-scroll
*/ */
@@ -90,7 +90,7 @@
* Check to see if user prefers reduced motion * Check to see if user prefers reduced motion
* @param {Object} settings Script settings * @param {Object} settings Script settings
*/ */
var reduceMotion = function (settings) { var reduceMotion = function () {
if ('matchMedia' in window && window.matchMedia('(prefers-reduced-motion)').matches) { if ('matchMedia' in window && window.matchMedia('(prefers-reduced-motion)').matches) {
return true; return true;
} }
@@ -486,6 +486,12 @@
// Update the URL // Update the URL
updateURL(anchor, isNum, _settings); updateURL(anchor, isNum, _settings);
// If the user prefers reduced motion, jump to location
if (reduceMotion()) {
window.scrollTo(0, Math.floor(endLocation));
return;
}
// Emit a custom event // Emit a custom event
emitEvent('scrollStart', _settings, anchor, toggle); emitEvent('scrollStart', _settings, anchor, toggle);
@@ -500,15 +506,16 @@
*/ */
var clickHandler = function (event) { var clickHandler = function (event) {
// Don't run if the user prefers reduced motion // Don't run if event was canceled but still bubbled up
if (reduceMotion(settings)) return; // By @mgreter - https://github.com/cferdinandi/smooth-scroll/pull/462/
if (event.defaultPrevented) return;
// Don't run if right-click or command/control + click // Don't run if right-click or command/control + click or shift + click
if (event.button !== 0 || event.metaKey || event.ctrlKey) return; if (event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey) return;
// Check if event.target has closest() method // Check if event.target has closest() method
// By @totegi - https://github.com/cferdinandi/smooth-scroll/pull/401/ // By @totegi - https://github.com/cferdinandi/smooth-scroll/pull/401/
if(!('closest' in event.target))return; if (!('closest' in event.target)) return;
// Check if a smooth scroll link was clicked // Check if a smooth scroll link was clicked
toggle = event.target.closest(selector); toggle = event.target.closest(selector);
@@ -518,10 +525,21 @@
if (toggle.hostname !== window.location.hostname || toggle.pathname !== window.location.pathname || !/#/.test(toggle.href)) return; if (toggle.hostname !== window.location.hostname || toggle.pathname !== window.location.pathname || !/#/.test(toggle.href)) return;
// Get an escaped version of the hash // Get an escaped version of the hash
var hash = escapeCharacters(toggle.hash); var hash;
try {
hash = escapeCharacters(decodeURIComponent(toggle.hash));
} catch(e) {
hash = escapeCharacters(toggle.hash);
}
// Get the anchored element // Get the anchored element
var anchor = settings.topOnEmptyHash && hash === '#' ? document.documentElement : document.querySelector(hash); var anchor;
if (hash === '#') {
if (!settings.topOnEmptyHash) return;
anchor = document.documentElement;
} else {
anchor = document.querySelector(hash);
}
anchor = !anchor && hash === '#top' ? document.documentElement : anchor; anchor = !anchor && hash === '#top' ? document.documentElement : anchor;
// If anchored element exists, scroll to it // If anchored element exists, scroll to it
@@ -589,7 +607,7 @@
* Initialize Smooth Scroll * Initialize Smooth Scroll
* @param {Object} options User settings * @param {Object} options User settings
*/ */
smoothScroll.init = function (options) { var init = function () {
// feature test // feature test
if (!supports()) throw 'Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.'; if (!supports()) throw 'Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.';
@@ -616,7 +634,7 @@
// Initialize plugin // Initialize plugin
// //
smoothScroll.init(options); init();
// //
+1 -18
View File
@@ -5,7 +5,7 @@
# For technical reasons, this file is *NOT* reloaded automatically when you use # For technical reasons, this file is *NOT* reloaded automatically when you use
# `jekyll serve`. If you change this file, please restart the server process. # `jekyll serve`. If you change this file, please restart the server process.
remote_theme : "mmistakes/minimal-mistakes" remote_theme : "mmistakes/minimal-mistakes@4.19.2"
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise" minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
@@ -38,23 +38,6 @@ comments:
utterances: utterances:
theme : # "github-light" (default), "github-dark" theme : # "github-light" (default), "github-dark"
issue_term : # "pathname" (default) issue_term : # "pathname" (default)
staticman:
allowedFields : # ['name', 'email', 'url', 'message']
branch : # "master"
commitMessage : # "New comment by {fields.name}"
filename : # comment-{@timestamp}
format : # "yml"
moderation : # true
path : # "_data/comments/{options.slug}"
requiredFields : # ['name', 'email', 'message']
transforms:
email : # "md5"
generatedFields:
date:
type : # "date"
options:
format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance
reCaptcha: reCaptcha:
siteKey : # "6LdRBykTAAAAAFB46MnIu6ixuxwu9W1ihFF8G60Q" siteKey : # "6LdRBykTAAAAAFB46MnIu6ixuxwu9W1ihFF8G60Q"
secret : # "PznnZGu3P6eTHRPLORniSq+J61YEf+A9zmColXDM5icqF49gbunH51B8+h+i2IvewpuxtA9TFoK68TuhUp/X3YKmmqhXasegHYabY50fqF9nJh9npWNhvITdkQHeaOqnFXUIwxfiEeUt49Yoa2waRR7a5LdRAP3SVM8hz0KIBT4=" secret : # "PznnZGu3P6eTHRPLORniSq+J61YEf+A9zmColXDM5icqF49gbunH51B8+h+i2IvewpuxtA9TFoK68TuhUp/X3YKmmqhXasegHYabY50fqF9nJh9npWNhvITdkQHeaOqnFXUIwxfiEeUt49Yoa2waRR7a5LdRAP3SVM8hz0KIBT4="
+8 -8
View File
@@ -2,7 +2,7 @@
title: "Quick-Start Guide" title: "Quick-Start Guide"
permalink: /docs/quick-start-guide/ permalink: /docs/quick-start-guide/
excerpt: "How to quickly install and setup Minimal Mistakes for use with GitHub Pages." excerpt: "How to quickly install and setup Minimal Mistakes for use with GitHub Pages."
last_modified_at: 2019-08-20T21:36:11-04:00 last_modified_at: 2020-04-27
redirect_from: redirect_from:
- /theme-setup/ - /theme-setup/
toc: true toc: true
@@ -16,7 +16,7 @@ Minimal Mistakes has been developed as a [Gem-based theme](http://jekyllrb.com/d
## Installing the theme ## Installing the theme
If you're running Jekyll v3.5+ and self-hosting you can quickly install the theme as a Ruby gem. If you're running Jekyll v3.7+ and self-hosting you can quickly install the theme as a Ruby gem.
[^structure]: See [**Structure** page]({{ "/docs/structure/" | relative_url }}) for a list of theme files and what they do. [^structure]: See [**Structure** page]({{ "/docs/structure/" | relative_url }}) for a list of theme files and what they do.
@@ -38,7 +38,7 @@ To install as a Gem-based theme:
gem "minimal-mistakes-jekyll" gem "minimal-mistakes-jekyll"
``` ```
2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command: 2. Fetch and update bundled gems by running the following [Bundler](https://bundler.io/) command:
```bash ```bash
bundle bundle
@@ -68,17 +68,17 @@ To install as a remote theme:
2. Add `jekyll-include-cache` to the `plugins` array of your `_config.yml`. 2. Add `jekyll-include-cache` to the `plugins` array of your `_config.yml`.
3. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command: 3. Fetch and update bundled gems by running the following [Bundler](https://bundler.io/) command:
```bash ```bash
bundle bundle
``` ```
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.18.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry. 4. Add `remote_theme: "mmistakes/minimal-mistakes@4.19.3"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
You may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref (e.g., `mmistakes/minimal-mistakes@4.9.0` or `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). This is useful when rolling back to older versions of the theme. If you don't specify a Git ref, the latest on `master` will be used. You may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref (e.g., `mmistakes/minimal-mistakes@4.9.0` or `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). This is useful when rolling back to older versions of the theme. If you don't specify a Git ref, the latest on `master` will be used.
**Looking for an example?** Fork the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter) for the quickest method of getting a GitHub Pages hosted site up and running. Replace sample content with your own and configure as needed. **Looking for an example?** Use the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter/generate) for the quickest method of getting a GitHub Pages hosted site up and running. Generate a new repository from the starter, replace sample content with your own, and configure as needed.
{: .notice--info} {: .notice--info}
--- ---
@@ -169,7 +169,7 @@ Start by removing the following folders and any files within them:
| └── js | └── js
``` ```
You won't need these anymore as they're bundled with the theme gem --- unless you intend to [override them](http://jekyllrb.com/docs/themes/#overriding-theme-defaults). You won't need these anymore as they're bundled with the theme gem --- unless you intend to [override them](https://jekyllrb.com/docs/themes/#overriding-theme-defaults).
**Note:** When clearing out the `assets` folder be sure to leave any files you've added and need. This includes images, CSS, or JavaScript that aren't already [bundled in the theme](https://github.com/mmistakes/minimal-mistakes/tree/master/assets). **Note:** When clearing out the `assets` folder be sure to leave any files you've added and need. This includes images, CSS, or JavaScript that aren't already [bundled in the theme](https://github.com/mmistakes/minimal-mistakes/tree/master/assets).
{: .notice--warning} {: .notice--warning}
@@ -177,7 +177,7 @@ You won't need these anymore as they're bundled with the theme gem --- unless yo
From `v4.5.0` onwards, you don't have to maintain a copy of the default data files viz. `_data/ui-text.yml` and `_data/navigation.yml` either. From `v4.5.0` onwards, you don't have to maintain a copy of the default data files viz. `_data/ui-text.yml` and `_data/navigation.yml` either.
The default files are read-in automatically via the [`jekyll-data`](https://github.com/ashmaroli/jekyll-data) plugin. The default files are read-in automatically via the [`jekyll-data`](https://github.com/ashmaroli/jekyll-data) plugin.
If you customized any of these files leave them alone, and only remove the untouched ones. If done correctly your modified versions should [override](http://jekyllrb.com/docs/themes/#overriding-theme-defaults) the versions bundled with the theme and be used by Jekyll instead. If you customized any of these files leave them alone, and only remove the untouched ones. If done correctly your modified versions should [override](https://jekyllrb.com/docs/themes/#overriding-theme-defaults) the versions bundled with the theme and be used by Jekyll instead.
#### Update Gemfile #### Update Gemfile
+4 -4
View File
@@ -12,8 +12,8 @@ To check which version you are currently using, view the source of your built si
``` ```
<!-- <!--
Minimal Mistakes Jekyll Theme 4.18.0 by Michael Rose Minimal Mistakes Jekyll Theme 4.19.3 by Michael Rose
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
--> -->
@@ -28,14 +28,14 @@ Simply run `bundle update` if you're using Bundler (have a `Gemfile`) or `gem up
When using Bundler you can downgrade or lock the theme to a specific release ([tag](https://github.com/mmistakes/minimal-mistakes/tags)), branch, or commit. Instead of `gem "minimal-mistakes-jekyll"` you'd add the following to your `Gemfile`: When using Bundler you can downgrade or lock the theme to a specific release ([tag](https://github.com/mmistakes/minimal-mistakes/tags)), branch, or commit. Instead of `gem "minimal-mistakes-jekyll"` you'd add the following to your `Gemfile`:
```ruby ```ruby
gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.18.0" gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.19.3"
``` ```
For more information on [installing gems from git repositories](http://bundler.io/v1.16/guides/git.html) consult Bundler's documentation. For more information on [installing gems from git repositories](http://bundler.io/v1.16/guides/git.html) consult Bundler's documentation.
## Remote theme ## Remote theme
When setting `remote_theme: "mmistakes/minimal-mistakes@4.18.0"` in your `_config.yml` you may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref. When setting `remote_theme: "mmistakes/minimal-mistakes@4.19.3"` in your `_config.yml` you may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref.
For example you can roll back to release 4.8.1 with `mmistakes/minimal-mistakes@4.8.1` or a specific commit with `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). For a complete list of theme versions consult the [releases page](https://github.com/mmistakes/minimal-mistakes/releases). For example you can roll back to release 4.8.1 with `mmistakes/minimal-mistakes@4.8.1` or a specific commit with `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). For a complete list of theme versions consult the [releases page](https://github.com/mmistakes/minimal-mistakes/releases).
+33 -10
View File
@@ -157,7 +157,7 @@ _Example:_ `description: "A flexible Jekyll theme for your blog or site with a m
### Site URL ### Site URL
The base hostname and protocol for your site. If you're hosting with GitHub Pages this will be something like `url: "https://github.io.mmistakes"` or `url: "https://mademistakes.com"` if you have a custom domain name. The base hostname and protocol for your site. If you're hosting with GitHub Pages this will be something like `url: "https://mmistakes.github.io"` or `url: "https://mademistakes.com"` if you have a custom domain name.
GitHub Pages now [forces `https://` for new sites](https://help.github.com/articles/securing-your-github-pages-site-with-https/) so be mindful of that when setting your URL to avoid mixed-content warnings. GitHub Pages now [forces `https://` for new sites](https://help.github.com/articles/securing-your-github-pages-site-with-https/) so be mindful of that when setting your URL to avoid mixed-content warnings.
@@ -374,7 +374,7 @@ repository: # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
**Note:** Make sure the repo is public, otherwise your readers will not be able to view the issues/comments. The [issues feature](https://guides.github.com/features/issues/) also needs to be active on your repo. **Note:** Make sure the repo is public, otherwise your readers will not be able to view the issues/comments. The [issues feature](https://guides.github.com/features/issues/) also needs to be active on your repo.
{: .notice--warning} {: .notice--warning}
To enable utterances on the front end set `comments.provider` and the color theme of the widget. To enable utterances on the front end set `comments.provider` and the color theme of the widget.
```yaml ```yaml
comments: comments:
@@ -533,7 +533,7 @@ To enable site-wide search add `search: true` to your `_config.yml`.
#### Lunr (default) #### Lunr (default)
The default search uses [**Lunr**](https://lunrjs.com/) to build a search index of all your documents. This method is 100% compatible with sites hosted on GitHub Pages. The default search uses [**Lunr**](https://lunrjs.com/) to build a search index of all post and your documents in collections. This method is 100% compatible with sites hosted on GitHub Pages.
**Note:** Only the first 50 words of a post or page's body content is added to the Lunr search index. Setting `search_full_content` to `true` in your `_config.yml` will override this and could impact page load performance. **Note:** Only the first 50 words of a post or page's body content is added to the Lunr search index. Setting `search_full_content` to `true` in your `_config.yml` will override this and could impact page load performance.
{: .notice--warning} {: .notice--warning}
@@ -600,13 +600,13 @@ Add a Google search box to your site.
1. Create a **New search engine** in [Google Custom Search Engine](https://cse.google.com/cse/all), give it an appropriate name and setup "Sites to search" to your liking. 1. Create a **New search engine** in [Google Custom Search Engine](https://cse.google.com/cse/all), give it an appropriate name and setup "Sites to search" to your liking.
2. Under **Look and feel** choose the "Results only" layout and a theme (*Minimalist* is a good choice to match the default look of the Minimal Mistakes). 2. Under **Look and feel** choose the "Results only" layout and a theme (*Minimalist* is a good choice to match the default look of the Minimal Mistakes).
![Google Custom Search Engine layout]({{ '/assets/images/google-custom-search-engine-layout.png' | relative_url }}) ![Google Custom Search Engine layout]({{ '/assets/images/google-custom-search-engine-layout.png' | relative_url }})
3. Select "Save & Get Code" and grab your search engine ID from the line that begins with `var cx = 'YOUR_SEARCH_ENGINE_ID'`. 3. Select "Save & Get Code" and grab your search engine ID from the line that begins with `var cx = 'YOUR_SEARCH_ENGINE_ID'`.
4. Add your search engine ID to `_config.yml` like so: 4. Add your search engine ID to `_config.yml` like so:
```yaml ```yaml
google: google:
search_engine_id: YOUR_SEARCH_ENGINE_ID search_engine_id: YOUR_SEARCH_ENGINE_ID
@@ -747,10 +747,9 @@ social:
name: # If the user or organization name differs from the site's name name: # If the user or organization name differs from the site's name
links: links:
- "https://twitter.com/yourTwitter" - "https://twitter.com/yourTwitter"
- "https://facebook.com/yourFacebook" - "https://www.facebook.com/yourFacebook"
- "https://instagram.com/yourProfile" - "https://instagram.com/yourProfile"
- "https://www.linkedin.com/in/yourprofile" - "https://www.linkedin.com/in/yourprofile"
- "https://plus.google.com/your_profile"
``` ```
#### Analytics #### Analytics
@@ -794,7 +793,7 @@ author:
name : "Your Name" name : "Your Name"
avatar : "/assets/images/bio-photo.jpg" avatar : "/assets/images/bio-photo.jpg"
bio : "My awesome biography constrained to a sentence or two goes here." bio : "My awesome biography constrained to a sentence or two goes here."
location : "Somewhere, USA" location : "Somewhere, USA"
``` ```
Author links are all optional, include the ones you want visible under the `author.links` array. Author links are all optional, include the ones you want visible under the `author.links` array.
@@ -935,12 +934,12 @@ The paginator only works on files with name `index.html`. To use pagination in a
paginate_path: /recent/page:num/ paginate_path: /recent/page:num/
``` ```
**Please note:** When using Jekyll's default [pagination plugin](http://jekyllrb.com/docs/pagination/) `paginator.posts` can only be called once. If you're looking for something more powerful that can paginate category, tag, and collection pages I suggest [**jekyll-paginate-v2**](https://github.com/sverrirs/jekyll-paginate-v2). **Please note:** When using Jekyll's default [pagination plugin](https://jekyllrb.com/docs/pagination/) `paginator.posts` can only be called once. If you're looking for something more powerful that can paginate category, tag, and collection pages I suggest [**jekyll-paginate-v2**](https://github.com/sverrirs/jekyll-paginate-v2).
{: .notice--info} {: .notice--info}
### Timezone ### Timezone
This sets the timezone environment variable, which Ruby uses to handle time and date creation and manipulation. Any entry from the [IANA Time Zone Database](http://en.wikipedia.org/wiki/List_of_tz_database_time_zones) is valid. The default is the local time zone, as set by your operating system. This sets the timezone environment variable, which Ruby uses to handle time and date creation and manipulation. Any entry from the [IANA Time Zone Database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) is valid. The default is the local time zone, as set by your operating system.
```yaml ```yaml
timezone: America/New_York timezone: America/New_York
@@ -1030,6 +1029,30 @@ jekyll-archives:
**Note:** The `archive-taxonomy` layout used by jekyll-archives is provided with the theme and can be found in the `_layouts` folder. **Note:** The `archive-taxonomy` layout used by jekyll-archives is provided with the theme and can be found in the `_layouts` folder.
{: .notice--info} {: .notice--info}
<div class="notice--success" markdown="1">
<h4 class="no_toc"><i class="fas fa-lightbulb"></i> Tip</h4>
To apply [Front Matter defaults](https://jekyllrb.com/docs/configuration/front-matter-defaults/) to pages generated by the `jekyll-archives` plugin, you can specify a scope of an empty `path` and a `type` of either `tag` or `category`.
For example, the following configuration enables author profile on tag archives and disables comments on category archives.
```yaml
defaults:
- scope:
path: ""
type: tag
values:
author_profile: true
- scope:
path: ""
type: category
values:
comments: false
```
</div>
## HTML compression ## HTML compression
If you care at all about performance (and really who doesn't) compressing the HTML files generated by Jekyll is a good thing to do. If you care at all about performance (and really who doesn't) compressing the HTML files generated by Jekyll is a good thing to do.
+2 -2
View File
@@ -9,7 +9,7 @@ When installing the theme as a Ruby Gem its layouts, includes, stylesheets, and
Each of these files can be modified, but you'll need to copy the default version into your project first. For example, if you wanted to modify the default [`single` layout](https://github.com/mmistakes/minimal-mistakes/blob/master/_layouts/single.html), you'd start by copying it to `_layouts/single.html`. Each of these files can be modified, but you'll need to copy the default version into your project first. For example, if you wanted to modify the default [`single` layout](https://github.com/mmistakes/minimal-mistakes/blob/master/_layouts/single.html), you'd start by copying it to `_layouts/single.html`.
**ProTip**: To locate theme files, run `bundle show minimal-mistakes-jekyll`. Then copy the files you want to override from the returned path, to the appropriate folder in your project. **ProTip**: To locate theme files, run `bundle info minimal-mistakes-jekyll`. Then copy the files you want to override from the returned path, to the appropriate folder in your project.
{: .notice--info} {: .notice--info}
Jekyll will use the files in your project first before falling back to the default versions of the theme. It exhibits this behavior with files in the following folders: Jekyll will use the files in your project first before falling back to the default versions of the theme. It exhibits this behavior with files in the following folders:
@@ -24,4 +24,4 @@ Jekyll will use the files in your project first before falling back to the defau
Additionally, from `v4.5.0` the theme-gem will also exhibit above behavior for `/_data` via a plugin. Additionally, from `v4.5.0` the theme-gem will also exhibit above behavior for `/_data` via a plugin.
Consequently, the data files for UI Text and Navigation are also bundled within the theme-gem. Consequently, the data files for UI Text and Navigation are also bundled within the theme-gem.
For more information on customizing the theme's [stylesheets]({{ "/docs/stylesheets/" | relative_url }}) and [JavaScript]({{ "/docs/javascript/" | relative_url }}), see the appropriate pages. For more information on customizing the theme's [stylesheets]({{ "/docs/stylesheets/" | relative_url }}) and [JavaScript]({{ "/docs/javascript/" | relative_url }}), see the appropriate pages.
+4 -1
View File
@@ -2,7 +2,7 @@
title: "UI Text" title: "UI Text"
permalink: /docs/ui-text/ permalink: /docs/ui-text/
excerpt: "Text for customizing user interface elements found in the theme." excerpt: "Text for customizing user interface elements found in the theme."
last_modified_at: 2019-08-27T15:45:54-04:00 last_modified_at: 2020-05-01T10:15:37-04:00
--- ---
Text for UI elements, `_layouts`, and `_includes` grouped together as a set of translation keys. This is by no means a full-on i18n solution, but it does help make customizing theme text a bit easier. Text for UI elements, `_layouts`, and `_includes` grouped together as a set of translation keys. This is by no means a full-on i18n solution, but it does help make customizing theme text a bit easier.
@@ -14,15 +14,18 @@ The English[^yaml-anchors] main keys in [`_data/ui-text.yml`](https://github.com
- Chinese - Chinese
- Danish - Danish
- Dutch - Dutch
- Finnish
- French (Français) - French (Français)
- German (Deutsch) - German (Deutsch)
- Greek - Greek
- Hungarian - Hungarian
- Indonesian - Indonesian
- Irish (Gaeilge)
- Italian (Italiano) - Italian (Italiano)
- Korean - Korean
- Japanese - Japanese
- Malayalam - Malayalam
- Myanmar (Burmese)
- Nepali (Nepalese) - Nepali (Nepalese)
- Polish - Polish
- Persian (فارسی) - Persian (فارسی)
+3 -3
View File
@@ -7,7 +7,7 @@ single_layout_gallery:
alt: "single layout with header example" alt: "single layout with header example"
- image_path: /assets/images/mm-layout-single-meta.png - image_path: /assets/images/mm-layout-single-meta.png
alt: "single layout with comments and related posts" alt: "single layout with comments and related posts"
last_modified_at: 2020-01-07T13:14:09-05:00 last_modified_at: 2020-03-06T15:47:42-05:00
toc: true toc: true
toc_label: "Included Layouts" toc_label: "Included Layouts"
toc_icon: "columns" toc_icon: "columns"
@@ -733,8 +733,8 @@ Under the `$social` color map in `assets/_scss/_buttons.scss` simply add a name
$social: $social:
(facebook, $facebook-color), (facebook, $facebook-color),
(twitter, $twitter-color), (twitter, $twitter-color),
(linkedin, $linkedin-color); (linkedin, $linkedin-color),
(reddit, #ff4500;) (reddit, #ff4500);
``` ```
**ProTip:** For bonus points you can add it as a Sass `$variable` that you set in `_variables.scss` like the other ["brand" colors](http://brandcolors.net/). **ProTip:** For bonus points you can add it as a Sass `$variable` that you set in `_variables.scss` like the other ["brand" colors](http://brandcolors.net/).
+3 -3
View File
@@ -30,7 +30,7 @@ feature_row:
- image_path: /assets/images/unsplash-gallery-image-3-th.jpg - image_path: /assets/images/unsplash-gallery-image-3-th.jpg
title: "Placeholder 3" title: "Placeholder 3"
excerpt: "This is some sample content that goes here with **Markdown** formatting." excerpt: "This is some sample content that goes here with **Markdown** formatting."
last_modified_at: 2018-11-25T20:47:01-05:00 last_modified_at: 2020-05-01T10:22:56-04:00
toc: true toc: true
toc_label: "Helpers" toc_label: "Helpers"
toc_icon: "cogs" toc_icon: "cogs"
@@ -173,12 +173,12 @@ And then drop-in the feature row include in the body where you'd like it to appe
## Responsive video embed ## Responsive video embed
Embed a video from YouTube, Vimeo, or Google Drive that responsively sizes to fit the width of its parent. To help with GDPR compliance, the theme is using the privacy enhanced version of YouTube and Vimeo providers out of the box. Embed a video from YouTube, Vimeo, Google Drive, or bilibili that responsively sizes to fit the width of its parent. To help with GDPR compliance, the theme is using the privacy enhanced version of YouTube and Vimeo providers out of the box.
| Parameter | Required | Description | | Parameter | Required | Description |
| ---------- | ------------ | ---------------------------------------------------------- | | ---------- | ------------ | ---------------------------------------------------------- |
| `id` | **Required** | ID of the video | | `id` | **Required** | ID of the video |
| `provider` | **Required** | Hosting provider of the video: `youtube`, vimeo`, or `google-drive` | | `provider` | **Required** | Hosting provider of the video: `youtube`, `vimeo`, `google-drive`, or `bilibili` |
### YouTube ### YouTube
+1 -1
View File
@@ -172,6 +172,6 @@ You can also add the `.notice` class to a `<div>` element.
{% endcapture %} {% endcapture %}
<div class="notice--info"> <div class="notice--info">
<h4>Notice Headline:</h4> <h4 class="no_toc">Notice Headline:</h4>
{{ notice-text | markdownify }} {{ notice-text | markdownify }}
</div> </div>
+25
View File
@@ -275,6 +275,31 @@ $base0e: #bb90e2;
$base0f: #b49368; $base0f: #b49368;
``` ```
##### Dracula
![dracula-code-block]({{ '/assets/images/dracula-code-block.jpg' | relative_url }})
```scss
/* dracula syntax highlighting (base16) */
/* https://github.com/dracula/base16-dracula-scheme */
$base00: #282936;
$base01: #3a3c4e;
$base02: #4d4f68;
$base03: #626483;
$base04: #62d6e8;
$base05: #e9e9f4;
$base06: #f1f2f8;
$base07: #f7f7fb;
$base08: #ea51b2;
$base09: #b45bcf;
$base0a: #00f769;
$base0b: #ebff87;
$base0c: #a1efe4;
$base0d: #62d6e8;
$base0e: #b45bcf;
$base0f: #00f769;
```
##### Neon ##### Neon
![neon-code-block]({{ '/assets/images/neon-code-block.jpg' | relative_url }}) ![neon-code-block]({{ '/assets/images/neon-code-block.jpg' | relative_url }})
+71 -1
View File
@@ -5,10 +5,80 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme." excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar: sidebar:
nav: docs nav: docs
last_modified_at: 2020-01-25T10:20:50-05:00 last_modified_at: 2020-06-06T10:39:18-04:00
toc: false toc: false
--- ---
## Unreleased
### Enhancements
- Update GreedyNav.js to reduce masthead link overflow/shifting on mobile devices. [#2551](https://github.com/mmistakes/minimal-mistakes/issues/2551)
- Replace `<section id="custom-comments"></section>` in `comments.html` include and add `custom_scripts.html` include for loading custom comment provider JavaScript in the footer. [#2549](https://github.com/mmistakes/minimal-mistakes/issues/2549)
- Move page date Liquid to include. [#2544](https://github.com/mmistakes/minimal-mistakes/pull/2544)
- Strip trailing whitespace in `seo_description`. [#2542](https://github.com/mmistakes/minimal-mistakes/pull/2542)
- Improve sticky sidebar's appearance with short content. [#2514](https://github.com/mmistakes/minimal-mistakes/pull/2514)
## [4.19.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.3)
### Enhancements
- Add support for bilibili videos in [responsive video helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#responsive-video-embed). [#2512](https://github.com/mmistakes/minimal-mistakes/pull/2512)
- Add Myanmar (Burmese) localized UI text strings. [#2500](https://github.com/mmistakes/minimal-mistakes/pull/2500)
- Improve author links underline on hover. [#2472](https://github.com/mmistakes/minimal-mistakes/pull/2472)
- Add documentation for applying Front Matter defaults to jekyll-archives pages. [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466)
- Add missing Vietnamese translations. [#2459](https://github.com/mmistakes/minimal-mistakes/pull/2459) [#2486](https://github.com/mmistakes/minimal-mistakes/pull/2486)
- Fix Finnish localized UI text strings. [#2455](https://github.com/mmistakes/minimal-mistakes/pull/2455)
- Clarify documentation that Lunr only searches documents in collections. [#2450](https://github.com/mmistakes/minimal-mistakes/pull/2450)
- Add guide on applying Front Matter defaults to jekyll-archives pages [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466)
### Bug Fixes
- Fix typo in configuration documentation. [#2497](https://github.com/mmistakes/minimal-mistakes/pull/2497)
- Fix "Follow menu falls under post links" on small screens. [#2479](https://github.com/mmistakes/minimal-mistakes/issues/2479)
- Hide index page from page-archive. [#2482](https://github.com/mmistakes/minimal-mistakes/pull/2482)
## [4.19.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.1)
### Enhancements
- Add [Dracula](https://draculatheme.com/) Base16 syntax highlighting theme Sass variables to [stylesheets documentation](https://mmistakes.github.io/minimal-mistakes/docs/stylesheets/#syntax-highlighting). [#2438](https://github.com/mmistakes/minimal-mistakes/pull/2438)
- Update links to `HTTPS` and remove Google+ from configuration documentation. [#2432](https://github.com/mmistakes/minimal-mistakes/pull/2432)
- Use `first_page_path` from jekyll-paginate-v2 if available. [#2431](https://github.com/mmistakes/minimal-mistakes/pull/2431)
- Update onchange and uglify-js dependencies.
- Update smooth-scroll.js to `v16.1.2`. [#2430](https://github.com/mmistakes/minimal-mistakes/issues/2430)
### Bug Fixes
- Fix author profile links `z-index` order on small screens. [#2440](https://github.com/mmistakes/minimal-mistakes/issues/2440)
## [4.19.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.0)
### Enhancements
- Add "click" overlay to close masthead and follow button menus when open. [#1168](https://github.com/mmistakes/minimal-mistakes/issues/1168)
- Remove deprecated Staticman v1 configurations from `_config.yml`. [#2386](https://github.com/mmistakes/minimal-mistakes/issues/2386)
- Use `relative_url` and `absolute_url` filters where possible. [#2387](https://github.com/mmistakes/minimal-mistakes/pull/2387)
- Improve headline hierarchy and add Sass specific variables `$h-size-x`. [#2423](https://github.com/mmistakes/minimal-mistakes/issues/2423)
- Improve accessibility of `default` skin by increasing color contrast of text and links.
- Hide posts with `hidden: true` YAML front matter from appearing in listings. [#2345](https://github.com/mmistakes/minimal-mistakes/pull/2345)
- Add Irish (Gaeilge) localized UI text strings. [#2422](https://github.com/mmistakes/minimal-mistakes/pull/2422)
- Remove `box-shadow` on radio and checkbox inputs. [#2398](https://github.com/mmistakes/minimal-mistakes/pull/2398)
- Bump Jekyll gem dependency to `v3.7`.
### Bug Fixes
- Fix documentation around using `bundle info` command. [#2425](https://github.com/mmistakes/minimal-mistakes/pull/2425)
- Fix rake vulnerability in `.gemspec` file.
- Fix Staticman v2 comment submission. [#2402](https://github.com/mmistakes/minimal-mistakes/pull/2402)
- Fix repeated site base path for masthead logo. [#2385](https://github.com/mmistakes/minimal-mistakes/pull/2385)
## [4.18.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.18.1)
### Bug Fixes
- Fix compatibility issue with jekyll-paginate-v2. [#2381](https://github.com/mmistakes/minimal-mistakes/pull/2381)
## [4.18.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.18.0) ## [4.18.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.18.0)
### Enhancements ### Enhancements
+2 -2
View File
@@ -3,8 +3,8 @@
<!doctype html> <!doctype html>
<!-- <!--
Minimal Mistakes Jekyll Theme 4.18.0 by Michael Rose Minimal Mistakes Jekyll Theme 4.19.3 by Michael Rose
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
--> -->
+2 -2
View File
@@ -12,7 +12,7 @@ layouts_gallery:
- url: /assets/images/mm-layout-archive.png - url: /assets/images/mm-layout-archive.png
image_path: /assets/images/mm-layout-archive.png image_path: /assets/images/mm-layout-archive.png
alt: "archive layout example" alt: "archive layout example"
last_modified_at: 2019-08-27T15:46:43-04:00 last_modified_at: 2020-05-01T10:15:22-04:00
toc: true toc: true
--- ---
@@ -33,7 +33,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more. - Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), [Discourse](https://www.discourse.org/), [utterances](https://utteranc.es/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom). - Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), [Discourse](https://www.discourse.org/), [utterances](https://utteranc.es/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
- [Google Analytics](https://www.google.com/analytics/) support. - [Google Analytics](https://www.google.com/analytics/) support.
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Hindi (हिंदी), Hungarian, Indonesian, Italian (Italiano), Japanese, Korean, Malayalam, Nepali (Nepalese), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese. - UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese.
## Demo Pages ## Demo Pages
+3 -2
View File
@@ -1,6 +1,7 @@
--- ---
layout: splash layout: splash
permalink: / permalink: /
hidden: true
header: header:
overlay_color: "#5e616c" overlay_color: "#5e616c"
overlay_image: /assets/images/mm-home-page-feature.jpg overlay_image: /assets/images/mm-home-page-feature.jpg
@@ -9,7 +10,7 @@ header:
url: "/docs/quick-start-guide/" url: "/docs/quick-start-guide/"
excerpt: > excerpt: >
A flexible two-column Jekyll theme. Perfect for building personal sites, blogs, and portfolios.<br /> A flexible two-column Jekyll theme. Perfect for building personal sites, blogs, and portfolios.<br />
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.18.0">Latest release v4.18.0</a></small> <small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.3">Latest release v4.19.3</a></small>
feature_row: feature_row:
- image_path: /assets/images/mm-customizable-feature.png - image_path: /assets/images/mm-customizable-feature.png
alt: "customizable" alt: "customizable"
@@ -34,4 +35,4 @@ feature_row:
btn_label: "Learn more" btn_label: "Learn more"
--- ---
{% include feature_row %} {% include feature_row %}
+4 -2
View File
@@ -6,5 +6,7 @@ author_profile: false
--- ---
{% for post in site.pages %} {% for post in site.pages %}
{% include archive-single.html %} {% unless post.hidden %}
{% endfor %} {% include archive-single.html %}
{% endunless %}
{% endfor %}
Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

+3 -3
View File
@@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "minimal-mistakes-jekyll" spec.name = "minimal-mistakes-jekyll"
spec.version = "4.18.0" spec.version = "4.19.3"
spec.authors = ["Michael Rose"] spec.authors = ["Michael Rose"]
spec.summary = %q{A flexible two-column Jekyll theme.} spec.summary = %q{A flexible two-column Jekyll theme.}
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
f.match(%r{^(assets|_(data|includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i) f.match(%r{^(assets|_(data|includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i)
end end
spec.add_runtime_dependency "jekyll", ">= 3.6", "< 5.0" spec.add_runtime_dependency "jekyll", ">= 3.7", "< 5.0"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1" spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.3" spec.add_runtime_dependency "jekyll-sitemap", "~> 1.3"
spec.add_runtime_dependency "jekyll-gist", "~> 1.5" spec.add_runtime_dependency "jekyll-gist", "~> 1.5"
@@ -23,5 +23,5 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "jekyll-include-cache", "~> 0.1" spec.add_runtime_dependency "jekyll-include-cache", "~> 0.1"
spec.add_development_dependency "bundler" spec.add_development_dependency "bundler"
spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rake", ">= 12.3.3"
end end
+62 -49
View File
@@ -1,6 +1,6 @@
{ {
"name": "minimal-mistakes", "name": "minimal-mistakes",
"version": "4.17.2", "version": "4.19.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@@ -20,9 +20,9 @@
} }
}, },
"anymatch": { "anymatch": {
"version": "3.0.3", "version": "3.1.1",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.0.3.tgz", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
"integrity": "sha512-c6IvoeBECQlMVuYUjSwimnhmztImpErfxJzWZhIQinIvQWoGOnB0dLIgifbPHQt5heS6mNlaZG16f06H3C8t1g==", "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
"dev": true, "dev": true,
"requires": { "requires": {
"normalize-path": "^3.0.0", "normalize-path": "^3.0.0",
@@ -78,19 +78,19 @@
} }
}, },
"chokidar": { "chokidar": {
"version": "3.0.2", "version": "3.3.1",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.0.2.tgz", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.3.1.tgz",
"integrity": "sha512-c4PR2egjNjI1um6bamCQ6bUNPDiyofNQruHvKgHQ4gDUP/ITSVSzNsiI5OWtHOsX323i5ha/kk4YmOZ1Ktg7KA==", "integrity": "sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg==",
"dev": true, "dev": true,
"requires": { "requires": {
"anymatch": "^3.0.1", "anymatch": "~3.1.1",
"braces": "^3.0.2", "braces": "~3.0.2",
"fsevents": "^2.0.6", "fsevents": "~2.1.2",
"glob-parent": "^5.0.0", "glob-parent": "~5.1.0",
"is-binary-path": "^2.1.0", "is-binary-path": "~2.1.0",
"is-glob": "^4.0.1", "is-glob": "~4.0.1",
"normalize-path": "^3.0.0", "normalize-path": "~3.0.0",
"readdirp": "^3.1.1" "readdirp": "~3.3.0"
} }
}, },
"color-convert": { "color-convert": {
@@ -109,9 +109,9 @@
"dev": true "dev": true
}, },
"commander": { "commander": {
"version": "2.20.0", "version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
"integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"dev": true "dev": true
}, },
"concat-map": { "concat-map": {
@@ -192,9 +192,9 @@
} }
}, },
"fsevents": { "fsevents": {
"version": "2.0.7", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.0.7.tgz", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz",
"integrity": "sha512-a7YT0SV3RB+DjYcppwVDLtn13UQnmg0SWZS7ezZD0UjnLwXmy8Zm21GMVGLaFGimIqcvyMQaOJBrop8MyOp1kQ==", "integrity": "sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
@@ -205,9 +205,9 @@
"dev": true "dev": true
}, },
"glob-parent": { "glob-parent": {
"version": "5.0.0", "version": "5.1.0",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
"integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==", "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
"dev": true, "dev": true,
"requires": { "requires": {
"is-glob": "^4.0.1" "is-glob": "^4.0.1"
@@ -246,6 +246,12 @@
"integrity": "sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ==", "integrity": "sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ==",
"dev": true "dev": true
}, },
"ignore": {
"version": "5.1.4",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz",
"integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==",
"dev": true
},
"is-arrayish": { "is-arrayish": {
"version": "0.2.1", "version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
@@ -352,9 +358,9 @@
} }
}, },
"minimist": { "minimist": {
"version": "1.2.0", "version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
"dev": true "dev": true
}, },
"nice-try": { "nice-try": {
@@ -405,27 +411,34 @@
"dev": true "dev": true
}, },
"onchange": { "onchange": {
"version": "6.0.0", "version": "6.1.0",
"resolved": "https://registry.npmjs.org/onchange/-/onchange-6.0.0.tgz", "resolved": "https://registry.npmjs.org/onchange/-/onchange-6.1.0.tgz",
"integrity": "sha512-1b6FRfV0otr4gj/mWPlEAPnsxvHLDFmL4nFCbnNYLgPpiy+bNmoDdpD80iXK63mIBqU1S5+d4oAEffFqN68wvA==", "integrity": "sha512-T0wvi3yzNd+Lut2ymJp2e6fTiob0TLrXnjqGaiK9MAFB8MYo/k/ZClx6ps7YhTtQ88dDm+hDHmtJXP1nJT5WNA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@blakeembrey/deque": "^1.0.3", "@blakeembrey/deque": "^1.0.3",
"arrify": "^2.0.0", "arrify": "^2.0.0",
"chokidar": "^3.0.0", "chokidar": "^3.0.0",
"cross-spawn": "^6.0.0", "cross-spawn": "^6.0.0",
"ignore": "^5.1.4",
"minimist": "^1.2.0", "minimist": "^1.2.0",
"supports-color": "^6.0.0", "supports-color": "^7.0.0",
"tree-kill": "^1.2.0" "tree-kill": "^1.2.0"
}, },
"dependencies": { "dependencies": {
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
"supports-color": { "supports-color": {
"version": "6.1.0", "version": "7.1.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
"integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
"dev": true, "dev": true,
"requires": { "requires": {
"has-flag": "^3.0.0" "has-flag": "^4.0.0"
} }
} }
} }
@@ -462,9 +475,9 @@
} }
}, },
"picomatch": { "picomatch": {
"version": "2.0.7", "version": "2.2.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.0.7.tgz", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz",
"integrity": "sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA==", "integrity": "sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA==",
"dev": true "dev": true
}, },
"pidtree": { "pidtree": {
@@ -491,12 +504,12 @@
} }
}, },
"readdirp": { "readdirp": {
"version": "3.1.2", "version": "3.3.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.1.2.tgz", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.3.0.tgz",
"integrity": "sha512-8rhl0xs2cxfVsqzreYCvs8EwBfn/DhVdqtoLmw19uI3SC5avYX9teCurlErfpPXGmYtMHReGaP2RsLnFvz/lnw==", "integrity": "sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"picomatch": "^2.0.4" "picomatch": "^2.0.7"
} }
}, },
"resolve": { "resolve": {
@@ -609,18 +622,18 @@
} }
}, },
"tree-kill": { "tree-kill": {
"version": "1.2.1", "version": "1.2.2",
"resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.1.tgz", "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
"integrity": "sha512-4hjqbObwlh2dLyW4tcz0Ymw0ggoaVDMveUB9w8kFSQScdRLo0gxO9J7WFcUBo+W3C1TLdFIEwNOWebgZZ0RH9Q==", "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
"dev": true "dev": true
}, },
"uglify-js": { "uglify-js": {
"version": "3.6.0", "version": "3.8.0",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.0.tgz", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.8.0.tgz",
"integrity": "sha512-W+jrUHJr3DXKhrsS7NUVxn3zqMOFn0hL/Ei6v0anCIMoKC93TjcflTagwIHLW7SfMFfiQuktQyFVCFHGUE0+yg==", "integrity": "sha512-ugNSTT8ierCsDHso2jkBHXYrU8Y5/fY2ZUprfrJUiD7YpuFvV4jODLFmb3h4btQjqr5Nh4TX4XtgDfCU1WdioQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"commander": "~2.20.0", "commander": "~2.20.3",
"source-map": "~0.6.1" "source-map": "~0.6.1"
} }
}, },
+3 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "minimal-mistakes", "name": "minimal-mistakes",
"version": "4.18.0", "version": "4.19.3",
"description": "Minimal Mistakes 2 column Jekyll theme.", "description": "Minimal Mistakes 2 column Jekyll theme.",
"repository": { "repository": {
"type": "git", "type": "git",
@@ -22,8 +22,8 @@
}, },
"devDependencies": { "devDependencies": {
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"onchange": "^6.0.0", "onchange": "^6.1.0",
"uglify-js": "^3.4.9" "uglify-js": "^3.8.0"
}, },
"scripts": { "scripts": {
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-3.4.1.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.ba-throttle-debounce.js assets/js/plugins/smooth-scroll.js assets/js/plugins/gumshoe.js assets/js/_main.js -c -m -o assets/js/main.min.js", "uglify": "uglifyjs assets/js/vendor/jquery/jquery-3.4.1.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.ba-throttle-debounce.js assets/js/plugins/smooth-scroll.js assets/js/plugins/gumshoe.js assets/js/_main.js -c -m -o assets/js/main.min.js",
+3 -17
View File
@@ -37,23 +37,9 @@ comments:
utterances: utterances:
theme : # "github-light" (default), "github-dark" theme : # "github-light" (default), "github-dark"
issue_term : # "pathname" (default) issue_term : # "pathname" (default)
staticman: staticman:
allowedFields : ['name', 'email', 'url', 'message'] branch : # "master"
branch : # "master", "gh-pages" endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
commitMessage : "New comment by {fields.name}"
filename : comment-{@timestamp}
format : "yml"
moderation : true
path : "_data/comments/{options.slug}"
requiredFields : ['name', 'email', 'message']
transforms:
email : "md5"
generatedFields:
date:
type : "date"
options:
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance
atom_feed: atom_feed:
path : # blank (default) uses feed.xml path : # blank (default) uses feed.xml
search : true # true, false (default) search : true # true, false (default)