Compare commits

..
190 Commits
Author SHA1 Message Date
Michael Rose 526445bffe Release 4.20.2 💎 2020-09-07 10:07:29 -04:00
Michael Rose 8bec01b76d Fix broken link in documentation
Close #2677
2020-08-30 21:28:31 -04:00
Michael Rose e21035e62d Fix typo
Close #2678
2020-08-30 21:25:30 -04:00
Michael Rose 2fcb13a8cc Bump copyright year 2020-08-30 21:15:36 -04:00
Michael Rose 8cb95a7005 Update CHANGELOG and history 2020-08-30 20:53:16 -04:00
Michael Rose c6f10529a4 Refactor page meta (#2641)
* Rename include

* Add grid view test pages

* Rename `.post__meta-sep` and use CSS to add line break

* Improve collection grid archive

* Improve page grid archive

* Enable `grid`

* Don't show date icon if there is no `date` value

* Add blank line at EOF

* Add space

* Wrap date and reading time in named `span` elements
2020-08-30 20:52:12 -04:00
Michael Rose 7a6060a55a Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-08-30 20:41:47 -04:00
Michael Rose 5b5b3ad4e0 Update CHANGELOG and history 2020-08-30 20:41:43 -04:00
Lars Olesen 24b4585084 Added article:author used by Pinterest (#2670) 2020-08-30 20:38:03 -04:00
Michael Rose b75f057a5e Update CHANGELOG and history 2020-08-30 20:31:49 -04:00
Johannes Ganzenmüller 92f94d5549 Removed duplicated CSS definitions (#2666) 2020-08-30 20:30:38 -04:00
iBug ♦ b7144931c7 Change "fa" to "fas" for Font Awesome 5 (#2649)
* main.js: fa -> fas for FA 5

* Update CHANGELOG and history
2020-08-14 15:21:38 -04:00
Michael Rose 5c8b220bf9 Update CHANGELOG and history 2020-08-04 12:59:52 -04:00
Michael Rose d57fe1de2c Fix entries_layout: grid
Close #2639
2020-08-04 12:59:44 -04:00
Michael Rose 5741539e17 Update remote_theme version 2020-08-04 12:34:53 -04:00
Michael Rose b4abce3b78 Release 4.20.1 💎 2020-08-04 12:33:22 -04:00
Michael Rose 53ad4d343a Fix grid entries_layout in home.html 2020-08-04 12:32:54 -04:00
Michael Rose 3135099203 Fix grammar 2020-08-04 11:26:26 -04:00
Michael Rose 95ba9242bf Update remote_theme 2020-08-04 11:22:09 -04:00
Michael Rose cb18aaa7a0 Release 4.20.0 💎 2020-08-04 11:18:04 -04:00
Michael Rose 6d1aea573c Remove extra back ticks 2020-08-04 11:12:05 -04:00
Michael Rose e4fbcf7383 Fix grammar 2020-08-04 10:52:49 -04:00
Michael Rose eb31e33365 Update CHANGELOG and history 2020-08-04 10:48:44 -04:00
Lim Jing Heng f15e02ea58 Show date of posts (#2526)
* add date to read-time.html

* add option for show_date, dynamic icon style

* change read-time to post__meta

* cleanup post__metal.html

* cleanup post__meta include variables

* put date before read time

* remove space in include variable

* allow customisation of post__meta separator

* add some documentation

* oops fix typo derp

* add post date image

* change page meta separator customisation to CSS
2020-08-04 10:39:01 -04:00
Michael Rose 5d85bf1912 Update CHANGELOG and history 2020-08-04 10:26:29 -04:00
Andrey Kartashov b093b52074 remove hidden posts from /posts (#2625) 2020-08-04 10:25:38 -04:00
iBug ♦ a695d7728f Update documentation for #2621 (#2624)
* Update documentation for #2621

* Update CHANGELOG and history

* Update last_modified_at
2020-08-04 10:23:18 -04:00
iBug ♦ 83b4dba2f0 Update UI text for zh-CN and zh-TW (#2626)
* Update UI text for zh-CN and zh-TW

* Update CHANGELOG and history

Not touching last_modified_at this time - it's messy enough
2020-07-28 15:37:13 -04:00
Michael Rose 1f0b50044c Update 10-layouts.md 2020-07-24 16:06:32 -04:00
Michael Rose f099739f42 Include documentation for home page grid view 2020-07-24 16:00:37 -04:00
Michael Rose cd7aa71ffc Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2020-07-24 15:55:35 -04:00
Michael Rose 960d80dc6d Update CHANGELOG and history 2020-07-24 15:55:31 -04:00
Juan Ara 34ff24e31b Configure entries layout list or grid (#2616)
* Configure entries layout `list` or `grid`

This allows to use grid layout on `page.entries_layout` on the home layout.

Included a break since when using grid the post images are too close to the horizontal line bellow `posts` text.

There's a entries div now surrounding the posts since the first row of the grid was having a slight padding on the left. The home now behaves like posts/categories/tags pages with grid but including the paginator.

For best results on desktop use `classes: wide` and `paginate: 4` on `_config.yml` (or multiples of 4 if you want more rows)

* Fix indent

* Archive subtitle leaves space on the bottom

* Now space is added through style
2020-07-24 15:53:21 -04:00
iBug ♦ d5d3863322 Use layout: none instead of null (#2617)
* Use layout: none instead of null

* Update CHANGELOG and history
2020-07-24 08:22:16 -04:00
Michael Rose bae1a2eb0d Update CHANGELOG and history 2020-07-23 12:14:05 -04:00
谭九鼎 a0e3387677 Update zh-cn (#2576)
* Update zh-cn
* Update ui-text.yml
2020-07-23 12:12:52 -04:00
Michael Rose 16bacdcc37 Update CHANGELOG and history 2020-07-23 12:12:15 -04:00
dianlujitao be9a90fa0c Fix link for author name (#2575)
Missed from bcd6126612
2020-07-23 12:11:03 -04:00
iBug ♦ a89a015ce7 Change tab indent to space for consistency (#2614) 2020-07-23 12:09:36 -04:00
Michael Rose 8a60d43b12 Update CHANGELOG and history 2020-07-22 15:47:29 -04:00
Scott M a0309bba05 Fix config comment to list all analytics providers. (#2607)
The main config was properly updated with the google-gtag
feature commit (79d0b75683), but was
removed, possibly by bad merge, with an unrelated commit
(bac26e96b2) two days later.

The docs and test configs appear to have never received the initial
google-gtag update.
2020-07-22 15:46:44 -04:00
Michael Rose af7805a985 Update CHANGELOG and history 2020-07-22 15:45:40 -04:00
iBug ♦ adb301096f Give H4 in notice some space from below (#2602) 2020-07-22 15:44:25 -04:00
42c4df6244 Enhance Bilibili video support (redo of #2522) (#2599)
* Enhance support for bilibili videos in responsive video helper, and add corresponding doc

* Apply @iBug's review in mmistakes/minimal-mistakes#2522

* Fix danmaku in page hero video

* Update video to use case..when for iframe src

* Update CHANGELOG and history

Co-authored-by: Anran <51769728+ALeafWolf@users.noreply.github.com>
Co-authored-by: Michael Rose <mmistakes@users.noreply.github.com>
2020-07-22 15:42:46 -04:00
Michael Rose 8711be97c6 Update CHANGELOG and history 2020-07-22 15:36:25 -04:00
Marcin Pietraszek 28edd82198 Algolia search update (#2572)
* Search on menu toggle

With that change search is performed when requested. Before it was done
for each pageview, regardless of the fact if search was used by user or
not.

* Localize algolia's empty template
2020-07-22 15:34:53 -04:00
Michael Rose 91433e72e6 Update CHANGELOG and history 2020-07-22 15:30:29 -04:00
Vanessasaurus 82f79d3045 Updating link to wtfpl license (#2571)
The current wtpl license in the README is dead, so I'm updating it to use the current. The site doesn't have https, so if you want https we could also use https://choosealicense.com/licenses/wtfpl/.
2020-07-22 15:29:37 -04:00
Michael Rose 3af9e57c6a Update CHANGELOG and history 2020-07-22 15:29:09 -04:00
Eduardo Luna c980d7f079 Update 03-installation.md (#2570)
Fixed a small typo.
2020-07-22 15:28:09 -04:00
Michael Rose f297fe1b51 Update CHANGELOG and history 2020-07-22 15:27:46 -04:00
Lars Olesen 4f8e2b48bb Do not include in toc (#2558) 2020-07-22 15:26:14 -04:00
iBug ♦ 2ef1bfb856 Load Font Awesome CSS from jsDelivr CDN (#2583)
* Load Font Awesome CSS from jsDelivr CDN
* Update CHANGELOG and history
2020-07-02 08:08:45 -04:00
Michael Rose 776ab26ce1 Update theme version 2020-06-06 11:49:40 -04:00
Michael Rose a870cbddd9 Update CHANGELOG and history 2020-06-06 11:48:26 -04:00
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
Michael Rose ec0b288f9e Release 4.18.0 💎 2020-01-25 10:26:16 -05:00
Michael Rose 1b9b8465b0 Update CHANGELOG and history 2020-01-25 10:19:18 -05:00
Mohamed Akram 3332196ec5 Allow using theme without pagination (#2378) 2020-01-25 10:17:46 -05:00
Michael Rose 1163ddc3f2 Add links to high resolution skin screenshots
Resolves #2363
2020-01-14 12:51:36 -05:00
Michael Rose d6c935aaaa Update CHANGELOG and history 2020-01-14 12:46:02 -05:00
Johannes Ganzenmüller 741b6dcb10 Adjust comments to be compatible with compress_html (#2373) 2020-01-14 12:43:14 -05:00
Michael Rose 0ce6c0d648 Update CHANGELOG and history 2020-01-14 12:42:35 -05:00
Michael Rose 2397da4e28 Add post to test multiline excerpt 2020-01-14 12:41:28 -05:00
iBug ♦ c6b4cdac97 Fix wrong newline concatenation in SEO description, resolves #2354 (#2368)
Close #2354
2020-01-14 12:40:11 -05:00
Michael Rose b84c196178 Update CHANGELOG and history 2020-01-14 12:33:30 -05:00
iBug ♦ d1db419e59 Update README and LICENSE (#2367)
* Update README and LICENSE

* README: Replace RawGit with jsDelivr
2020-01-14 12:32:48 -05:00
Michael Rose 31d230934c Update CHANGELOG and history 2020-01-14 12:32:20 -05:00
iBug ♦ a9f927a353 Update .gitignore (#2366) 2020-01-14 12:31:30 -05:00
Michael Rose 39423bc233 Update CHANGELOG and history 2020-01-07 13:14:57 -05:00
Michael Rose eb1af70810 Document header tagline 2020-01-07 13:14:50 -05:00
Michael Rose 6deaab8d3a Add example posts with header tagline 2020-01-07 13:14:33 -05:00
iBug ♦ be0e7ca971 Allow override of page excerpt in heading (via tagline) (#2307)
Allow the use of `page.tagline` to override `page.excerpt` in heading area
2020-01-07 13:01:47 -05:00
Michael Rose f2af873e94 Update CHANGELOG and history 2020-01-07 12:47:33 -05:00
Rodrigo Graça e2f0cf82f9 🔧 Exclude package-lock.json (#2364) 2020-01-07 12:45:58 -05:00
Michael Rose 65051cce2e Update CHANGELOG and history 2020-01-07 12:39:34 -05:00
iBug ♦ f331584125 Use %-d instead of %d (#2359) 2020-01-07 12:38:08 -05:00
Michael Rose e604b4742a Update CHANGELOG and history 2020-01-07 12:37:31 -05:00
iBug ♦ 8e2d290c7f Update toc.html from allejo/jekyll-toc:master (#2355) 2020-01-07 12:36:05 -05:00
Michael Rose 92401a14b7 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2019-12-19 11:39:42 -05:00
Michael Rose e7d429cd74 Update CHANGELOG and history 2019-12-19 11:39:39 -05:00
Akhyar Amarullah 7607fcf7b6 Fix staticman v2/v3 comments (#2351)
According to the most recent docs, `branch` and `endpoint` should be inside `site.comments.staticman` config.
2019-12-19 11:38:51 -05:00
Michael Rose 4a85725bfe Update CHANGELOG and history 2019-12-19 11:38:16 -05:00
dmitrypvandiBug ♦ abf29432f6 Update masthead.html (#2332)
* Update masthead.html

fix image path in masthead for relative url

* Update _includes/masthead.html

Co-Authored-By: iBug ♦ <git@ibugone.com>
2019-12-19 11:37:11 -05:00
Eloi Perdereau af528d49ce Fix schema.org dates to ISO-8601 (#2339)
* Fix schema.org dates to ISO-8601

* Revert date_to_xmlschema in <time> tag
2019-12-19 11:35:35 -05:00
Michael Rose df3da4f7e3 Update CHANGELOG and history 2019-11-22 09:27:54 -05:00
Michael Rose e749af9ff8 Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2019-11-22 09:26:59 -05:00
iBug ♦ ee9aa75213 Set background-color = inherit for <pre code> in notices (#2328) 2019-11-22 09:26:38 -05:00
Michael Rose 032aaf209b Add notices with code blocks for testing 2019-11-22 09:26:06 -05:00
Michael Rose 5c9b5c3218 Update CHANGELOG and history 2019-11-22 09:17:09 -05:00
iBug ♦ 02dd27ccdc Make feature row live well with TOC, fix #2327 (#2329) 2019-11-22 09:15:38 -05:00
Michael Rose 6c733c3b93 Update CHANGELOG and history 2019-11-22 09:13:52 -05:00
Lars Olesen 0be64d50fc Fixed page.excerpt to seo_description (#2326) 2019-11-22 09:12:34 -05:00
Michael Rose 14ebcce4a9 Update CHANGELOG and history 2019-11-22 09:12:12 -05:00
Wouter Overmeire c7e3c5e3cb Add missing dutch ui-text fields (#2321) 2019-11-22 09:11:13 -05:00
Michael Rose c2c33a9ca8 Update CHANGELOG and history 2019-11-12 15:15:20 -05:00
Wouter Janson e09ff7efd7 Add social icon color for Keybase (#2302) 2019-11-12 15:14:32 -05:00
Michael Rose 2d257a905e Update CHANGELOG and history 2019-11-12 15:13:33 -05:00
iBug ♦ 13d7a231f7 Support page header (page hero) in archive-taxonomy layouts (#2320)
* Support page header in archive-taxonomy layout
2019-11-12 15:11:52 -05:00
Michael Rose 4ef8db79ba Update CHANGELOG and history 2019-11-12 15:01:33 -05:00
Michael Rose 5eaa0e5ec8 Fix typo in comments in _config.yml 2019-11-12 15:00:44 -05:00
iBug ♦ 96feec08a9 Fix typo in _config.yml (#2319) 2019-11-12 14:59:26 -05:00
Michael Rose ef22eb314e Update CHANGELOG and history
Fix #2310
2019-11-07 11:52:42 -05:00
105 changed files with 1489 additions and 617 deletions
+20 -7
View File
@@ -1,16 +1,29 @@
*.gem
# Vim
*~
*.sw[p_]
# Sublime Text
*.sublime-project
*.sublime-workspace
# Ruby Gem
*.gem
.bundle
Gemfile.lock
**/vendor/bundle
# Node.js and NPM
node_modules
npm-debug.log*
package-lock.json
codekit-config.json
# macOS
.DS_Store
# Jekyll generated files
.jekyll-cache
.jekyll-metadata
.sass-cache
_asset_bundler_cache
_site
codekit-config.json
example/_site
Gemfile.lock
node_modules
npm-debug.log*
vendor/bundle
+144 -1
View File
@@ -1,4 +1,147 @@
## [4.17.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.17.1)
## [4.20.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.2)
### Bug Fixes
- Fix broken link in documentation. [#2677](https://github.com/mmistakes/minimal-mistakes/issues/2677)
- Fix typo in documentation. [#2678](https://github.com/mmistakes/minimal-mistakes/issues/2678)
- Remove duplicate CSS definitions. [#2666](https://github.com/mmistakes/minimal-mistakes/pull/2666)
- Fix `entries_layout: grid` in various layouts. [#2639](https://github.com/mmistakes/minimal-mistakes/issues/2639)
- Change `fa` to `fas` for Font Awesome 5. [#2649](https://github.com/mmistakes/minimal-mistakes/pull/2649)
### Enhancements
- Refactor page meta include. [#2641](https://github.com/mmistakes/minimal-mistakes/pull/2641)
- Add `article:author` Open Graph markup. [#2670](https://github.com/mmistakes/minimal-mistakes/pull/2670)
## [4.20.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.1)
### Bug Fixes
- Fix `entries_layout: grid` in `home.html` layout. [#2616](https://github.com/mmistakes/minimal-mistakes/pull/2616)
## [4.20.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.0)
### Bug Fixes
- Add `relative_url` filter to author home link [#2575](https://github.com/mmistakes/minimal-mistakes/pull/2575)
- Fix `analytics.provider` config comment to list all analytics providers. [#2607](https://github.com/mmistakes/minimal-mistakes/pull/2607)
- Fix typo in installation documentation. [#2570](https://github.com/mmistakes/minimal-mistakes/pull/2570)
- Fix broken Lunr search with Jekyll v4.1.0. [#2617](https://github.com/mmistakes/minimal-mistakes/pull/2617)
### Enhancements
- Add an optional date alongside the reading time. To enable set `show_date: true` similar to how reading time is. [#2526](https://github.com/mmistakes/minimal-mistakes/pull/2526)
- Remove hidden posts from posts.html layout. [#2625](https://github.com/mmistakes/minimal-mistakes/pull/2625)
- Add entry layout configuration for `list` (default) or `grid` views on `layout: home`. [#2616](https://github.com/mmistakes/minimal-mistakes/pull/2616)
- Add missing Chinese translations. [#2576](https://github.com/mmistakes/minimal-mistakes/pull/2576)
- Improve Chinese translations. [#2626](https://github.com/mmistakes/minimal-mistakes/pull/2626)
- Add `line-height` to `h4` element in notice helper. [#2602](https://github.com/mmistakes/minimal-mistakes/pull/2602)
- Improve Algolia search. [#2572](https://github.com/mmistakes/minimal-mistakes/pull/2572)
- Update link to wtfpl license in README. [#2571](https://github.com/mmistakes/minimal-mistakes/pull/2571)
- Ignore teaser headline in table of contents when including posts list in another page. [#2558](https://github.com/mmistakes/minimal-mistakes/pull/2558)
- Replace Font Awesome Kits with CSS from jsDelivr CDN. [#2583](https://github.com/mmistakes/minimal-mistakes/pull/2583)
- Add `danmaku` option to Bilibili video provider and add corresponding documentation/ [#2599](https://github.com/mmistakes/minimal-mistakes/pull/2599)
- Update documentation about loading l10n data file from the theme-gem. [#2621](https://github.com/mmistakes/minimal-mistakes/issues/2621) [#2624](https://github.com/mmistakes/minimal-mistakes/pull/2624)
## [4.19.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.3)
### 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)
### Enhancements
- Allow `home` layout to display posts without pagination. [#2378](https://github.com/mmistakes/minimal-mistakes/pull/2378)
- Add links to high resolution skin screenshots in README. [#2363](https://github.com/mmistakes/minimal-mistakes/issues/2363)
- Update README and LICENSE. [#2367](https://github.com/mmistakes/minimal-mistakes/pull/2367)
- Update `.gitignore` file. [#2366](https://github.com/mmistakes/minimal-mistakes/pull/2366)
- Allow override of page excerpt in hero header via `tagline` YAML front matter. [#2307](https://github.com/mmistakes/minimal-mistakes/pull/2307)
- Exclude `package-lock.json` from Jekyll build. [#2364](https://github.com/mmistakes/minimal-mistakes/pull/2364)
- Use `%-d` instead of `%d` so displayed dates aren't padded with zero. [#2359](https://github.com/mmistakes/minimal-mistakes/pull/2359)
- Update table of contents helper (`toc.html`) to [v1.0.8](https://github.com/allejo/jekyll-toc/releases). [#2355](https://github.com/mmistakes/minimal-mistakes/pull/2355)
- Add missing Dutch localized UI text strings. [#2321](https://github.com/mmistakes/minimal-mistakes/pull/2321)
- Support page header (hero) in `archive-taxonomy` layout. [#2320](https://github.com/mmistakes/minimal-mistakes/pull/2320)
- Add social icon color for Keybase. [#2302](https://github.com/mmistakes/minimal-mistakes/pull/2302)
### Bug Fixes
- Fix JavaScript comments in Disqus include to be compatible with `compress` layout. [#2373](https://github.com/mmistakes/minimal-mistakes/pull/2373)
- Fix wrong newline concatenation in SEO description [#2368](https://github.com/mmistakes/minimal-mistakes/pull/2368) [#2354](https://github.com/mmistakes/minimal-mistakes/issues/2354)
- Fix Staticman v2/v3 conditional for showing comments. [#2351](https://github.com/mmistakes/minimal-mistakes/pull/2351)
- Fix masthead logo path. [#2332](https://github.com/mmistakes/minimal-mistakes/pull/2332)
- Fix schema.org dates to ISO-8601. [#2339](https://github.com/mmistakes/minimal-mistakes/pull/2339)
- Fix background color of code blocks in notices. [#2328](https://github.com/mmistakes/minimal-mistakes/pull/2328)
- Fix alignment of feature rows when placed next to a sticky sidebar. [#2327](https://github.com/mmistakes/minimal-mistakes/issues/2327)
- Fix `seo_description` in `_includes/seo.html`. [#2326](https://github.com/mmistakes/minimal-mistakes/pull/2326)
- Fix typo in `_config.yml`. [#2319](https://github.com/mmistakes/minimal-mistakes/pull/2319)
## [4.17.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.17.2)
### Enhancements
+2 -2
View File
@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2013-2019 Michael Rose and contributors
Copyright (c) 2013-2020 Michael Rose and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
+12 -12
View File
@@ -1,7 +1,7 @@
# [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)
[![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)
[![Tip Me via PayPal](https://img.shields.io/badge/PayPal-tip%20me-green.svg?logo=paypal)](https://www.paypal.me/mmistakes)
@@ -11,9 +11,9 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
**If you enjoy this theme, please consider [supporting me](https://www.paypal.me/mmistakes) to continue developing and maintaining it.**
[![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://www.paypal.me/mmistakes)
[![Support via PayPal](https://cdn.jsdelivr.net/gh/twolfson/paypal-github-button@1.0.0/dist/button.svg)](https://www.paypal.me/mmistakes)
**Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build.
**Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll encounter `Unknown tag 'include_cached'` errors at build.
[![Minimal Mistakes live preview][2]][1]
@@ -33,23 +33,23 @@ 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.
- 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.
- 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)
This theme comes in nine different skins (including the default one).
This theme comes in nine different skins (in addition to the default one).
| `air` | `contrast` | `dark` |
| --- | --- | --- |
| ![air skin](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive.png) | ![contrast skin](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive.png) | ![dark skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive.png) |
| [![air skin](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive-large.png) | [![contrast skin](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive-large.png) | [![dark skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive-large.png) |
| `dirt` | `mint` | `sunrise` |
| --- | --- | --- |
| ![dirt skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive.png) | ![mint skin](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive.png) | ![sunrise skin](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive.png) |
| [![dirt skin](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive-large.png) | [![mint skin](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive-large.png) | [![sunrise skin](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive-large.png) |
| `aqua` | `neon` | `plum` |
| --- | --- | --- |
| ![aqua skin](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive.png) | ![neon skin](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive.png) | ![plum skin](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive.png) |
| [![aqua skin](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive-large.png) | [![neon skin](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive-large.png) | [![plum skin](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive.png)](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive-large.png) |
## Demo pages
@@ -126,9 +126,9 @@ To install:
bundle
```
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.17.2"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.20.2"` 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
@@ -198,7 +198,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
The MIT License (MIT)
Copyright (c) 2013-2019 Michael Rose and contributors
Copyright (c) 2013-2020 Michael Rose and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -238,7 +238,7 @@ Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opens
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
Copyright (c) 2013 Dave Rubert and Chris Coyier.
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
FitVids is distributed under the terms of the [WTFPL License](http://www.wtfpl.net/).
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
+6 -19
View File
@@ -43,23 +43,9 @@ comments:
utterances:
theme : # "github-light" (default), "github-dark"
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}" (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
staticman:
branch : # "master"
endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
reCaptcha:
siteKey :
secret :
@@ -99,7 +85,7 @@ social:
# Analytics
analytics:
provider : false # false (default), "google", "google-universal", "custom"
provider : false # false (default), "google", "google-universal", "google-gtag", "custom"
google:
tracking_id :
anonymize_ip : # true, false (default)
@@ -115,7 +101,7 @@ author:
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
# url: mailto:your.name@email.com
# url: "mailto:your.name@email.com"
- label: "Website"
icon: "fas fa-fw fa-link"
# url: "https://your-website.com"
@@ -180,6 +166,7 @@ exclude:
- log
- node_modules
- package.json
- package-lock.json
- Rakefile
- README
- tmp
+222 -33
View File
@@ -47,6 +47,7 @@ en: &DEFAULT_EN
loading_label : "Loading..."
search_label_text : "Enter your search term..."
search_placeholder_text : "Enter your search term..."
search_algolia_no_results : "No results"
results_found : "Result(s) found"
back_to_top : "Back to top"
en-US:
@@ -105,6 +106,7 @@ es: &DEFAULT_ES
loading_label : "Cargando..."
search_label_text : "Términos de búsqueda..."
search_placeholder_text : "Términos de búsqueda..."
search_algolia_no_results :
results_found : "resultado(s) encontrado(s)"
back_to_top : "Volver arriba"
es-ES:
@@ -159,6 +161,7 @@ fr: &DEFAULT_FR
loading_label : "Chargement..."
search_label_text :
search_placeholder_text : "Entrez votre recherche..."
search_algolia_no_results :
results_found : "Résultat(s) trouvé(s)"
back_to_top : "Retour en haut"
fr-FR:
@@ -214,6 +217,7 @@ tr: &DEFAULT_TR
comment_error_msg : "Maalesef bir hata oluştu. Lütfen zorunlu olan tüm alanları doldurduğunuzdan emin olun ve sonrasında tekrar deneyin."
loading_label : "Yükleniyor..."
search_label_text :
search_algolia_no_results :
tr-TR:
<<: *DEFAULT_TR
@@ -263,6 +267,7 @@ pt: &DEFAULT_PT
comment_error_msg : "Lamento, ocorreu um erro na sua submissão. Por favor verifique se todos os campos obrigatórios estão corretamente preenchidos e tente novamente."
loading_label : "A carregar..."
search_label_text :
search_algolia_no_results :
pt-PT:
<<: *DEFAULT_PT
# Brazilian Portuguese
@@ -311,6 +316,7 @@ pt-BR:
loading_label : "Carregando..."
search_label_text :
search_placeholder_text : "Pesquisar..."
search_algolia_no_results :
results_found : "Resultado(s) encontrado(s)"
back_to_top : "Voltar para o topo"
@@ -361,6 +367,7 @@ it: &DEFAULT_IT
loading_label : "Caricamento..."
search_label_text :
search_placeholder_text : "Inserisci termini di ricerca..."
search_algolia_no_results :
results_found : "Risultati"
back_to_top : "Vai su"
it-IT:
@@ -369,18 +376,18 @@ it-IT:
# Chinese (zh-CN Chinese - China)
# --------------------------------
zh: &DEFAULT_ZH_HANS
skip_links :
skip_primary_nav :
skip_content :
skip_footer :
skip_links : "跳转链接"
skip_primary_nav : "转到主导航栏"
skip_content : "转到内容"
skip_footer : "转到底部"
page : "页面"
pagination_previous : "向前"
pagination_next : "向后"
pagination_previous : "上一页"
pagination_next : "下一页"
breadcrumb_home_label : "首页"
breadcrumb_separator : "/"
menu_label : "切换菜单"
search_label :
toc_label : "在本页上"
search_label : "切换搜索"
toc_label : "目录"
ext_link_label : "直接链接"
less_than : "少于"
minute_read : "分钟阅读"
@@ -411,8 +418,9 @@ zh: &DEFAULT_ZH_HANS
comment_success_msg : "感谢您的评论!被批准后它会立即在此站点展示。"
comment_error_msg : "很抱歉,您的提交存在错误。请确保所有必填字段都已填写正确,然后再试一次。"
loading_label : "正在加载..."
search_label_text :
search_label_text : "输入您要搜索的关键词..."
search_placeholder_text : "输入您要搜索的关键词..."
search_algolia_no_results : "无结果"
results_found : "条记录匹配"
back_to_top : "返回顶部"
zh-CN:
@@ -422,16 +430,16 @@ zh-SG:
# Taiwan (Traditional Chinese)
zh-TW: &DEFAULT_ZH_HANT
skip_links :
skip_primary_nav :
skip_content :
skip_footer :
skip_primary_nav : "轉至主導航欄"
skip_content : "轉至内容"
skip_footer : "轉至頁脚"
page : "頁面"
pagination_previous : "較舊"
pagination_next : "較新"
pagination_previous : "前一頁"
pagination_next : "後一頁"
breadcrumb_home_label : "首頁"
breadcrumb_separator : "/"
menu_label : "切換選單"
search_label :
search_label : "切換搜索"
toc_label : "本頁"
ext_link_label : "外部連結"
less_than : "少於"
@@ -454,7 +462,7 @@ zh-TW: &DEFAULT_ZH_HANT
undefined_wpm : "_config.yml 中未定義 words_per_minute"
comment_form_info : "您的電子信箱不會被公開. 必填部份已標記"
comment_form_comment_label : "留言內容"
comment_form_md_info : "支援Markdown語法。"
comment_form_md_info : "支援 Markdown 語法。"
comment_form_name_label : "名字"
comment_form_email_label : "電子信箱帳號"
comment_form_website_label : "網頁 (可選填)"
@@ -463,7 +471,11 @@ zh-TW: &DEFAULT_ZH_HANT
comment_success_msg : "感謝您的留言! 審核後將會顯示在站上。"
comment_error_msg : "抱歉,部份資料輸入有問題。請確認資料填寫正確後再試一次。"
loading_label : "載入中..."
search_label_text :
search_label_text : "輸入您要搜索的關鍵詞..."
search_placeholder_text : "輸入您要搜索的關鍵詞..."
search_algolia_no_results : "沒有結果"
results_found : "條匹配的記錄"
back_to_top : "回到頂部"
zh-HK:
<<: *DEFAULT_ZH_HANT
@@ -514,6 +526,7 @@ de: &DEFAULT_DE
loading_label : "Lade..."
search_label_text :
search_placeholder_text : "Suchbegriff eingeben..."
search_algolia_no_results :
results_found : "Ergebnis(se) gefunden"
de-DE:
<<: *DEFAULT_DE
@@ -574,6 +587,7 @@ ne: &DEFAULT_NE
comment_error_msg : "माफ गर्नुहोस्, तपाईंको टिप्पणी त्रुटि थियो।सबै आवश्यक जानकारीहरु पूरा गरिएको छ भने निश्चित गर्नुहोस् र फेरि प्रयास गर्नुहोस्।"
loading_label : "लोड हुँदैछ ..."
search_label_text :
search_algolia_no_results :
ne-NP:
<<: *DEFAULT_NE
@@ -624,6 +638,7 @@ ko: &DEFAULT_KO
loading_label : "로딩중..."
search_label_text :
search_placeholder_text : "검색어를 입력하세요..."
search_algolia_no_results :
results_found : "개 결과 발견"
back_to_top : "맨 위로 이동"
ko-KR:
@@ -676,6 +691,7 @@ ru: &DEFAULT_RU
loading_label : "Отправка..."
search_label_text :
search_placeholder_text : "Введите поисковый запрос..."
search_algolia_no_results :
results_found : "Найдено"
ru-RU:
<<: *DEFAULT_RU
@@ -726,6 +742,7 @@ lt: &DEFAULT_LT
comment_error_msg : "Atleiskite, įvyko netikėta klaida įrašant komentarą. Pasitikrinkite ar užpildėte visus būtinus laukus ir pamėginkite dar kartą."
loading_label : "Kraunama..."
search_label_text :
search_algolia_no_results :
lt-LT:
<<: *DEFAULT_LT
@@ -776,6 +793,7 @@ gr: &DEFAULT_GR
loading_label : "Φόρτωση..."
search_label_text :
search_placeholder_text : "Εισάγετε όρο αναζήτησης..."
search_algolia_no_results :
results_found : "Αποτελέσματα"
gr-GR:
<<: *DEFAULT_GR
@@ -827,6 +845,7 @@ sv: &DEFAULT_SV
loading_label : "Laddar..."
search_label_text :
search_placeholder_text : "Fyll i sökterm..."
search_algolia_no_results :
results_found : "Resultat funna"
back_to_top : "Tillbaka till toppen"
sv-SE:
@@ -879,7 +898,11 @@ nl: &DEFAULT_NL
comment_success_msg : "Bedankt voor uw reactie! Het zal op de site worden weergegeven zodra het is goedgekeurd."
comment_error_msg : "Sorry, er is een fout opgetreden bij uw inzending. Zorg ervoor dat alle vereiste velden zijn voltooid en probeer het opnieuw."
loading_label : "Laden..."
search_label_text :
search_label_text : "Geef uw zoekterm in..."
search_placeholder_text : "Geef uw zoekterm in..."
search_algolia_no_results :
results_found : "Resultaat gevonden"
back_to_top : "Terug naar boven"
nl-BE:
<<: *DEFAULT_NL
nl-NL:
@@ -931,39 +954,40 @@ id: &DEFAULT_ID
comment_error_msg : "Maaf, ada kesalahan pada submisi Anda. Pastikan seluruh kolom sudah dilengkapi dan coba kembali."
loading_label : "Sedang meload..."
search_label_text :
search_algolia_no_results :
id-ID:
<<: *DEFAULT_ID
# Vietnamese
# ----------
vi: &DEFAULT_VI
skip_links :
skip_primary_nav :
skip_content :
skip_footer :
skip_links : "Đường dẫn tắt"
skip_primary_nav : "Nhảy tới thanh điều hướng"
skip_content : "Nhảy tới nội dung"
skip_footer : "Nhảy tới chân trang"
page : "Trang"
pagination_previous : "Trước"
pagination_next : "Sau"
pagination_next : "Kế tiếp"
breadcrumb_home_label : "Trang chủ"
breadcrumb_separator : "/"
menu_label : "Menu"
search_label :
search_label : "Tìm kiếm"
toc_label : "Tại trang này"
ext_link_label : "Đường dẫn trực tiếp"
less_than : "nhỏ hơn"
minute_read : "phút đọc"
less_than : "chỉ cần"
minute_read : "phút để đọc"
share_on_label : "Chia sẻ tại"
meta_label :
tags_label : "Nhãn:"
categories_label : "Chủ đề:"
date_label : "Cập nhật:"
tags_label : "Thẻ:"
categories_label : "Danh mục:"
date_label : "Ngày cập nhật:"
comments_label : "Để lại bình luận"
comments_title : "Bình luận"
more_label : "Mở rộng"
related_label : "Có thể bạn cũng thích"
follow_label : "Theo dõi:"
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"
email_label : "Email"
recent_posts : "Bài viết mới"
@@ -979,8 +1003,9 @@ 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_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..."
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_algolia_no_results :
results_found : "Kết quả tìm được"
back_to_top : "Lên đầu trang"
vi-VN:
@@ -1033,6 +1058,7 @@ da: &DEFAULT_DA
loading_label : "Indlæser..."
search_label_text :
search_placeholder_text : "Hvad leder du efter..."
search_algolia_no_results :
results_found : "Resultat(er) fundet"
back_to_top : "Tilbage til toppen"
da-DK:
@@ -1084,6 +1110,7 @@ pl: &DEFAULT_PL
comment_error_msg : "Niestety wystąpił błąd. Proszę upewnij się, że wszystkie wymagane pola zostały wypełnione i spróbuj ponownie."
loading_label : "Trwa ładowanie strony..."
search_label_text :
search_algolia_no_results : "Brak wyników"
pl-PL:
<<: *DEFAULT_PL
@@ -1134,6 +1161,7 @@ ja: &DEFAULT_JA
loading_label : "読み込み中..."
search_label_text :
search_placeholder_text : "検索キーワードを入力してください..."
search_algolia_no_results :
results_found : "件"
ja-JP:
<<: *DEFAULT_JA
@@ -1185,6 +1213,7 @@ sk: &DEFAULT_SK
loading_label : "Načítava sa..."
search_label_text :
search_placeholder_text : "Zadaj hľadaný výraz..."
search_algolia_no_results :
results_found : "Nájdených výsledkov"
back_to_top : "Na začiatok stránky"
sk-SK:
@@ -1237,6 +1266,7 @@ hu: &DEFAULT_HU
loading_label : "Betöltés..."
search_label_text :
search_placeholder_text : "Keresendő szöveg..."
search_algolia_no_results :
results_found : "Találatok:"
back_to_top : "Oldal tetejére"
hu-HU:
@@ -1289,6 +1319,7 @@ ro: &DEFAULT_RO
loading_label : "Se încarcă..."
search_label_text :
search_placeholder_text : "Caută ceva..."
search_algolia_no_results :
results_found : "Rezultate găsite"
back_to_top : "Înapoi în susul paginii"
ro-RO:
@@ -1341,6 +1372,7 @@ pa: &DEFAULT_PA
loading_label : "ਲੋਡ ਹੋ ਰਿਹਾ ਹੈ..."
search_label_text : "ਖੋਜ"
search_placeholder_text : "ਆਪਣੀ ਖੋਜ ਦੇ ਸ਼ਬਦ ਨੂੰ ਦਰਜ ਕਰੋ..."
search_algolia_no_results :
results_found : "ਨਤੀਜਾ ਮਿਲਿਆ/ਮਿਲੇ"
back_to_top : "ਵਾਪਸ ਚੋਟੀ 'ਤੇ ਜਾਓ"
pa-IN:
@@ -1392,6 +1424,7 @@ fa: &DEFAULT_FA
loading_label : "...بارگذاری"
search_label_text :
search_placeholder_text : "...عبارت جستجوی خود را وارد کنید"
search_algolia_no_results :
results_found : "نتایج"
back_to_top : "بازگشت به بالا"
fa-IR:
@@ -1445,6 +1478,7 @@ ml: &DEFAULT_ML
loading_label : "ലോഡിംഗ്..."
search_label_text :
search_placeholder_text : "നിങ്ങളുടെ തിരയൽ പദം നൽകുക..."
search_algolia_no_results :
results_found : "ഫലം (കൾ) കണ്ടെത്തി"
back_to_top : "മുകളിലേയ്ക്ക്"
ml-IN:
@@ -1497,6 +1531,7 @@ th: &DEFAULT_TH
loading_label : "กำลังโหลด..."
search_label_text :
search_placeholder_text : "ใส่คำค้นหาของคุณ..."
search_algolia_no_results :
results_found : "ผลการค้นหา พบ"
back_to_top : "กลับด้านบน"
th-TH:
@@ -1548,11 +1583,12 @@ hi: &DEFAULT_HI
loading_label : "लोड हो रहा है..."
search_label_text : "खोज"
search_placeholder_text : "अपना खोज शब्द दर्ज करें..."
search_algolia_no_results :
results_found : "परिणाम मिला/मिले"
back_to_top : "शीर्ष पर वापस"
hi-IN:
<<: *DEFAULT_HI
# Catalan
# --------------
ca: &DEFAULT_CA
@@ -1600,11 +1636,164 @@ ca: &DEFAULT_CA
loading_label : "Carregant..."
search_label_text : "Introdueix termes per cercar..."
search_placeholder_text : "Introdueix termes per cercar..."
search_algolia_no_results :
results_found : "resultat(s)"
back_to_top : "Torna a dalt"
ca-ES:
<<: *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..."
search_algolia_no_results :
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..."
search_algolia_no_results :
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 : "သင့်ရှာဖွေရေးဝေါဟာရကိုရိုက်ထည့်ပါ..."
search_algolia_no_results :
results_found : "ရလဒ်(များ)ကိုတွေ့ရှိခဲ့သည်"
back_to_top : "အပေါ်သို့ပြန်သွား"
my-MM:
<<: *DEFAULT_MY
# Another locale
# --------------
#
+4 -12
View File
@@ -10,29 +10,21 @@
{% assign title = post.title %}
{% endif %}
<div class="{{ include.type | default: "list" }}__item">
<div class="{{ include.type | default: 'list' }}__item">
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
{% if include.type == "grid" and teaser %}
<div class="archive__item-teaser">
<img src=
{% if teaser contains "://" %}
"{{ teaser }}"
{% else %}
"{{ teaser | relative_url }}"
{% endif %}
alt="">
<img src="{{ teaser | relative_url }}" alt="">
</div>
{% endif %}
<h2 class="archive__item-title" itemprop="headline">
<h2 class="archive__item-title no_toc" itemprop="headline">
{% if post.link %}
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
{% else %}
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
{% endif %}
</h2>
{% if post.read_time %}
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
{% include page__meta.html type=include.type %}
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
</article>
</div>
+31 -42
View File
@@ -5,30 +5,19 @@
{% if 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 contains "://" %}
{% assign author_link = author.home %}
{% else %}
{% assign author_link = author.home | relative_url %}
{% endif %}
<a href="{{ author_link }}">
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
<a href="{{ author.home | relative_url }}">
<img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image">
</a>
{% else %}
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
<img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image">
{% endif %}
</div>
{% endif %}
<div class="author__content">
{% if author.home %}
<a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
<a href="{{ author.home | relative_url }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
{% else %}
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% endif %}
@@ -51,7 +40,7 @@
{% if author.links %}
{% for link in author.links %}
{% 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 %}
{% endfor %}
{% endif %}
@@ -59,7 +48,7 @@
{% if author.uri %}
<li>
<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>
</li>
{% endif %}
@@ -68,7 +57,7 @@
<li>
<a href="mailto:{{ 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>
</li>
{% endif %}
@@ -76,7 +65,7 @@
{% if author.keybase %}
<li>
<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>
</li>
{% endif %}
@@ -84,7 +73,7 @@
{% if author.twitter %}
<li>
<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>
</li>
{% endif %}
@@ -92,7 +81,7 @@
{% if author.facebook %}
<li>
<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>
</li>
{% endif %}
@@ -100,7 +89,7 @@
{% if author.linkedin %}
<li>
<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>
</li>
{% endif %}
@@ -108,7 +97,7 @@
{% if author.xing %}
<li>
<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>
</li>
{% endif %}
@@ -116,7 +105,7 @@
{% if author.instagram %}
<li>
<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>
</li>
{% endif %}
@@ -124,7 +113,7 @@
{% if author.tumblr %}
<li>
<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>
</li>
{% endif %}
@@ -132,7 +121,7 @@
{% if author.bitbucket %}
<li>
<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>
</li>
{% endif %}
@@ -140,7 +129,7 @@
{% if author.github %}
<li>
<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>
</li>
{% endif %}
@@ -148,7 +137,7 @@
{% if author.gitlab %}
<li>
<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>
</li>
{% endif %}
@@ -156,7 +145,7 @@
{% if author.stackoverflow %}
<li>
<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>
</li>
{% endif %}
@@ -164,7 +153,7 @@
{% if author.lastfm %}
<li>
<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>
</li>
{% endif %}
@@ -172,7 +161,7 @@
{% if author.dribbble %}
<li>
<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>
</li>
{% endif %}
@@ -180,7 +169,7 @@
{% if author.pinterest %}
<li>
<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>
</li>
{% endif %}
@@ -188,7 +177,7 @@
{% if author.foursquare %}
<li>
<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>
</li>
{% endif %}
@@ -196,7 +185,7 @@
{% if author.steam %}
<li>
<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>
</li>
{% endif %}
@@ -205,13 +194,13 @@
{% if author.youtube contains "://" %}
<li>
<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>
</li>
{% else author.youtube %}
{% elsif author.youtube %}
<li>
<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>
</li>
{% endif %}
@@ -220,7 +209,7 @@
{% if author.soundcloud %}
<li>
<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>
</li>
{% endif %}
@@ -228,7 +217,7 @@
{% if author.weibo %}
<li>
<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>
</li>
{% endif %}
@@ -236,7 +225,7 @@
{% if author.flickr %}
<li>
<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>
</li>
{% endif %}
@@ -244,7 +233,7 @@
{% if author.codepen %}
<li>
<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>
</li>
{% endif %}
@@ -252,7 +241,7 @@
{% if author.vine %}
<li>
<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>
</li>
{% endif %}
+1 -1
View File
@@ -13,7 +13,7 @@
<p class="comment__date">
{% if include.date %}
{% if include.index %}<a href="#comment{{ include.index }}" itemprop="url">{% endif %}
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %d, %Y at %I:%M %p" }}</time>
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %-d, %Y at %I:%M %p" }}</time>
{% if include.index %}</a>{% endif %}
{% endif %}
</p>
@@ -0,0 +1,3 @@
<!-- start custom comments scripts -->
<!-- end custom comments scripts -->
+3 -3
View File
@@ -1,10 +1,10 @@
{% if site.comments.disqus.shortname %}
<script>
var disqus_config = function () {
this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = "{{ page.id }}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
this.page.url = "{{ page.url | absolute_url }}"; /* Replace PAGE_URL with your page's canonical URL variable */
this.page.identifier = "{{ page.id }}"; /* Replace PAGE_IDENTIFIER with your page's unique identifier variable */
};
(function() { // DON'T EDIT BELOW THIS LINE
(function() { /* DON'T EDIT BELOW THIS LINE */
var d = document, s = d.createElement('script');
s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
+1 -1
View File
@@ -13,6 +13,6 @@
{% when "utterances" %}
{% include /comments-providers/utterances.html %}
{% when "custom" %}
{% include /comments-providers/custom.html %}
{% include /comments-providers/custom_scripts.html %}
{% endcase %}
{% endif %}
@@ -1,4 +1,4 @@
{% if site.repository and site.staticman.branch %}
{% if site.repository and site.comments.staticman.branch %}
<script>
(function ($) {
$('#new_comment').submit(function () {
+3 -3
View File
@@ -12,7 +12,7 @@
<section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
{% when "staticman_v2" %}
<section id="static-comments">
{% if site.repository and site.staticman.branch %}
{% if site.repository and site.comments.staticman.branch %}
<!-- Start static comments -->
<div class="js-comments">
{% if site.data.comments[page.slug] %}
@@ -35,7 +35,7 @@
<div class="page__comments-form">
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
<form id="new_comment" class="page__comments-form js-form form" method="post" action="{{ site.staticman.endpoint | default: 'https://api.staticman.net/v2/entry/' }}{{ site.repository }}/{{ site.staticman.branch }}/comments">
<form id="new_comment" class="page__comments-form js-form form" method="post" action="{{ site.comments.staticman.endpoint | default: 'https://api.staticman.net/v2/entry/' }}{{ site.repository }}/{{ site.comments.staticman.branch }}/comments">
<div class="form__spinner">
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
@@ -154,6 +154,6 @@
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="utterances-comments"></section>
{% when "custom" %}
<section id="custom-comments"></section>
{% include /comments-providers/custom.html %}
{% endcase %}
</div>
+3 -1
View File
@@ -15,5 +15,7 @@
{% endif %}
{%- for post in entries -%}
{% include archive-single.html %}
{%- unless post.hidden -%}
{% include archive-single.html %}
{%- endunless -%}
{%- endfor -%}
+4 -16
View File
@@ -7,24 +7,12 @@
<div class="feature__wrapper">
{% 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="archive__item">
{% if f.image_path %}
<div class="archive__item-teaser">
<img src=
{% if f.image_path contains "://" %}
"{{ f.image_path }}"
{% else %}
"{{ f.image_path | relative_url }}"
{% endif %}
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
<img src="{{ f.image_path | relative_url }}"
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
{% if f.image_caption %}
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
{% endif %}
@@ -43,11 +31,11 @@
{% endif %}
{% 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 %}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
+5 -8
View File
@@ -1,12 +1,9 @@
<figure class="{{ include.class }}">
<img src=
{% if include.image_path contains "://" %}
"{{ include.image_path }}"
{% else %}
"{{ include.image_path | relative_url }}"
{% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
<img src="{{ include.image_path | relative_url }}"
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %}
<figcaption>
{{ 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 }}">
{% for img in gallery %}
{% if img.url %}
<a href=
{% if img.url contains "://" %}
"{{ img.url }}"
{% else %}
"{{ 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 href="{{ img.url | relative_url }}"
{% if img.title %}title="{{ img.title }}"{% endif %}>
<img src="{{ img.image_path | relative_url }}"
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
</a>
{% else %}
<img src=
{% if img.image_path contains "://" %}
"{{ img.image_path }}"
{% else %}
"{{ img.image_path | relative_url }}"
{% endif %}
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
<img src="{{ img.image_path | relative_url }}"
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
{% endif %}
{% endfor %}
{% if include.caption %}
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
{% endif %}
</figure>
</figure>
+2 -6
View File
@@ -13,6 +13,7 @@
<!-- For all browsers -->
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
<!--[if IE]>
<style>
@@ -31,11 +32,6 @@
{% if site.head_scripts %}
{% for script in site.head_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
<script src="{{ script | relative_url }}"></script>
{% endfor %}
{% endif %}
+2 -11
View File
@@ -1,8 +1,4 @@
{% if site.logo contains "://" %}
{% capture logo_path %}{{ site.logo }}{% endcapture %}
{% else %}
{% capture logo_path %}{{ site.logo }}{% endcapture %}
{% endif %}
{% capture logo_path %}{{ site.logo }}{% endcapture %}
<div class="masthead">
<div class="masthead__inner-wrap">
@@ -17,13 +13,8 @@
</a>
<ul class="visible-links">
{%- 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">
<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>
{%- endfor -%}
</ul>
+3 -24
View File
@@ -8,14 +8,7 @@
{% for nav in navigation %}
<li>
{% if nav.url %}
{% comment %} internal/external URL check {% endcomment %}
{% 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>
<a href="{{ nav.url | relative_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
{% else %}
<span class="nav__sub-title">{{ nav.title }}</span>
{% endif %}
@@ -23,25 +16,11 @@
{% if nav.children != null %}
<ul>
{% for child in nav.children %}
{% comment %} internal/external URL check {% endcomment %}
{% 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>
<li><a href="{{ child.url | relative_url }}"{% if child.url == page.url %} class="active"{% endif %}>{{ child.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</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 %}
+8 -29
View File
@@ -1,20 +1,4 @@
{% if page.header.image contains "://" %}
{% 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 %}
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
{% if page.header.overlay_filter contains "rgba" %}
{% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %}
@@ -42,29 +26,24 @@
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
{% endif %}
</h1>
{% if page.header.show_overlay_excerpt != false and page.excerpt %}
{% if page.tagline %}
<p class="page__lead">{{ page.tagline | markdownify | remove: "<p>" | remove: "</p>" }}</p>
{% elsif page.header.show_overlay_excerpt != false and page.excerpt %}
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
{% endif %}
{% if page.read_time %}
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
{% include page__meta.html %}
{% 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 %}
{% if page.header.actions %}
<p>
{% for action in page.header.actions %}
{% if action.url contains "://" %}
{% 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>
<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>
{% endfor %}
{% endif %}
</div>
{% 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 %}
{% if page.header.caption %}
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
+2 -4
View File
@@ -1,4 +1,2 @@
{% capture video_id %}{{ page.header.video.id }}{% endcapture %}
{% capture video_provider %}{{ page.header.video.provider }}{% endcapture %}
{% include video id=video_id provider=video_provider %}
{% assign video = page.header.video %}
{% include video id=video.id provider=video.provider danmaku=video.danmaku %}
+30
View File
@@ -0,0 +1,30 @@
{% assign document = post | default: page %}
{% if document.read_time or document.show_date %}
<p class="page__meta">
{% if document.show_date and document.date %}
{% assign date = document.date %}
<span class="page__meta-date">
<i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-calendar-alt" aria-hidden="true"></i>
<time datetime="{{ date | date_to_xmlschema }}">{{ date | date: "%B %-d, %Y" }}</time>
</span>
{% endif %}
{% if document.read_time and document.show_date %}<span class="page__meta-sep"></span>{% endif %}
{% if document.read_time %}
{% assign words_per_minute = document.words_per_minute | default: site.words_per_minute | default: 200 %}
{% assign words = document.content | strip_html | number_of_words %}
<span class="page__meta-readtime">
<i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-clock" aria-hidden="true"></i>
{% if words < words_per_minute %}
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% elsif words == words_per_minute %}
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% else %}
{{ words | divided_by: words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %}
</span>
{% endif %}
</p>
{% endif %}
+1 -1
View File
@@ -1,6 +1,6 @@
{% if paginator.total_pages > 1 %}
<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>
{% comment %} Link for previous page {% endcomment %}
{% if paginator.previous_page %}
+3 -1
View File
@@ -1,3 +1,5 @@
{%- for post in site.categories[include.taxonomy] -%}
{% include archive-single.html %}
{%- unless post.hidden -%}
{% include archive-single.html %}
{%- endunless -%}
{%- endfor -%}
+3 -1
View File
@@ -1,3 +1,5 @@
{%- for post in site.tags[include.taxonomy] -%}
{% include archive-single.html %}
{%- unless post.hidden -%}
{% include archive-single.html %}
{%- endunless -%}
{%- endfor -%}
-15
View File
@@ -1,15 +0,0 @@
{% assign words_per_minute = page.words_per_minute | default: site.words_per_minute | default: 200 %}
{% if post.read_time %}
{% assign words = post.content | strip_html | number_of_words %}
{% elsif page.read_time %}
{% assign words = page.content | strip_html | number_of_words %}
{% endif %}
{% if words < words_per_minute %}
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% elsif words == words_per_minute %}
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% else %}
{{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %}
+2 -13
View File
@@ -1,15 +1,9 @@
{% if site.footer_scripts %}
{% for script in site.footer_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
<script src="{{ script | relative_url }}"></script>
{% endfor %}
{% else %}
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
<script src="https://kit.fontawesome.com/4eee35f757.js"></script>
{% endif %}
{% if site.search == true or page.layout == "search" %}
@@ -29,11 +23,6 @@
{% if site.after_footer_scripts %}
{% for script in site.after_footer_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
{% endif %}
<script src="{{ script_path }}"></script>
<script src="{{ script | relative_url }}"></script>
{% endfor %}
{% endif %}
+10 -3
View File
@@ -44,11 +44,18 @@ search.addWidget(
instantsearch.widgets.hits({
container: '.search-hits',
templates: {
item: hitTemplate
item: hitTemplate,
empty: '{{ site.data.ui-text[site.locale].search_algolia_no_results | default: "No results" }}',
}
})
);
// Starting the search
search.start();
// Starting the search only when toggle is clicked
$(document).ready(function () {
$(".search__toggle").on("click", function() {
if(!search.started) {
search.start();
}
});
});
</script>
+8 -14
View File
@@ -22,7 +22,7 @@
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
{%- if seo_description -%}
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
{%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once | strip -%}
{%- endif -%}
{%- assign author = page.author | default: page.authors[0] | default: site.author -%}
@@ -32,22 +32,13 @@
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
{%- endif -%}
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image -%}
{%- unless page_large_image contains '://' -%}
{%- assign page_large_image = page_large_image | absolute_url -%}
{%- endunless -%}
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image | absolute_url -%}
{%- assign page_large_image = page_large_image | escape -%}
{%- assign page_teaser_image = page.header.teaser | default: site.og_image -%}
{%- unless page_teaser_image contains '://' -%}
{%- assign page_teaser_image = page_teaser_image | absolute_url -%}
{%- endunless -%}
{%- assign page_teaser_image = page.header.teaser | default: site.og_image | absolute_url -%}
{%- assign page_teaser_image = page_teaser_image | escape -%}
{%- assign site_og_image = site.og_image -%}
{%- unless site_og_image contains '://' -%}
{%- assign site_og_image = site_og_image | absolute_url -%}
{%- endunless -%}
{%- assign site_og_image = site.og_image | absolute_url -%}
{%- assign site_og_image = site_og_image | escape -%}
{%- if page.date -%}
@@ -61,6 +52,9 @@
{% if author.name %}
<meta name="author" content="{{ author.name | default: author }}">
{% if og_type == "article" %}
<meta property="article:author" content="{{ author.name | default: author }}">
{% endif %}
{% endif %}
<meta property="og:type" content="{{ og_type }}">
@@ -69,7 +63,7 @@
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
<meta property="og:url" content="{{ canonical_url }}">
{% if page.excerpt %}
{% if seo_description %}
<meta property="og:description" content="{{ seo_description }}">
{% endif %}
+3 -8
View File
@@ -4,13 +4,8 @@
{% if page.sidebar %}
{% for s in page.sidebar %}
{% if s.image %}
<img src=
{% if s.image contains "://" %}
"{{ s.image }}"
{% else %}
"{{ s.image | relative_url }}"
{% endif %}
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
<img src="{{ s.image | relative_url }}"
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
{% endif %}
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
{% if s.text %}{{ s.text | markdownify }}{% endif %}
@@ -21,4 +16,4 @@
{% endif %}
{% endif %}
</div>
{% endif %}
{% endif %}
+25 -14
View File
@@ -1,6 +1,6 @@
{% capture tocWorkspace %}
{% comment %}
Version 1.0.5
Version 1.0.8
https://github.com/allejo/jekyll-toc
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
@@ -9,20 +9,22 @@
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
Parameters:
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
Optional Parameters:
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
* class (string) : '' - a CSS class assigned to the TOC
* id (string) : '' - an ID to assigned to the TOC
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
* item_class (string) : '' - add custom class for each list item; has support for '%level%' placeholder, which is the current heading level
* baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
* class (string) : '' - a CSS class assigned to the TOC
* id (string) : '' - an ID to assigned to the TOC
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
* item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level
* baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
* anchor_class (string) : '' - add custom class(es) for each anchor element
Output:
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
generate the table of contents and will NOT output the markdown given to it
{% endcomment %}
{% capture my_toc %}{% endcapture %}
@@ -50,13 +52,21 @@
{% assign minHeader = headerLevel %}
{% endif %}
{% assign indentAmount = headerLevel | minus: minHeader | add: 1 %}
{% assign indentAmount = headerLevel | minus: minHeader %}
{% assign _workspace = node | split: '</h' %}
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
{% assign html_id = _idWorkspace[0] %}
{% assign _classWorkspace = _workspace[0] | split: 'class="' %}
{% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
{% assign html_class = _classWorkspace[0] %}
{% if html_class contains "no_toc" %}
{% continue %}
{% endif %}
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
@@ -69,8 +79,9 @@
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
{% endunless %}
{% capture heading_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
{% capture my_toc %}{{ my_toc }}
{{ space }}{{ listModifier }} {{ listItemClass }} [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% endcapture %}
{{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %}
{% endfor %}
{% if include.class %}
@@ -82,4 +93,4 @@
{% capture my_toc %}{: #{{ include.id }}}
{{ my_toc | lstrip }}{% endcapture %}
{% endif %}
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
+20 -9
View File
@@ -1,13 +1,24 @@
{% capture video_id %}{{ include.id }}{% endcapture %}
{% capture video_provider %}{{ include.provider }}{% endcapture %}
{% capture video_danmaku %}{{ include.danmaku | default: 0 }}{% endcapture %}
{% capture video_src %}
{% case video_provider %}
{% when "vimeo" %}
https://player.vimeo.com/video/{{ video_id }}?dnt=true
{% when "youtube" %}
https://www.youtube-nocookie.com/embed/{{ video_id }}
{% when "google-drive" %}
https://drive.google.com/file/d/{{ video_id }}/preview
{% when "bilibili" %}
https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku={{ video_danmaku }}
{% endcase %}
{% endcapture %}
{% assign video_src = video_src | strip %}
<!-- Courtesy of embedresponsively.com //-->
<div class="responsive-video-container">
{% if video_provider == "vimeo" %}
<iframe src="https://player.vimeo.com/video/{{ video_id }}?dnt=true" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
{% elsif video_provider == "youtube" %}
<iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
{% elsif video_provider == "google-drive" %}
<iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>
{% endif %}
</div>
{% unless video_src == "" %}
<div class="responsive-video-container">
<iframe src="{{ video_src }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
</div>
{% endunless %}
+16 -2
View File
@@ -3,13 +3,27 @@ layout: default
author_profile: false
---
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %}
{% if page.url != "/" and site.breadcrumbs %}
{% unless paginator %}
{% include breadcrumbs.html %}
{% endunless %}
{% endif %}
<div id="main" role="main">
{% include sidebar.html %}
<div class="archive">
<h1 class="page__title">{{ page.title }}</h1>
{% unless page.header.overlay_color or page.header.overlay_image %}
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
{% endunless %}
{% for post in page.posts %}
{% include archive-single.html %}
{% endfor %}
</div>
</div>
</div>
+3 -2
View File
@@ -25,14 +25,15 @@ layout: archive
{% endfor %}
</ul>
{% assign entries_layout = page.entries_layout | default: 'list' %}
{% for i in (1..categories_max) reversed %}
{% for category in site.categories %}
{% if category[1].size == i %}
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ category[0] }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
<div class="entries-{{ entries_layout }}">
{% for post in category.last %}
{% include archive-single.html type=page.entries_layout %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
+3 -2
View File
@@ -4,6 +4,7 @@ layout: archive
{{ content }}
<div class="entries-{{ page.entries_layout }}">
{% include posts-category.html taxonomy=page.taxonomy type=page.entries_layout %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% include posts-category.html taxonomy=page.taxonomy type=entries_layout %}
</div>
+3 -2
View File
@@ -4,6 +4,7 @@ layout: archive
{{ content }}
<div class="entries-{{ page.entries_layout }}">
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order type=page.entries_layout %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order type=entries_layout %}
</div>
+2 -2
View File
@@ -3,8 +3,8 @@
<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.17.2 by Michael Rose
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
Minimal Mistakes Jekyll Theme 4.20.2 by Michael Rose
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
-->
+12 -3
View File
@@ -6,8 +6,17 @@ layout: archive
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
{% for post in paginator.posts %}
{% include archive-single.html %}
{% endfor %}
{% if paginator %}
{% assign posts = paginator.posts %}
{% else %}
{% assign posts = site.posts %}
{% endif %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% for post in posts %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
{% include paginator.html %}
+5 -4
View File
@@ -5,7 +5,7 @@ layout: archive
{{ content }}
<ul class="taxonomy__index">
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% assign postsInYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% for year in postsInYear %}
<li>
<a href="#{{ year.name }}">
@@ -15,13 +15,14 @@ layout: archive
{% endfor %}
</ul>
{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
{% assign postsByYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% for year in postsByYear %}
<section id="{{ year.name }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ year.name }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
<div class="entries-{{ entries_layout }}">
{% for post in year.items %}
{% include archive-single.html type=page.entries_layout %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
+4 -10
View File
@@ -20,16 +20,14 @@ layout: default
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
<div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image %}
<header>
{% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
{% if page.read_time %}
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
{% include page__meta.html %}
</header>
{% endunless %}
@@ -51,11 +49,7 @@ layout: default
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
{% endif %}
{% include page__taxonomy.html %}
{% 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 %}
{% include page__date.html %}
</footer>
{% if page.share %}{% include social-share.html %}{% endif %}
+2 -2
View File
@@ -12,8 +12,8 @@ layout: default
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
<section class="page__content" itemprop="text">
{{ content }}
+3 -2
View File
@@ -4,6 +4,7 @@ layout: archive
{{ content }}
<div class="entries-{{ page.entries_layout | default: 'list' }}">
{% include posts-tag.html taxonomy=page.taxonomy type=page.entries_layout %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
<div class="entries-{{ entries_layout }}">
{% include posts-tag.html taxonomy=page.taxonomy type=entries_layout %}
</div>
+3 -2
View File
@@ -25,14 +25,15 @@ layout: archive
{% endfor %}
</ul>
{% assign entries_layout = page.entries_layout | default: 'list' %}
{% for i in (1..tags_max) reversed %}
{% for tag in site.tags %}
{% if tag[1].size == i %}
<section id="{{ tag[0] | slugify | downcase }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ tag[0] }}</h2>
<div class="entries-{{ page.entries_layout | default: 'list' }}">
<div class="entries-{{ entries_layout }}">
{% for post in tag.last %}
{% include archive-single.html type=page.entries_layout %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
+2 -2
View File
@@ -1,6 +1,6 @@
/*!
* Minimal Mistakes Jekyll Theme 4.17.2 by Michael Rose
* Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
* Minimal Mistakes Jekyll Theme 4.20.2 by Michael Rose
* Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
*/
+18 -2
View File
@@ -32,7 +32,7 @@
}
.archive__subtitle {
margin: 1.414em 0 0;
margin: 1.414em 0 0.5em;
padding-bottom: 0.5em;
font-size: $type-size-5;
color: $muted-text-color;
@@ -201,6 +201,14 @@
font-size: 0.6em;
}
.page__meta-sep {
display: block;
&::before {
display: none;
}
}
.archive__item-title {
margin-top: 0.5em;
font-size: $type-size-5;
@@ -444,4 +452,12 @@
padding-right: 0;
}
}
}
}
/* Place inside a single layout */
.layout--single {
.feature__wrapper {
display: inline-block;
}
}
+6 -6
View File
@@ -35,27 +35,27 @@ h6 {
h1 {
margin-top: 0;
font-size: $type-size-3;
font-size: $h-size-1;
}
h2 {
font-size: $type-size-4;
font-size: $h-size-2;
}
h3 {
font-size: $type-size-5;
font-size: $h-size-3;
}
h4 {
font-size: $type-size-6;
font-size: $h-size-4;
}
h5 {
font-size: $type-size-6;
font-size: $h-size-5;
}
h6 {
font-size: $type-size-6;
font-size: $h-size-6;
}
small,
-1
View File
@@ -8,7 +8,6 @@
margin-left: 0;
margin-right: 0;
width: 100%;
clear: both;
margin-top: 3em;
color: $muted-text-color;
-webkit-animation: $intro-transition;
+1 -1
View File
@@ -107,6 +107,7 @@ input[type="radio"] {
cursor: pointer;
border-radius: 0;
border: 0 \9;
box-shadow: none;
}
input[type="checkbox"],
@@ -119,7 +120,6 @@ input[type="radio"] {
input[type="image"] {
border: 0;
box-shadow: none;
}
input[type="file"] {
+1 -1
View File
@@ -50,7 +50,7 @@
-ms-flex-item-align: center;
align-self: center;
font-weight: bold;
z-index: 20;
// z-index: 20;
}
.site-subtitle {
+6 -1
View File
@@ -24,6 +24,7 @@
h4 {
margin-top: 0 !important; /* override*/
margin-bottom: 0.75em;
line-height: inherit;
}
@at-root .page__content #{&} h4 {
@@ -56,6 +57,10 @@
background-color: mix(#fff, $notice-color, 95%)
}
pre code {
background-color: inherit;
}
ul {
&:last-child {
margin-bottom: 0; /* override*/
@@ -97,4 +102,4 @@
.notice--danger {
@include notice($danger-color);
}
}
+9 -3
View File
@@ -299,6 +299,12 @@ body {
text-transform: uppercase;
}
.page__meta-sep::before {
content: "\2022";
padding-left: 0.5em;
padding-right: 0.5em;
}
/*
Page taxonomy
========================================================================== */
@@ -352,11 +358,11 @@ body {
.taxonomy__title {
margin-bottom: 0.5em;
color: lighten($text-color, 60%);
color: $muted-text-color;
}
.taxonomy__count {
color: lighten($text-color, 50%);
color: $muted-text-color;
}
.taxonomy__index {
@@ -389,7 +395,7 @@ body {
.back-to-top {
display: block;
clear: both;
color: lighten($text-color, 50%);
color: $muted-text-color;
font-size: 0.6em;
text-transform: uppercase;
text-align: right;
+40 -12
View File
@@ -8,13 +8,13 @@
.sidebar {
@include clearfix();
@include breakpoint(max-width $large) {
/* fix z-index order of follow links */
position: relative;
z-index: 10;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
// @include breakpoint(max-width $large) {
// /* fix z-index order of follow links */
// position: relative;
// z-index: 10;
// -webkit-transform: translate3d(0, 0, 0);
// transform: translate3d(0, 0, 0);
// }
@include breakpoint($large) {
float: left;
@@ -32,7 +32,7 @@
/* calculate height of nav list
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 {
width: 100%;
&.emoji {
width: 20px;
height: 20px;
@@ -184,8 +184,7 @@
display: table-cell;
vertical-align: middle;
font-family: $sans-serif;
z-index: 10;
position: relative;
z-index: 20;
cursor: pointer;
li:last-child {
@@ -194,13 +193,38 @@
}
}
.author__urls {
span.label {
padding-left: 5px;
}
}
@include breakpoint($large) {
display: block;
}
button {
position: relative;
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) {
display: none;
}
@@ -217,7 +241,6 @@
border: 1px solid $border-color;
border-radius: $border-radius;
background: $background-color;
z-index: -1;
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
cursor: default;
@@ -269,6 +292,11 @@
}
}
ul {
padding: 10px;
list-style-type: none;
}
li {
white-space: nowrap;
}
+31
View File
@@ -253,6 +253,10 @@ body:hover .visually-hidden button {
color: $instagram-color;
}
.fa-keybase {
color: $keybase-color;
}
.fa-lastfm,
.fa-lastfm-square {
color: $lastfm-color;
@@ -381,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 {
.navicon,
.navicon:before,
+12 -3
View File
@@ -43,12 +43,20 @@ $type-size-6: 0.75em !default; // ~12px
$type-size-7: 0.6875em !default; // ~11px
$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
========================================================================== */
$gray: #7a8288 !default;
$dark-gray: mix(#000, $gray, 40%) !default;
$dark-gray: mix(#000, $gray, 50%) !default;
$darker-gray: mix(#000, $gray, 60%) !default;
$light-gray: mix(#fff, $gray, 50%) !default;
$lighter-gray: mix(#fff, $gray, 90%) !default;
@@ -57,7 +65,7 @@ $background-color: #fff !default;
$code-background-color: #fafafa !default;
$code-background-color-dark: $light-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;
$form-background-color: $lighter-gray !default;
$footer-background-color: $lighter-gray !default;
@@ -86,6 +94,7 @@ $foursquare-color: #0072b1 !default;
$github-color: #171516 !default;
$gitlab-color: #e24329 !default;
$instagram-color: #517fa4 !default;
$keybase-color: #ef7639 !default;
$lastfm-color: #d51007 !default;
$linkedin-color: #007bb6 !default;
$mastodon-color: #2b90d9 !default;
@@ -102,7 +111,7 @@ $youtube-color: #bb0000 !default;
$xing-color: #006567 !default;
/* 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-visited: mix(#fff, $link-color, 15%) !default;
$masthead-link-color: $primary-color !default;
+1 -1
View File
@@ -128,7 +128,7 @@ $(document).ready(function() {
var anchor = document.createElement("a");
anchor.className = 'header-link';
anchor.href = '#' + id;
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>';
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fas fa-link\"></i>';
anchor.title = "Permalink";
$(this).append(anchor);
}
+1 -1
View File
@@ -1,5 +1,5 @@
---
layout: null
layout: none
---
var idx = lunr(function () {
+1 -1
View File
@@ -1,5 +1,5 @@
---
layout: null
layout: none
---
step1list = new Array();
+2 -7
View File
@@ -1,5 +1,5 @@
---
layout: null
layout: none
---
var store = [
@@ -43,12 +43,7 @@ var store = [
"categories": {{ doc.categories | jsonify }},
"tags": {{ doc.tags | jsonify }},
"url": {{ doc.url | absolute_url | jsonify }},
"teaser":
{%- if teaser contains "://" -%}
{{ teaser | jsonify }}
{%- else -%}
{{ teaser | absolute_url | jsonify }}
{%- endif -%}
"teaser": {{ teaser | absolute_url | jsonify }}
}{%- unless forloop.last and l -%},{%- endunless -%}
{%- endfor -%}
{%- endfor -%}]
+4 -4
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
Copyright (c) 2015 Luke Jackson
*/
$(document).ready(function() {
$(function() {
var $btn = $("nav.greedy-nav .greedy-nav__toggle");
var $vlinks = $("nav.greedy-nav .visible-links");
var $hlinks = $("nav.greedy-nav .hidden-links");
@@ -24,35 +25,28 @@ $(document).ready(function() {
var availableSpace, numOfVisibleItems, requiredSpace, timer;
function check() {
// Get instant state
availableSpace = $vlinks.width() - $btn.width();
availableSpace = $vlinks.width() - 10;
numOfVisibleItems = $vlinks.children().length;
requiredSpace = breakWidths[numOfVisibleItems - 1];
// There is not enough space
// There is not enought space
if (requiredSpace > availableSpace) {
$vlinks
.children()
.last()
.prependTo($hlinks);
$vlinks.children().last().prependTo($hlinks);
numOfVisibleItems -= 1;
check();
// There is more than enough space
} else if (availableSpace > breakWidths[numOfVisibleItems]) {
$hlinks
.children()
.first()
.appendTo($vlinks);
$hlinks.children().first().appendTo($vlinks);
numOfVisibleItems += 1;
check();
}
// Update the button accordingly
$btn.attr("count", numOfItems - numOfVisibleItems);
if (numOfVisibleItems === numOfItems) {
$btn.addClass("hidden");
} else {
$btn.removeClass("hidden");
}
$btn.addClass('hidden');
} else $btn.removeClass('hidden');
}
// Window listeners
@@ -60,24 +54,21 @@ $(document).ready(function() {
check();
});
$btn.on("click", function() {
$hlinks.toggleClass("hidden");
$(this).toggleClass("close");
$btn.on('click', function() {
$hlinks.toggleClass('hidden');
clearTimeout(timer);
});
$hlinks
.on("mouseleave", function() {
// Mouse has left, start the timer
timer = setTimeout(function() {
$hlinks.addClass("hidden");
$btn.toggleClass("close");
}, closingTime);
})
.on("mouseenter", function() {
// Mouse is back, cancel the timer
clearTimeout(timer);
});
$hlinks.on('mouseleave', function() {
// Mouse has left, start the timer
timer = setTimeout(function() {
$hlinks.addClass('hidden');
}, closingTime);
}).on('mouseenter', function() {
// Mouse is back, cancel the timer
clearTimeout(timer);
})
check();
});
});
+30 -12
View File
@@ -1,7 +1,7 @@
/*!
* smooth-scroll v15.2.1
* smooth-scroll v16.1.2
* Animate scrolling to anchor links
* (c) 2019 Chris Ferdinandi
* (c) 2020 Chris Ferdinandi
* MIT License
* http://github.com/cferdinandi/smooth-scroll
*/
@@ -90,7 +90,7 @@
* Check to see if user prefers reduced motion
* @param {Object} settings Script settings
*/
var reduceMotion = function (settings) {
var reduceMotion = function () {
if ('matchMedia' in window && window.matchMedia('(prefers-reduced-motion)').matches) {
return true;
}
@@ -486,6 +486,12 @@
// Update the URL
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
emitEvent('scrollStart', _settings, anchor, toggle);
@@ -500,15 +506,16 @@
*/
var clickHandler = function (event) {
// Don't run if the user prefers reduced motion
if (reduceMotion(settings)) return;
// Don't run if event was canceled but still bubbled up
// By @mgreter - https://github.com/cferdinandi/smooth-scroll/pull/462/
if (event.defaultPrevented) return;
// Don't run if right-click or command/control + click
if (event.button !== 0 || event.metaKey || event.ctrlKey) return;
// Don't run if right-click or command/control + click or shift + click
if (event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey) return;
// Check if event.target has closest() method
// 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
toggle = event.target.closest(selector);
@@ -518,10 +525,21 @@
if (toggle.hostname !== window.location.hostname || toggle.pathname !== window.location.pathname || !/#/.test(toggle.href)) return;
// 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
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;
// If anchored element exists, scroll to it
@@ -589,7 +607,7 @@
* Initialize Smooth Scroll
* @param {Object} options User settings
*/
smoothScroll.init = function (options) {
var init = function () {
// feature test
if (!supports()) throw 'Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.';
@@ -616,7 +634,7 @@
// Initialize plugin
//
smoothScroll.init(options);
init();
//
+4 -21
View File
@@ -5,7 +5,7 @@
# For technical reasons, this file is *NOT* reloaded automatically when you use
# `jekyll serve`. If you change this file, please restart the server process.
remote_theme : "mmistakes/minimal-mistakes"
remote_theme : "mmistakes/minimal-mistakes@4.20.1"
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
@@ -38,23 +38,6 @@ comments:
utterances:
theme : # "github-light" (default), "github-dark"
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:
siteKey : # "6LdRBykTAAAAAFB46MnIu6ixuxwu9W1ihFF8G60Q"
secret : # "PznnZGu3P6eTHRPLORniSq+J61YEf+A9zmColXDM5icqF49gbunH51B8+h+i2IvewpuxtA9TFoK68TuhUp/X3YKmmqhXasegHYabY50fqF9nJh9npWNhvITdkQHeaOqnFXUIwxfiEeUt49Yoa2waRR7a5LdRAP3SVM8hz0KIBT4="
@@ -98,7 +81,7 @@ social:
# Analytics
analytics:
provider : "google-universal" # false (default), "google", "google-universal", "custom"
provider : "google-universal" # false (default), "google", "google-universal", "google-gtag", "custom"
google:
tracking_id : "UA-2011187-3" # Replace this with your ID, or delete
anonymize_ip : true
@@ -310,8 +293,8 @@ whitelist:
# - Archive page should exist at path when using Liquid method or you can
# expect broken links (especially with breadcrumbs enabled)
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path/my-awesome-category/index.html ~> path: /
# - <base_path>/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path>/my-awesome-category/index.html ~> path: /
category_archive:
type: liquid
path: /categories/
+19 -15
View File
@@ -2,7 +2,7 @@
title: "Quick-Start Guide"
permalink: /docs/quick-start-guide/
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-07-27
redirect_from:
- /theme-setup/
toc: true
@@ -12,11 +12,11 @@ Minimal Mistakes has been developed as a [Gem-based theme](http://jekyllrb.com/d
**If you enjoy this theme, please consider [supporting me](https://www.paypal.me/mmistakes) for developing and maintaining it.**
[![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://www.paypal.me/mmistakes)
[![Support via PayPal](https://cdn.jsdelivr.net/gh/twolfson/paypal-github-button@1.0.0/dist/button.svg)](https://www.paypal.me/mmistakes)
## 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.
@@ -38,7 +38,7 @@ To install as a Gem-based theme:
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
bundle
@@ -68,17 +68,17 @@ To install as a remote theme:
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
bundle
```
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.17.2"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.20.2"` 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.
**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}
---
@@ -136,12 +136,17 @@ Depending on the path you took installing Minimal Mistakes you'll setup things a
Starting with an empty folder and `Gemfile` you'll need to copy or re-create this [default `_config.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml) file. For a full explanation of every setting be sure to read the [**Configuration**]({{ "/docs/configuration/" | relative_url }}) section.
From `v4.5.0` onwards, Minimal Mistakes theme-gem comes bundled with the necessary data files and will automatically use them via the [`jekyll-data`](https://github.com/ashmaroli/jekyll-data) plugin. So you no longer need to maintain a copy of these data files at your project directory.
From `v4.5.0` onwards, Minimal Mistakes theme-gem comes bundled with the necessary data files for localization.
They will be picked up automatically if you have the [`jekyll-data`](https://github.com/ashmaroli/jekyll-data) plugin installed.
If you're hosting on GitHub Pages, you can copy the [`_data/ui-text.yml`][ui-text.yml] file into your repository for the localization feature to work.
You'll need to create and edit these data files to customize them:
- [`_data/ui-text.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml) - UI text [documentation]({{ "/docs/ui-text/" | relative_url }})
- [`_data/navigation.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/navigation.yml) - navigation [documentation]({{ "/docs/navigation/" | relative_url }})
- [`_data/ui-text.yml`][ui-text.yml] - UI text [documentation]({{ "/docs/ui-text/" | relative_url }})
- [`_data/navigation.yml`][navigation.yml] - navigation [documentation]({{ "/docs/navigation/" | relative_url }})
[ui-text.yml]: https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml
[navigation.yml]: https://github.com/mmistakes/minimal-mistakes/blob/master/_data/navigation.yml
### Starting from `jekyll new`
@@ -169,15 +174,14 @@ Start by removing the following folders and any files within them:
| └── 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).
{: .notice--warning}
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.
From `v4.5.0` onwards, the default language files are read-in automatically via the [`jekyll-data`](https://github.com/ashmaroli/jekyll-data) plugin if it's installed. For sites hosted with GitHub Pages, you still need to copy the [`_data/ui-text.yml`][ui-text.yml] file because the `jekyll-data` plugin [is unsupported on GitHub Pages](https://docs.github.com/en/github/working-with-github-pages/about-github-pages-and-jekyll#plugins).
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
@@ -196,7 +200,7 @@ When finished your `Gemfile` should look something like this:
```ruby
source "https://rubygems.org"
gem "jekyll", "~> 3.5"
gem "jekyll", "~> 3.7"
gem "minimal-mistakes-jekyll"
```
+2 -2
View File
@@ -18,7 +18,7 @@ If you plan to host with GitHub Pages be sure to properly setup [**jekyll-remote
[<i class="fas fa-download"></i> Download Minimal Mistakes Theme](https://github.com/mmistakes/minimal-mistakes/archive/master.zip){: .btn .btn--success}
**ProTip:** Be sure to remove `/docs` and `/test` if you forked or downloaded Minimal Mistakes. These folders contain documentation and test pages for the theme and you probably don't littering up in your repo.
**ProTip:** Be sure to remove `/docs` and `/test` if you forked or downloaded Minimal Mistakes. These folders contain documentation and test pages for the theme and you probably don't want them littering up in your repo.
{: .notice--info}
**Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build.
@@ -108,4 +108,4 @@ Depending on what gems you already have installed you may have to run `bundle up
When using Bundler to manage gems you'll want to run Jekyll using `bundle exec jekyll serve` and `bundle exec jekyll build`.
Doing so executes the gem versions specified in `Gemfile.lock`. Sure you can test your luck with a naked `jekyll serve`, but I wouldn't suggest it. A lot of Jekyll errors originate from outdated or conflicting gems fighting with each other. So do yourself a favor and just use Bundler.
Doing so executes the gem versions specified in `Gemfile.lock`. Sure you can test your luck with a naked `jekyll serve`, but I wouldn't suggest it. A lot of Jekyll errors originate from outdated or conflicting gems fighting with each other. So do yourself a favor and just use Bundler.
+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.17.2 by Michael Rose
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
Minimal Mistakes Jekyll Theme 4.20.2 by Michael Rose
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT 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`:
```ruby
gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.17.2"
gem "minimal-mistakes-jekyll", :git => "https://github.com/mmistakes/minimal-mistakes.git", :tag => "4.20.2"
```
For more information on [installing gems from git repositories](http://bundler.io/v1.16/guides/git.html) consult Bundler's documentation.
## Remote theme
When setting `remote_theme: "mmistakes/minimal-mistakes@4.17.2"` 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.20.2"` 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).
+69 -12
View File
@@ -2,7 +2,7 @@
title: "Configuration"
permalink: /docs/configuration/
excerpt: "Settings for configuring and customizing the theme."
last_modified_at: 2019-10-04T10:54:48-04:00
last_modified_at: 2020-08-04T11:26:21-04:00
toc: true
---
@@ -157,7 +157,7 @@ _Example:_ `description: "A flexible Jekyll theme for your blog or site with a m
### 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.
@@ -265,6 +265,26 @@ breadcrumbs: true # disabled by default
Breadcrumb start link text and separator character can both be changed in the [UI Text data file]({{ "/docs/ui-text/" | relative_url }}).
### Post dates
Enable post date snippets with `show_date: true` in YAML Front Matter.
![post date example]({{ "/assets/images/mm-post-date-example.png" | relative_url }})
Instead of adding `show_date: true` to each post, apply as a default in `_config.yml` like so:
```yaml
defaults:
# _posts
- scope:
path: ""
type: posts
values:
show_date: true
```
To disable post date for a post, add `show_date: false` to its YAML Front Matter, overriding what was set in `_config.yml`.
### Reading time
Enable estimated reading time snippets with `read_time: true` in YAML Front Matter. `200` has been set as the default words per minute value --- which can be changed by adjusting `words_per_minute:` in `_config.yml`.
@@ -283,7 +303,7 @@ defaults:
read_time: true
```
To disable reading time for a post, add `read_time: false` its YAML Front Matter to override what was set in `_config.yml`.
To disable reading time for a post, add `read_time: false` to its YAML Front Matter to override what was set in `_config.yml`.
`words_per_minute` can also be adjusted per-page basis by adding to its YAML Front Matter. This is useful for sites with multi-lingual content where you'd like specify a different value from the site config.
@@ -291,6 +311,20 @@ To disable reading time for a post, add `read_time: false` its YAML Front Matter
words_per_minute: 250
```
### Page meta separator
To customise the separator between the page date and reading time (if both are enabled), edit `.page__meta-sep::before` in a [custom stylesheet]({{ "/docs/stylesheets/" | relative_url }}).
For example,
```css
.page__meta-sep::before {
content: "\2022";
padding-left: 0.5em;
padding-right: 0.5em;
}
```
### Comments
[**Disqus**](https://disqus.com/), [**Discourse**](https://www.discourse.org/), [**Facebook**](https://developers.facebook.com/docs/plugins/comments), [**utterances**](https://utteranc.es/), and static-based commenting via [**Staticman**](https://staticman.net/) are built into the theme. First set the comment provider you'd like to use:
@@ -374,7 +408,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.
{: .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
comments:
@@ -533,7 +567,7 @@ To enable site-wide search add `search: true` to your `_config.yml`.
#### 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.
{: .notice--warning}
@@ -600,13 +634,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.
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 }})
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:
```yaml
google:
search_engine_id: YOUR_SEARCH_ENGINE_ID
@@ -747,10 +781,9 @@ social:
name: # If the user or organization name differs from the site's name
links:
- "https://twitter.com/yourTwitter"
- "https://facebook.com/yourFacebook"
- "https://www.facebook.com/yourFacebook"
- "https://instagram.com/yourProfile"
- "https://www.linkedin.com/in/yourprofile"
- "https://plus.google.com/your_profile"
```
#### Analytics
@@ -794,7 +827,7 @@ author:
name : "Your Name"
avatar : "/assets/images/bio-photo.jpg"
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.
@@ -935,12 +968,12 @@ The paginator only works on files with name `index.html`. To use pagination in a
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}
### 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
timezone: America/New_York
@@ -1030,6 +1063,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.
{: .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
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.
+5 -4
View File
@@ -2,14 +2,14 @@
title: "Overriding Theme Defaults"
permalink: /docs/overriding-theme-defaults/
excerpt: "Instructions on how to customize the theme's default set of layouts, includes, and stylesheets when using the Ruby Gem version."
last_modified_at: 2018-03-20T15:59:31-04:00
last_modified_at: 2020-07-27
---
When installing the theme as a Ruby Gem its layouts, includes, stylesheets, and other assets are all bundled in the `gem`. Meaning they're not easily visible in your project.
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}
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:
@@ -21,7 +21,8 @@ Jekyll will use the files in your project first before falling back to the defau
/_sass
```
Additionally, from `v4.5.0` the theme-gem will also exhibit above behavior for `/_data` via a plugin.
Additionally, from `v4.5.0` onwards 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.
This doesn't apply if you're building your site on GitHub Pages, however.
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"
permalink: /docs/ui-text/
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.
@@ -14,15 +14,18 @@ The English[^yaml-anchors] main keys in [`_data/ui-text.yml`](https://github.com
- Chinese
- Danish
- Dutch
- Finnish
- French (Français)
- German (Deutsch)
- Greek
- Hungarian
- Indonesian
- Irish (Gaeilge)
- Italian (Italiano)
- Korean
- Japanese
- Malayalam
- Myanmar (Burmese)
- Nepali (Nepalese)
- Polish
- Persian (فارسی)
+9 -5
View File
@@ -7,7 +7,7 @@ single_layout_gallery:
alt: "single layout with header example"
- image_path: /assets/images/mm-layout-single-meta.png
alt: "single layout with comments and related posts"
last_modified_at: 2019-07-24T10:15:57-04:00
last_modified_at: 2020-08-30T21:27:40-04:00
toc: true
toc_label: "Included Layouts"
toc_icon: "columns"
@@ -224,7 +224,7 @@ If you're not using the `jekyll-archives` plugin then you need to create archive
| [Category Archive](https://mmistakes.github.io/minimal-mistakes/categories/edge-case/) | `layout: category` | [edge-case.md](https://github.com/mmistakes/minimal-mistakes/blob/master/docs/_pages/edge-case.md) |
| [Tags Archive](https://mmistakes.github.io/minimal-mistakes/tags/) | `layout: tags` | [tag-archive.md](https://github.com/mmistakes/minimal-mistakes/blob/master/docs/_pages/tag-archive.md) |
| [Tag Archive](https://mmistakes.github.io/minimal-mistakes/tags/markup/) | `layout: tag` | [markup.md](https://github.com/mmistakes/minimal-mistakes/blob/master/docs/_pages/markup.md) |
| [Collection Archive](https://mmistakes.github.io/minimal-mistakes/recipes-archive/) | `layout: collection` | [recipes-archive.md](https://github.com/mmistakes/minimal-mistakes/blob/master/docs/_pages/recipes-archive.md) |
| [Collection Archive](https://mmistakes.github.io/minimal-mistakes/recipes/) | `layout: collection` | [recipes-archive.md](https://github.com/mmistakes/minimal-mistakes/blob/master/docs/_pages/recipes-archive.md) |
**Note:** By default, documents are shown in a list view. To change to a grid view add `entries_layout: grid` to the page's front matter.
{: .notice--info}
@@ -337,6 +337,9 @@ paginate_path: /blog/page:num
**Note:** Jekyll can only paginate a single `index.html` file. If you'd like to paginate more pages (e.g. category indexes) you'll need the help of a custom plugin. For more pagination related settings check the [**Configuration**]({{ "/docs/configuration/#paginate" | relative_url }}) section.
{: .notice--info}
**Note:** By default, documents are shown in a list view. To change to a grid view add `entries_layout: grid` to the page's front matter. To increase the width of the main container, giving more space to the grid items also add `classes: wide` to the home page's YAML Front Matter.
{: .notice--info}
## Splash page layout
For full-width landing pages that need a little something extra add `layout: splash` to the YAML Front Matter.
@@ -427,6 +430,7 @@ To overlay text on top of a header image you have a few more options:
| **overlay_filter** | Color/opacity to overlay on top of the header image eg: `0.5` or `rgba(255, 0, 0, 0.5)`. |
| **show_overlay_excerpt** | Display excerpt in the overlay text | true |
| **excerpt** | Auto-generated page excerpt is added to the overlay text or can be overridden. | |
| **tagline** | Overrides page excerpt. Useful when header text needs to be different from excerpt in archive views. | |
| **actions** | Call to action button links (`actions` array: `label` and `url`). More than one button link can be assigned. | |
| **cta_label** | Deprecated, use `actions` instead. Call to action button text label. | `more_label` in UI Text data file |
| **cta_url** | Deprecated, use `actions` instead. Call to action button URL. | |
@@ -621,7 +625,7 @@ To create a sidebar menu[^sidebar-menu] similar to the one found in the theme's
<figcaption>Custom sidebar navigation menu example.</figcaption>
</figure>
To start, add a new key to `_data/navigation.yml`. This will be referenced later in via YAML Front Matter so keep it short and memorable. In the case of the theme's documentation menu I used `docs`.
To start, add a new key to `_data/navigation.yml`. This will be referenced later via YAML Front Matter so keep it short and memorable. In the case of the theme's documentation menu I used `docs`.
**Sample sidebar menu links:**
@@ -732,8 +736,8 @@ Under the `$social` color map in `assets/_scss/_buttons.scss` simply add a name
$social:
(facebook, $facebook-color),
(twitter, $twitter-color),
(linkedin, $linkedin-color);
(reddit, #ff4500;)
(linkedin, $linkedin-color),
(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/).
+28 -3
View File
@@ -30,7 +30,7 @@ feature_row:
- image_path: /assets/images/unsplash-gallery-image-3-th.jpg
title: "Placeholder 3"
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_label: "Helpers"
toc_icon: "cogs"
@@ -173,12 +173,13 @@ And then drop-in the feature row include in the body where you'd like it to appe
## 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 |
| ---------- | ------------ | ---------------------------------------------------------- |
| `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` |
| `danmaku` | Optional | Bilibili only, [details below](#Bilibili) |
### YouTube
@@ -240,6 +241,30 @@ header:
provider: google-drive
```
### Bilibili
To embed the following Bilibili video at url `https://www.bilibili.com/video/BV1E7411e7hC` into a post or page's main content you'd use:
```liquid
{% raw %}{% include video id="BV1E7411e7hC" provider="bilibili" %}{% endraw %}
```
If you want to enable danmaku (弹幕) for the embeded video, which is disabled by default, you can supply an additional parameter `danmaku="1"` as shown below:
```liquid
{% raw %}{% include video id="BV1E7411e7hC" provider="bilibili" danmaku="1" %}{% endraw %}
```
To embed it as a video header you'd use the following YAML Front Matter:
```yaml
header:
video:
id: BV1E7411e7hC
provider: bilibili
danmaku: 1
```
## Table of contents
Auto-generated table of contents list for your posts and pages can be enabled using two methods.
+1 -1
View File
@@ -172,6 +172,6 @@ You can also add the `.notice` class to a `<div>` element.
{% endcapture %}
<div class="notice--info">
<h4>Notice Headline:</h4>
<h4 class="no_toc">Notice Headline:</h4>
{{ notice-text | markdownify }}
</div>
+25
View File
@@ -275,6 +275,31 @@ $base0e: #bb90e2;
$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-code-block]({{ '/assets/images/neon-code-block.jpg' | relative_url }})
+145 -2
View File
@@ -5,11 +5,154 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar:
nav: docs
last_modified_at: 2019-10-27T20:17:37-04:00
last_modified_at: 2020-09-07T10:03:41-04:00
toc: false
---
## [4.17.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.17.1)
## [4.20.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.2)
## Bug Fixes
- Fix broken link in documentation. [#2677](https://github.com/mmistakes/minimal-mistakes/issues/2677)
- Fix typo in documentation. [#2678](https://github.com/mmistakes/minimal-mistakes/issues/2678)
- Remove duplicate CSS definitions. [#2666](https://github.com/mmistakes/minimal-mistakes/pull/2666)
- Fix `entries_layout: grid` in various layouts. [#2639](https://github.com/mmistakes/minimal-mistakes/issues/2639)
- Change `fa` to `fas` for Font Awesome 5. [#2649](https://github.com/mmistakes/minimal-mistakes/pull/2649)
### Enhancements
- Refactor page meta include. [#2641](https://github.com/mmistakes/minimal-mistakes/pull/2641)
- Add `article:author` Open Graph markup. [#2670](https://github.com/mmistakes/minimal-mistakes/pull/2670)
## [4.20.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.1)
### Bug Fixes
- Fix grid `entries_layout` in home.html. [#2616](https://github.com/mmistakes/minimal-mistakes/pull/2616)
## [4.20.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.0)
### Bug Fixes
- Add `relative_url` filter to author home link [#2575](https://github.com/mmistakes/minimal-mistakes/pull/2575)
- Fix `analytics.provider` config comment to list all analytics providers. [#2607](https://github.com/mmistakes/minimal-mistakes/pull/2607)
- Fix typo in installation documentation. [#2570](https://github.com/mmistakes/minimal-mistakes/pull/2570)
- Fix broken Lunr search with Jekyll v4.1.0. [#2617](https://github.com/mmistakes/minimal-mistakes/pull/2617)
### Enhancements
- Add an optional date alongside the reading time. To enable set `show_date: true` similar to how reading time is. [#2526](https://github.com/mmistakes/minimal-mistakes/pull/2526)
- Remove hidden posts from posts.html layout. [#2625](https://github.com/mmistakes/minimal-mistakes/pull/2625)
- Add entry layout configuration for `list` (default) or `grid` views on `layout: home`. [#2616](https://github.com/mmistakes/minimal-mistakes/pull/2616)
- Add missing Chinese translations. [#2576](https://github.com/mmistakes/minimal-mistakes/pull/2576)
- Improve Chinese translations. [#2626](https://github.com/mmistakes/minimal-mistakes/pull/2626)
- Add `line-height` to `h4` element in notice helper. [#2602](https://github.com/mmistakes/minimal-mistakes/pull/2602)
- Improve Algolia search. [#2572](https://github.com/mmistakes/minimal-mistakes/pull/2572)
- Update link to wtfpl license in README. [#2571](https://github.com/mmistakes/minimal-mistakes/pull/2571)
- Ignore teaser headline in table of contents when including posts list in another page. [#2558](https://github.com/mmistakes/minimal-mistakes/pull/2558)
- Replace Font Awesome Kits with CSS from jsDelivr CDN. [#2583](https://github.com/mmistakes/minimal-mistakes/pull/2583)
- Add `danmaku` option to Bilibili video provider and add corresponding documentation/ [#2599](https://github.com/mmistakes/minimal-mistakes/pull/2599)
- Update documentation about loading l10n data file from the theme-gem. [#2621](https://github.com/mmistakes/minimal-mistakes/issues/2621) [#2624](https://github.com/mmistakes/minimal-mistakes/pull/2624)
## [4.19.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.3)
### 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)
### Enhancements
- Allow `home` layout to display posts without pagination. [#2378](https://github.com/mmistakes/minimal-mistakes/pull/2378)
- Add links to high resolution skin screenshots in README. [#2363](https://github.com/mmistakes/minimal-mistakes/issues/2363)
- Update README and LICENSE. [#2367](https://github.com/mmistakes/minimal-mistakes/pull/2367)
- Update `.gitignore` file. [#2366](https://github.com/mmistakes/minimal-mistakes/pull/2366)
- Allow override of page excerpt in hero header via `tagline` YAML front matter. [#2307](https://github.com/mmistakes/minimal-mistakes/pull/2307)
- Exclude `package-lock.json` from Jekyll build. [#2364](https://github.com/mmistakes/minimal-mistakes/pull/2364)
- Use `%-d` instead of `%d` so displayed dates aren't padded with zero. [#2359](https://github.com/mmistakes/minimal-mistakes/pull/2359)
- Update table of contents helper (`toc.html`) to [v1.0.8](https://github.com/allejo/jekyll-toc/releases). [#2355](https://github.com/mmistakes/minimal-mistakes/pull/2355)
- Add missing Dutch localized UI text strings. [#2321](https://github.com/mmistakes/minimal-mistakes/pull/2321)
- Support page header (hero) in `archive-taxonomy` layout. [#2320](https://github.com/mmistakes/minimal-mistakes/pull/2320)
- Add social icon color for Keybase. [#2302](https://github.com/mmistakes/minimal-mistakes/pull/2302)
### Bug Fixes
- Fix JavaScript comments in Disqus include to be compatible with `compress` layout. [#2373](https://github.com/mmistakes/minimal-mistakes/pull/2373)
- Fix wrong newline concatenation in SEO description [#2368](https://github.com/mmistakes/minimal-mistakes/pull/2368) [#2354](https://github.com/mmistakes/minimal-mistakes/issues/2354)
- Fix Staticman v2/v3 conditional for showing comments. [#2351](https://github.com/mmistakes/minimal-mistakes/pull/2351)
- Fix masthead logo path. [#2332](https://github.com/mmistakes/minimal-mistakes/pull/2332)
- Fix schema.org dates to ISO-8601. [#2339](https://github.com/mmistakes/minimal-mistakes/pull/2339)
- Fix background color of code blocks in notices. [#2328](https://github.com/mmistakes/minimal-mistakes/pull/2328)
- Fix alignment of feature rows when placed next to a sticky sidebar. [#2327](https://github.com/mmistakes/minimal-mistakes/issues/2327)
- Fix `seo_description` in `_includes/seo.html`. [#2326](https://github.com/mmistakes/minimal-mistakes/pull/2326)
- Fix typo in `_config.yml`. [#2319](https://github.com/mmistakes/minimal-mistakes/pull/2319)
## [4.17.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.17.2)
### Enhancements
+2 -2
View File
@@ -3,8 +3,8 @@
<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.17.2 by Michael Rose
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
Minimal Mistakes Jekyll Theme 4.20.2 by Michael Rose
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT 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
image_path: /assets/images/mm-layout-archive.png
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
---
@@ -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.
- 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.
- 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
+3 -2
View File
@@ -1,6 +1,7 @@
---
layout: splash
permalink: /
hidden: true
header:
overlay_color: "#5e616c"
overlay_image: /assets/images/mm-home-page-feature.jpg
@@ -9,7 +10,7 @@ header:
url: "/docs/quick-start-guide/"
excerpt: >
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.17.2">Latest release v4.17.2</a></small>
<small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.2">Latest release v4.20.2</a></small>
feature_row:
- image_path: /assets/images/mm-customizable-feature.png
alt: "customizable"
@@ -34,4 +35,4 @@ feature_row:
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 %}
{% include archive-single.html %}
{% endfor %}
{% unless post.hidden %}
{% include archive-single.html %}
{% endunless %}
{% endfor %}
@@ -0,0 +1,6 @@
---
title: "Edge Case: Post with multiline excerpt"
---
Et ex ullamco duis don't
combine these words quis laborum sunt sint. Nisi et Lorem reprehenderit cupidatat. Aliqua fugiat aliquip officia culpa elit. Adipisicing do eu duis aute et aute amet anim ut cillum aliqua. Aliqua adipisicing occaecat et ullamco fugiat.
+10
View File
@@ -17,6 +17,16 @@ When using Kramdown `{: .notice}` can be added after a sentence to assign the `.
**Primary Notice:** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. [Praesent libero](#). Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.
{: .notice--primary}
<div class="notice--primary" markdown="1">
**Primary Notice with code block:** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. [Praesent libero](#). Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.
```html
<html>
<body>Some body.<body>
</html>
```
</div>
**Info Notice:** Lorem ipsum dolor sit amet, [consectetur adipiscing elit](#). Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.
{: .notice--info}
@@ -0,0 +1,18 @@
---
title: "Layout: Post Date Disabled"
show_date: false
tags:
- post date
---
This post has the date disabled. The date this post was published should not be showing if `show_date: false` is set in `_config.yml` or in this post's YAML Front Matter.
If you could keep awake (but of course you can't) you would see your own mother doing this, and you would find it very interesting to watch her. It is quite like tidying up drawers. You would see her on her knees, I expect, lingering humorously over some of your contents, wondering where on earth you had picked this thing up, making discoveries sweet and not so sweet, pressing this to her cheek as if it were as nice as a kitten, and hurriedly stowing that out of sight. When you wake in the morning, the naughtiness and evil passions with which you went to bed have been folded up small and placed at the bottom of your mind and on the top, beautifully aired, are spread out your prettier thoughts, ready for you to put on.
I don't know whether you have ever seen a map of a person's mind. Doctors sometimes draw maps of other parts of you, and your own map can become intensely interesting, but catch them trying to draw a map of a child's mind, which is not only confused, but keeps going round all the time. There are zigzag lines on it, just like your temperature on a card, and these are probably roads in the island, for the Neverland is always more or less an island, with astonishing splashes of colour here and there, and coral reefs and rakish-looking craft in the offing, and savages and lonely lairs, and gnomes who are mostly tailors, and caves through which a river runs, and princes with six elder brothers, and a hut fast going to decay, and one very small old lady with a hooked nose. It would be an easy map if that were all, but there is also first day at school, religion, fathers, the round pond, needle-work, murders, hangings, verbs that take the dative, chocolate pudding day, getting into braces, say ninety-nine, three-pence for pulling out your tooth yourself, and so on, and either these are part of the island or they are another map showing through, and it is all rather confusing, especially as nothing will stand still.
Of course the Neverlands vary a good deal. John's, for instance, had a lagoon with flamingoes flying over it at which John was shooting, while Michael, who was very small, had a flamingo with lagoons flying over it. John lived in a boat turned upside down on the sands, Michael in a wigwam, Wendy in a house of leaves deftly sewn together. John had no friends, Michael had friends at night, Wendy had a pet wolf forsaken by its parents, but on the whole the Neverlands have a family resemblance, and if they stood still in a row you could say of them that they have each other's nose, and so forth. On these magic shores children at play are for ever beaching their coracles [simple boat]. We too have been there; we can still hear the sound of the surf, though we shall land no more.
Of all delectable islands the Neverland is the snuggest and most compact, not large and sprawly, you know, with tedious distances between one adventure and another, but nicely crammed. When you play at it by day with the chairs and table-cloth, it is not in the least alarming, but in the two minutes before you go to sleep it becomes very real. That is why there are night-lights.
Occasionally in her travels through her children's minds Mrs. Darling found things she could not understand, and of these quite the most perplexing was the word Peter. She knew of no Peter, and yet he was here and there in John and Michael's minds, while Wendy's began to be scrawled all over with him. The name stood out in bolder letters than any of the other words, and as Mrs. Darling gazed she felt that it had an oddly cocky appearance.
@@ -0,0 +1,18 @@
---
title: "Layout: Post Date Enabled"
show_date: true
tags:
- post date
---
This post has post date enabled. The date the post was published should show if `show_date: true` is added to it's YAML Front Matter or as a default in `_config.yml`.
If you could keep awake (but of course you can't) you would see your own mother doing this, and you would find it very interesting to watch her. It is quite like tidying up drawers. You would see her on her knees, I expect, lingering humorously over some of your contents, wondering where on earth you had picked this thing up, making discoveries sweet and not so sweet, pressing this to her cheek as if it were as nice as a kitten, and hurriedly stowing that out of sight. When you wake in the morning, the naughtiness and evil passions with which you went to bed have been folded up small and placed at the bottom of your mind and on the top, beautifully aired, are spread out your prettier thoughts, ready for you to put on.
I don't know whether you have ever seen a map of a person's mind. Doctors sometimes draw maps of other parts of you, and your own map can become intensely interesting, but catch them trying to draw a map of a child's mind, which is not only confused, but keeps going round all the time. There are zigzag lines on it, just like your temperature on a card, and these are probably roads in the island, for the Neverland is always more or less an island, with astonishing splashes of colour here and there, and coral reefs and rakish-looking craft in the offing, and savages and lonely lairs, and gnomes who are mostly tailors, and caves through which a river runs, and princes with six elder brothers, and a hut fast going to decay, and one very small old lady with a hooked nose. It would be an easy map if that were all, but there is also first day at school, religion, fathers, the round pond, needle-work, murders, hangings, verbs that take the dative, chocolate pudding day, getting into braces, say ninety-nine, three-pence for pulling out your tooth yourself, and so on, and either these are part of the island or they are another map showing through, and it is all rather confusing, especially as nothing will stand still.
Of course the Neverlands vary a good deal. John's, for instance, had a lagoon with flamingoes flying over it at which John was shooting, while Michael, who was very small, had a flamingo with lagoons flying over it. John lived in a boat turned upside down on the sands, Michael in a wigwam, Wendy in a house of leaves deftly sewn together. John had no friends, Michael had friends at night, Wendy had a pet wolf forsaken by its parents, but on the whole the Neverlands have a family resemblance, and if they stood still in a row you could say of them that they have each other's nose, and so forth. On these magic shores children at play are for ever beaching their coracles [simple boat]. We too have been there; we can still hear the sound of the surf, though we shall land no more.
Of all delectable islands the Neverland is the snuggest and most compact, not large and sprawly, you know, with tedious distances between one adventure and another, but nicely crammed. When you play at it by day with the chairs and table-cloth, it is not in the least alarming, but in the two minutes before you go to sleep it becomes very real. That is why there are night-lights.
Occasionally in her travels through her children's minds Mrs. Darling found things she could not understand, and of these quite the most perplexing was the word Peter. She knew of no Peter, and yet he was here and there in John and Michael's minds, while Wendy's began to be scrawled all over with him. The name stood out in bolder letters than any of the other words, and as Mrs. Darling gazed she felt that it had an oddly cocky appearance.
@@ -0,0 +1,28 @@
---
title: "Layout: Header Image Overlay with Custom Tagline"
tagline: "This is a custom tagline content which overrides the *default* page excerpt."
header:
overlay_image: /assets/images/unsplash-image-1.jpg
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
categories:
- Layout
- Uncategorized
tags:
- edge case
- image
- layout
last_modified_at: 2020-01-07T13:05:25-05:00
---
This post should display a **header with an overlay image** and **custom tagline**, if the theme supports it.
Non-square images can provide some unique styling issues.
This post tests overlay header images with custom `page.tagline`.
```yaml
tagline: "This is a custom tagline content which overrides the default page excerpt."
header:
overlay_image: /assets/images/unsplash-image-1.jpg
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
```
Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

+3 -3
View File
@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "minimal-mistakes-jekyll"
spec.version = "4.17.2"
spec.version = "4.20.2"
spec.authors = ["Michael Rose"]
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)
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-sitemap", "~> 1.3"
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_development_dependency "bundler"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rake", ">= 12.3.3"
end
+62 -49
View File
@@ -1,6 +1,6 @@
{
"name": "minimal-mistakes",
"version": "4.17.2",
"version": "4.20.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -20,9 +20,9 @@
}
},
"anymatch": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.0.3.tgz",
"integrity": "sha512-c6IvoeBECQlMVuYUjSwimnhmztImpErfxJzWZhIQinIvQWoGOnB0dLIgifbPHQt5heS6mNlaZG16f06H3C8t1g==",
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz",
"integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==",
"dev": true,
"requires": {
"normalize-path": "^3.0.0",
@@ -78,19 +78,19 @@
}
},
"chokidar": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.0.2.tgz",
"integrity": "sha512-c4PR2egjNjI1um6bamCQ6bUNPDiyofNQruHvKgHQ4gDUP/ITSVSzNsiI5OWtHOsX323i5ha/kk4YmOZ1Ktg7KA==",
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.3.1.tgz",
"integrity": "sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg==",
"dev": true,
"requires": {
"anymatch": "^3.0.1",
"braces": "^3.0.2",
"fsevents": "^2.0.6",
"glob-parent": "^5.0.0",
"is-binary-path": "^2.1.0",
"is-glob": "^4.0.1",
"normalize-path": "^3.0.0",
"readdirp": "^3.1.1"
"anymatch": "~3.1.1",
"braces": "~3.0.2",
"fsevents": "~2.1.2",
"glob-parent": "~5.1.0",
"is-binary-path": "~2.1.0",
"is-glob": "~4.0.1",
"normalize-path": "~3.0.0",
"readdirp": "~3.3.0"
}
},
"color-convert": {
@@ -109,9 +109,9 @@
"dev": true
},
"commander": {
"version": "2.20.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",
"integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",
"version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"dev": true
},
"concat-map": {
@@ -192,9 +192,9 @@
}
},
"fsevents": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.0.7.tgz",
"integrity": "sha512-a7YT0SV3RB+DjYcppwVDLtn13UQnmg0SWZS7ezZD0UjnLwXmy8Zm21GMVGLaFGimIqcvyMQaOJBrop8MyOp1kQ==",
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz",
"integrity": "sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==",
"dev": true,
"optional": true
},
@@ -205,9 +205,9 @@
"dev": true
},
"glob-parent": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz",
"integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==",
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
"integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
"dev": true,
"requires": {
"is-glob": "^4.0.1"
@@ -246,6 +246,12 @@
"integrity": "sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ==",
"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": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
@@ -352,9 +358,9 @@
}
},
"minimist": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
"dev": true
},
"nice-try": {
@@ -405,27 +411,34 @@
"dev": true
},
"onchange": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/onchange/-/onchange-6.0.0.tgz",
"integrity": "sha512-1b6FRfV0otr4gj/mWPlEAPnsxvHLDFmL4nFCbnNYLgPpiy+bNmoDdpD80iXK63mIBqU1S5+d4oAEffFqN68wvA==",
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/onchange/-/onchange-6.1.0.tgz",
"integrity": "sha512-T0wvi3yzNd+Lut2ymJp2e6fTiob0TLrXnjqGaiK9MAFB8MYo/k/ZClx6ps7YhTtQ88dDm+hDHmtJXP1nJT5WNA==",
"dev": true,
"requires": {
"@blakeembrey/deque": "^1.0.3",
"arrify": "^2.0.0",
"chokidar": "^3.0.0",
"cross-spawn": "^6.0.0",
"ignore": "^5.1.4",
"minimist": "^1.2.0",
"supports-color": "^6.0.0",
"supports-color": "^7.0.0",
"tree-kill": "^1.2.0"
},
"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": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
"integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
"integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
"dev": true,
"requires": {
"has-flag": "^3.0.0"
"has-flag": "^4.0.0"
}
}
}
@@ -462,9 +475,9 @@
}
},
"picomatch": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.0.7.tgz",
"integrity": "sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA==",
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz",
"integrity": "sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA==",
"dev": true
},
"pidtree": {
@@ -491,12 +504,12 @@
}
},
"readdirp": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.1.2.tgz",
"integrity": "sha512-8rhl0xs2cxfVsqzreYCvs8EwBfn/DhVdqtoLmw19uI3SC5avYX9teCurlErfpPXGmYtMHReGaP2RsLnFvz/lnw==",
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.3.0.tgz",
"integrity": "sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ==",
"dev": true,
"requires": {
"picomatch": "^2.0.4"
"picomatch": "^2.0.7"
}
},
"resolve": {
@@ -609,18 +622,18 @@
}
},
"tree-kill": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.1.tgz",
"integrity": "sha512-4hjqbObwlh2dLyW4tcz0Ymw0ggoaVDMveUB9w8kFSQScdRLo0gxO9J7WFcUBo+W3C1TLdFIEwNOWebgZZ0RH9Q==",
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
"integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
"dev": true
},
"uglify-js": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.0.tgz",
"integrity": "sha512-W+jrUHJr3DXKhrsS7NUVxn3zqMOFn0hL/Ei6v0anCIMoKC93TjcflTagwIHLW7SfMFfiQuktQyFVCFHGUE0+yg==",
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.8.0.tgz",
"integrity": "sha512-ugNSTT8ierCsDHso2jkBHXYrU8Y5/fY2ZUprfrJUiD7YpuFvV4jODLFmb3h4btQjqr5Nh4TX4XtgDfCU1WdioQ==",
"dev": true,
"requires": {
"commander": "~2.20.0",
"commander": "~2.20.3",
"source-map": "~0.6.1"
}
},
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "minimal-mistakes",
"version": "4.17.2",
"version": "4.20.2",
"description": "Minimal Mistakes 2 column Jekyll theme.",
"repository": {
"type": "git",
@@ -22,8 +22,8 @@
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"onchange": "^6.0.0",
"uglify-js": "^3.4.9"
"onchange": "^6.1.0",
"uglify-js": "^3.8.0"
},
"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",
+6 -20
View File
@@ -37,23 +37,9 @@ comments:
utterances:
theme : # "github-light" (default), "github-dark"
issue_term : # "pathname" (default)
staticman:
allowedFields : ['name', 'email', 'url', 'message']
branch : # "master", "gh-pages"
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
staticman:
branch : # "master"
endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
atom_feed:
path : # blank (default) uses feed.xml
search : true # true, false (default)
@@ -89,7 +75,7 @@ social:
# Analytics
analytics:
provider : false # false (default), "google", "google-universal", "custom"
provider : false # false (default), "google", "google-universal", "google-gtag", "custom"
google:
tracking_id :
@@ -226,8 +212,8 @@ whitelist:
# - Archive page should exist at path when using Liquid method or you can
# expect broken links (especially with breadcrumbs enabled)
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path/my-awesome-category/index.html ~> path: /
# - <base_path>/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path>/my-awesome-category/index.html ~> path: /
category_archive:
type: liquid
path: /categories/
+7
View File
@@ -0,0 +1,7 @@
---
title: "Posts by Category (grid view)"
layout: categories
permalink: /categories-grid/
entries_layout: grid
author_profile: true
---
+28
View File
@@ -0,0 +1,28 @@
---
layout: archive
title: "Posts by Collection (grid view)"
permalink: /collection-archive-grid/
entries_layout: grid
author_profile: true
---
{% assign entries_layout = page.entries_layout | default: 'list' %}
{% capture written_label %}'None'{% endcapture %}
{% for collection in site.collections %}
{% unless collection.output == false or collection.label == "posts" %}
<section class="taxonomy__section">
{% capture label %}{{ collection.label }}{% endcapture %}
{% if label != written_label %}
<h2 id="{{ label | slugify }}" class="archive__subtitle">{{ label }}</h2>
{% capture written_label %}{{ label }}{% endcapture %}
{% endif %}
<div class="entries-{{ entries_layout }}">
{% for post in collection.docs %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
{% endunless %}
{% endfor %}
+2 -2
View File
@@ -17,7 +17,7 @@ author_profile: true
{% endunless %}
{% for post in collection.docs %}
{% unless collection.output == false or collection.label == "posts" %}
{% include archive-single.html %}
{% include archive-single.html type=page.entries_layout %}
{% endunless %}
{% endfor %}
{% endfor %}
{% endfor %}
+9
View File
@@ -0,0 +1,9 @@
---
title: Edge Case (grid view)
layout: category
permalink: /categories/edge-case-grid/
taxonomy: Edge Case
entries_layout: grid
---
Sample post listing for the category `Edge Case`.
+9
View File
@@ -0,0 +1,9 @@
---
title: Markup (grid view)
layout: tag
permalink: /tags/markup-grid/
taxonomy: markup
entries_layout: grid
---
Sample post listing for the tag `markup`.
+16
View File
@@ -0,0 +1,16 @@
---
layout: archive
title: "Page Archive"
permalink: /page-archive-grid/
entries_layout: grid
author_profile: false
---
{% assign entries_layout = page.entries_layout | default: 'list' %}
<section class="taxonomy__section">
<div class="entries-{{ entries_layout }}">
{% for post in site.pages %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
</section>
+1 -1
View File
@@ -7,4 +7,4 @@ author_profile: false
{% for post in site.pages %}
{% include archive-single.html %}
{% endfor %}
{% endfor %}
+7
View File
@@ -0,0 +1,7 @@
---
title: "Posts by Tag (grid view)"
permalink: /tags-grid/
layout: tags
entries_layout: grid
author_profile: true
---
+7
View File
@@ -0,0 +1,7 @@
---
title: "Posts by Year (grid view)"
permalink: /year-archive-grid/
layout: posts
entries_layout: grid
author_profile: true
---

Some files were not shown because too many files have changed in this diff Show More