Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86f27cdee1 | ||
|
|
2cfad13f51 | ||
|
|
a76fa288c9 | ||
|
|
d238a0de83 | ||
|
|
1c6b42484d | ||
|
|
5a2d54f64f | ||
|
|
74775e830d | ||
|
|
1814d6c1a5 | ||
|
|
97ef2d2985 | ||
|
|
70aa1e26e1 | ||
|
|
534adff39d | ||
|
|
51b6c6ed59 | ||
|
|
ca9e90658b | ||
|
|
e122808ad6 | ||
|
|
21166c14ee | ||
|
|
2d818cc8d1 | ||
|
|
9a9cbc01e3 | ||
|
|
fc0f8f5b1d | ||
|
|
e01b0f464e | ||
|
|
5ed2ded1d7 | ||
|
|
22c289cb32 | ||
|
|
97c081eb22 | ||
|
|
cd79ac9a64 | ||
|
|
e5147f8de9 | ||
|
|
14e72d04b9 | ||
|
|
2a670aaf4d | ||
|
|
aa36c026a2 | ||
|
|
89a44dc057 | ||
|
|
6d31ffe4ab | ||
|
|
54a8646901 | ||
|
|
cda165d5ea | ||
|
|
2317c1eecb | ||
|
|
4dca159fbf | ||
|
|
a4bd227927 | ||
|
|
ea52f84fdf | ||
|
|
4ea28fa4e6 | ||
|
|
ac8e419062 | ||
|
|
e536f049ce | ||
|
|
6a9e5eebc6 | ||
|
|
b8076e1109 | ||
|
|
c259fe907b | ||
|
|
c1fef02d44 | ||
|
|
074d994fb5 | ||
|
|
6a748cbcc1 | ||
|
|
1edc062f40 | ||
|
|
c3e2272a6f | ||
|
|
301e325ec9 | ||
|
|
15f34c83a1 |
+65
-4
@@ -1,3 +1,64 @@
|
|||||||
|
## [3.3.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.4)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add support for configurable feed URL to use a service like FeedBurner instead of linking directly to `feed.xml` in `<head>` and the site footer. [#378](https://github.com/mmistakes/minimal-mistakes/issues/378), [#379](https://github.com/mmistakes/minimal-mistakes/pull/379), [#406](https://github.com/mmistakes/minimal-mistakes/pull/406)
|
||||||
|
- Add Turkish localized UI text. [#403](https://github.com/mmistakes/minimal-mistakes/pull/403)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Update gems: `activesupport` (4.2.7), `ffi` (1.9.14), `github-pages` (88), `jekyll-redirect-from` (0.11.0), `jekyll-watch` (1.5.0).
|
||||||
|
|
||||||
|
## [3.3.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.3)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Make footer stick to the bottom of the page.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix `gallery` size bug [#402](https://github.com/mmistakes/minimal-mistakes/issues/402)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Set default `lang` to `en`.
|
||||||
|
|
||||||
|
## [3.3.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.2)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix JavaScript that triggers "sticky" sidebar to avoid layout issues on screen sizes < `1024px`. [#396](https://github.com/mmistakes/minimal-mistakes/issues/396)
|
||||||
|
|
||||||
|
## [3.3.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.3.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Enable image popup on < 500px wide screens. [#385](https://github.com/mmistakes/minimal-mistakes/issues/385)
|
||||||
|
- Indicate the relationship between component URLs in a paginated series by applying `rel="prev"` and `rel="next"` to pages that use `site.paginator`. [#253](https://github.com/mmistakes/minimal-mistakes/issues/253)
|
||||||
|
- Improve link posts in archive listings. [#276](https://github.com/mmistakes/minimal-mistakes/issues/276)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
- Update gems: `github-pages` (86), `ffi` 1.9.13, `jekyll-mentions` 1.1.3, and `rouge` 1.11.1
|
||||||
|
- Fix note about custom sidebar content appearing below author profile. [#388](https://github.com/mmistakes/minimal-mistakes/issues/388)
|
||||||
|
|
||||||
|
## [3.2.13](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.13)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add English default UI text for Canada, Great Britain, and Australia. [#377](https://github.com/mmistakes/minimal-mistakes/issues/377)
|
||||||
|
- Switch default locale from `en-US` to `en`.
|
||||||
|
|
||||||
|
## [3.2.12](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.12)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Remove window width "magic number" from sticky sidebar check in `main.js` for improved flexibility. [#375](https://github.com/mmistakes/minimal-mistakes/pull/375)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix author override conditional where a missing `authors.yml` would show broken sidebar content. Defaults to `site.author`. [#376](https://github.com/mmistakes/minimal-mistakes/pull/376)
|
||||||
|
|
||||||
## [3.2.11](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.11)
|
## [3.2.11](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.11)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
@@ -83,13 +144,13 @@
|
|||||||
|
|
||||||
## [3.2.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.3)
|
## [3.2.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.3)
|
||||||
|
|
||||||
### Enhancement
|
### Enhancements
|
||||||
|
|
||||||
- Add [Discourse](https://www.discourse.org/) as a commenting provider. [#335](https://github.com/mmistakes/minimal-mistakes/pull/335)
|
- Add [Discourse](https://www.discourse.org/) as a commenting provider. [#335](https://github.com/mmistakes/minimal-mistakes/pull/335)
|
||||||
|
|
||||||
## [3.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.2)
|
## [3.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.2)
|
||||||
|
|
||||||
### Enhancement
|
### Enhancements
|
||||||
|
|
||||||
- Add support for image captions in Magnific Popup overlays via the [`gallery`](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery) helper. [#334](https://github.com/mmistakes/minimal-mistakes/issues/334)
|
- Add support for image captions in Magnific Popup overlays via the [`gallery`](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery) helper. [#334](https://github.com/mmistakes/minimal-mistakes/issues/334)
|
||||||
|
|
||||||
@@ -123,7 +184,7 @@
|
|||||||
|
|
||||||
## [3.1.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.7)
|
## [3.1.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.7)
|
||||||
|
|
||||||
### Enhancement
|
### Enhancements
|
||||||
|
|
||||||
- Add translation key for "Recent Posts" used in home page `index.html`. [#316](https://github.com/mmistakes/minimal-mistakes/pull/316)
|
- Add translation key for "Recent Posts" used in home page `index.html`. [#316](https://github.com/mmistakes/minimal-mistakes/pull/316)
|
||||||
|
|
||||||
@@ -166,7 +227,7 @@
|
|||||||
|
|
||||||
## [3.1.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.2)
|
## [3.1.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.2)
|
||||||
|
|
||||||
### Enhancement
|
### Enhancements
|
||||||
|
|
||||||
- Explain how to use `nav_list` helper in [documentation](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list).
|
- Explain how to use `nav_list` helper in [documentation](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list).
|
||||||
- Reduce left/right padding on smaller screens to increase width of main content column.
|
- Reduce left/right padding on smaller screens to increase width of main content column.
|
||||||
|
|||||||
+14
-13
@@ -1,7 +1,7 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
activesupport (4.2.6)
|
activesupport (4.2.7)
|
||||||
i18n (~> 0.7)
|
i18n (~> 0.7)
|
||||||
json (~> 1.7, >= 1.7.7)
|
json (~> 1.7, >= 1.7.7)
|
||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
@@ -18,19 +18,20 @@ GEM
|
|||||||
execjs (2.7.0)
|
execjs (2.7.0)
|
||||||
faraday (0.9.2)
|
faraday (0.9.2)
|
||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
ffi (1.9.10)
|
ffi (1.9.14)
|
||||||
ffi (1.9.10-x64-mingw32)
|
ffi (1.9.14-x64-mingw32)
|
||||||
gemoji (2.1.0)
|
gemoji (2.1.0)
|
||||||
github-pages (84)
|
github-pages (88)
|
||||||
|
activesupport (= 4.2.7)
|
||||||
github-pages-health-check (= 1.1.0)
|
github-pages-health-check (= 1.1.0)
|
||||||
jekyll (= 3.1.6)
|
jekyll (= 3.1.6)
|
||||||
jekyll-coffeescript (= 1.0.1)
|
jekyll-coffeescript (= 1.0.1)
|
||||||
jekyll-feed (= 0.5.1)
|
jekyll-feed (= 0.5.1)
|
||||||
jekyll-gist (= 1.4.0)
|
jekyll-gist (= 1.4.0)
|
||||||
jekyll-github-metadata (= 2.0.2)
|
jekyll-github-metadata (= 2.0.2)
|
||||||
jekyll-mentions (= 1.1.2)
|
jekyll-mentions (= 1.1.3)
|
||||||
jekyll-paginate (= 1.1.0)
|
jekyll-paginate (= 1.1.0)
|
||||||
jekyll-redirect-from (= 0.10.0)
|
jekyll-redirect-from (= 0.11.0)
|
||||||
jekyll-sass-converter (= 1.3.0)
|
jekyll-sass-converter (= 1.3.0)
|
||||||
jekyll-seo-tag (= 2.0.0)
|
jekyll-seo-tag (= 2.0.0)
|
||||||
jekyll-sitemap (= 0.10.0)
|
jekyll-sitemap (= 0.10.0)
|
||||||
@@ -39,7 +40,7 @@ GEM
|
|||||||
liquid (= 3.0.6)
|
liquid (= 3.0.6)
|
||||||
listen (= 3.0.6)
|
listen (= 3.0.6)
|
||||||
mercenary (~> 0.3)
|
mercenary (~> 0.3)
|
||||||
rouge (= 1.10.1)
|
rouge (= 1.11.1)
|
||||||
terminal-table (~> 1.4)
|
terminal-table (~> 1.4)
|
||||||
github-pages-health-check (1.1.0)
|
github-pages-health-check (1.1.0)
|
||||||
addressable (~> 2.3)
|
addressable (~> 2.3)
|
||||||
@@ -47,8 +48,8 @@ GEM
|
|||||||
octokit (~> 4.0)
|
octokit (~> 4.0)
|
||||||
public_suffix (~> 1.4)
|
public_suffix (~> 1.4)
|
||||||
typhoeus (~> 0.7)
|
typhoeus (~> 0.7)
|
||||||
html-pipeline (2.4.1)
|
html-pipeline (2.4.2)
|
||||||
activesupport (>= 2, < 5)
|
activesupport (>= 2)
|
||||||
nokogiri (>= 1.4)
|
nokogiri (>= 1.4)
|
||||||
i18n (0.7.0)
|
i18n (0.7.0)
|
||||||
jekyll (3.1.6)
|
jekyll (3.1.6)
|
||||||
@@ -68,18 +69,18 @@ GEM
|
|||||||
jekyll-github-metadata (2.0.2)
|
jekyll-github-metadata (2.0.2)
|
||||||
jekyll (~> 3.1)
|
jekyll (~> 3.1)
|
||||||
octokit (~> 4.0)
|
octokit (~> 4.0)
|
||||||
jekyll-mentions (1.1.2)
|
jekyll-mentions (1.1.3)
|
||||||
html-pipeline (~> 2.3)
|
html-pipeline (~> 2.3)
|
||||||
jekyll (~> 3.0)
|
jekyll (~> 3.0)
|
||||||
jekyll-paginate (1.1.0)
|
jekyll-paginate (1.1.0)
|
||||||
jekyll-redirect-from (0.10.0)
|
jekyll-redirect-from (0.11.0)
|
||||||
jekyll (>= 2.0)
|
jekyll (>= 2.0)
|
||||||
jekyll-sass-converter (1.3.0)
|
jekyll-sass-converter (1.3.0)
|
||||||
sass (~> 3.2)
|
sass (~> 3.2)
|
||||||
jekyll-seo-tag (2.0.0)
|
jekyll-seo-tag (2.0.0)
|
||||||
jekyll (~> 3.1)
|
jekyll (~> 3.1)
|
||||||
jekyll-sitemap (0.10.0)
|
jekyll-sitemap (0.10.0)
|
||||||
jekyll-watch (1.4.0)
|
jekyll-watch (1.5.0)
|
||||||
listen (~> 3.0, < 3.1)
|
listen (~> 3.0, < 3.1)
|
||||||
jemoji (0.6.2)
|
jemoji (0.6.2)
|
||||||
gemoji (~> 2.0)
|
gemoji (~> 2.0)
|
||||||
@@ -109,7 +110,7 @@ GEM
|
|||||||
rb-fsevent (0.9.7)
|
rb-fsevent (0.9.7)
|
||||||
rb-inotify (0.9.7)
|
rb-inotify (0.9.7)
|
||||||
ffi (>= 0.5.0)
|
ffi (>= 0.5.0)
|
||||||
rouge (1.10.1)
|
rouge (1.11.1)
|
||||||
safe_yaml (1.0.4)
|
safe_yaml (1.0.4)
|
||||||
sass (3.4.22)
|
sass (3.4.22)
|
||||||
sawyer (0.7.0)
|
sawyer (0.7.0)
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
# Minimal Mistakes Jekyll Theme
|
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
||||||
|
|
||||||
|
[](https://github.com/mmistakes/minimal-mistakes/releases) [](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
|
||||||
|
|
||||||
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
||||||
|
|
||||||
|
See what's new in the [CHANGELOG](CHANGELOG.md).
|
||||||
|
|
||||||
[![Minimal Mistakes live preview][2]][1]
|
[![Minimal Mistakes live preview][2]][1]
|
||||||
|
|
||||||
[1]: https://mmistakes.github.io/minimal-mistakes/
|
[1]: https://mmistakes.github.io/minimal-mistakes/
|
||||||
@@ -21,6 +25,7 @@ The theme includes responsive layouts (`single`, `archive`, and `splash` pages)
|
|||||||
- Optional header images, sidebars, table of contents, galleries, related posts, breadcrumb links, and more.
|
- Optional header images, sidebars, table of contents, galleries, related posts, breadcrumb links, and more.
|
||||||
- Optional comments ([Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), and custom).
|
- Optional comments ([Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), and custom).
|
||||||
- Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom).
|
- Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom).
|
||||||
|
- UI localized text: English (default), Spanish, French, and Turkish.
|
||||||
|
|
||||||
#### Demo Pages
|
#### Demo Pages
|
||||||
|
|
||||||
@@ -63,6 +68,14 @@ To help me out try to avoid creating pull requests on `master` and instead branc
|
|||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
|
### Creator
|
||||||
|
|
||||||
|
**Michael Rose**
|
||||||
|
|
||||||
|
- <https://mademistakes.com>
|
||||||
|
- <https://twitter.com/mmistakes>
|
||||||
|
- <https://github.com/mmistakes>
|
||||||
|
|
||||||
### Icons + Demo Images:
|
### Icons + Demo Images:
|
||||||
|
|
||||||
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
||||||
|
|||||||
+3
-1
@@ -6,7 +6,7 @@
|
|||||||
# `jekyll serve`. If you change this file, please restart the server process.
|
# `jekyll serve`. If you change this file, please restart the server process.
|
||||||
|
|
||||||
# Site Settings
|
# Site Settings
|
||||||
locale : "en-US"
|
locale : "en"
|
||||||
title : "Site Title"
|
title : "Site Title"
|
||||||
title_separator : "-"
|
title_separator : "-"
|
||||||
name : "Your Name"
|
name : "Your Name"
|
||||||
@@ -28,6 +28,8 @@ comments:
|
|||||||
appid :
|
appid :
|
||||||
num_posts : # 5 (default)
|
num_posts : # 5 (default)
|
||||||
colorscheme : # "light" (default), "dark"
|
colorscheme : # "light" (default), "dark"
|
||||||
|
atom_feed:
|
||||||
|
path : # blank (default) uses feed.xml
|
||||||
|
|
||||||
# SEO Related
|
# SEO Related
|
||||||
google_site_verification :
|
google_site_verification :
|
||||||
|
|||||||
+4
-13
@@ -1,16 +1,7 @@
|
|||||||
# main links links
|
# main links links
|
||||||
main:
|
main:
|
||||||
- title: "Quick-Start Guide"
|
- title: "Sample Navigation Link"
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
url: https://mmistakes.github.io/minimal-mistakes/docs/navigation/
|
||||||
|
|
||||||
- title: "About"
|
- title: "Sample Navigation Link 2"
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/
|
url: /
|
||||||
|
|
||||||
- title: "Sample Posts"
|
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
|
||||||
|
|
||||||
- title: "Sample Pages"
|
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/page-archive/
|
|
||||||
|
|
||||||
- title: "Sample Collections"
|
|
||||||
url: https://mmistakes.github.io/minimal-mistakes/collection-archive/
|
|
||||||
+36
-1
@@ -29,7 +29,11 @@ en: &DEFAULT_EN
|
|||||||
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
|
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
|
||||||
en-US:
|
en-US:
|
||||||
<<: *DEFAULT_EN
|
<<: *DEFAULT_EN
|
||||||
en-UK:
|
en-CA:
|
||||||
|
<<: *DEFAULT_EN
|
||||||
|
en-GB:
|
||||||
|
<<: *DEFAULT_EN
|
||||||
|
en-AU:
|
||||||
<<: *DEFAULT_EN
|
<<: *DEFAULT_EN
|
||||||
|
|
||||||
# Spanish
|
# Spanish
|
||||||
@@ -98,5 +102,36 @@ fr-BE:
|
|||||||
fr-CH:
|
fr-CH:
|
||||||
<<: *DEFAULT_FR
|
<<: *DEFAULT_FR
|
||||||
|
|
||||||
|
# Turkish
|
||||||
|
# -----------------
|
||||||
|
tr: &DEFAULT_TR
|
||||||
|
page : "Sayfa"
|
||||||
|
pagination_previous : "Önceki"
|
||||||
|
pagination_next : "Sonraki"
|
||||||
|
breadcrumb_home_label : "Ana Sayfa"
|
||||||
|
breadcrumb_separator : "/"
|
||||||
|
toc_label : "İçindekiler"
|
||||||
|
ext_link_label : "Doğrudan Bağlantı"
|
||||||
|
less_than : "Şu süreden az: "
|
||||||
|
minute_read : "dakika tahmini okuma süresi"
|
||||||
|
share_on_label : "Paylaş"
|
||||||
|
meta_label :
|
||||||
|
tags_label : "Etiketler:"
|
||||||
|
categories_label : "Kategoriler:"
|
||||||
|
date_label : "Güncelleme tarihi:"
|
||||||
|
comments_label : "Yorum yapın"
|
||||||
|
more_label : "Daha fazlasını öğrenin"
|
||||||
|
related_label : "Bunlar ilginizi çekebilir:"
|
||||||
|
follow_label : "Takip et:"
|
||||||
|
feed_label : "RSS"
|
||||||
|
powered_by : "Emeği geçenler: "
|
||||||
|
website_label : "Web sayfası"
|
||||||
|
email_label : "E-posta"
|
||||||
|
recent_posts : "Son yazılar"
|
||||||
|
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi"
|
||||||
|
tr-TR:
|
||||||
|
<<: *DEFAULT_TR
|
||||||
|
|
||||||
|
|
||||||
# Another locale
|
# Another locale
|
||||||
# --------------
|
# --------------
|
||||||
|
|||||||
@@ -6,29 +6,35 @@
|
|||||||
{% capture teaser %}{{ site.teaser }}{% endcapture %}
|
{% capture teaser %}{{ site.teaser }}{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if post.id %}
|
||||||
|
{% assign title = post.title | markdownify | remove: "<p>" | remove: "</p>" %}
|
||||||
|
{% else %}
|
||||||
|
{% assign title = post.title %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="{{ include.type | default: "list" }}__item">
|
<div class="{{ include.type | default: "list" }}__item">
|
||||||
{% if post.link %}
|
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
||||||
<a href="{{ post.link }}" target="_blank">
|
{% if include.type == "grid" and teaser != blank %}
|
||||||
{% else %}
|
<div class="archive__item-teaser">
|
||||||
<a href="{{ base_path }}{{ post.url }}">
|
<img src=
|
||||||
{% endif %}
|
{% if teaser contains "://" %}
|
||||||
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
"{{ teaser }}"
|
||||||
{% if include.type == "grid" and teaser != blank %}
|
{% else %}
|
||||||
<div class="archive__item-teaser">
|
"{{ teaser | prepend: "/images/" | prepend: base_path }}"
|
||||||
<img src=
|
{% endif %}
|
||||||
{% if teaser contains "://" %}
|
alt="">
|
||||||
"{{ teaser }}"
|
</div>
|
||||||
{% else %}
|
{% endif %}
|
||||||
"{{ teaser | prepend: "/images/" | prepend: base_path }}"
|
<h2 class="archive__item-title" itemprop="headline">
|
||||||
{% endif %}
|
{% if post.link %}
|
||||||
alt="">
|
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ base_path }}{{ post.url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
||||||
</div>
|
{% else %}
|
||||||
|
<a href="{{ base_path }}{{ post.url }}" rel="permalink">{{ title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h2 class="archive__item-title" itemprop="headline">{% if post.id %}{{ post.title | markdownify | remove: "<p>" | remove: "</p>" }}{% else %}{{ post.title }}{% endif %}{% if post.link %}<i class="fa fa-star" aria-hidden="true"></i>{% endif %}</h2>
|
</h2>
|
||||||
{% if post.read_time %}
|
{% if post.read_time %}
|
||||||
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
|
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
||||||
</article>
|
</article>
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{% include base_path %}
|
{% include base_path %}
|
||||||
|
|
||||||
{% if page.author %}
|
{% if page.author and site.data.authors[page.author] %}
|
||||||
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
|
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
{% if site.author.bitbucket %}
|
{% if site.author.bitbucket %}
|
||||||
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="{{ base_path }}/feed.xml"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label }}</a></li>
|
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ base_path }}/feed.xml{% endif %}"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label }}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+2
-4
@@ -6,11 +6,9 @@
|
|||||||
{% assign gallery = page.gallery %}
|
{% assign gallery = page.gallery %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% capture gallery_size %}{{ gallery | size }}{% endcapture %}
|
{% if gallery.size == 2 %}
|
||||||
|
|
||||||
{% if gallery_size == '2' %}
|
|
||||||
{% assign gallery_layout = 'half' %}
|
{% assign gallery_layout = 'half' %}
|
||||||
{% elsif gallery_size >= '3' %}
|
{% elsif gallery.size >= 3 %}
|
||||||
{% assign gallery_layout = 'third' %}
|
{% assign gallery_layout = 'third' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign gallery_layout = '' %}
|
{% assign gallery_layout = '' %}
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{% include seo.html %}
|
{% include seo.html %}
|
||||||
|
|
||||||
<link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ base_path }}/feed.xml{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
||||||
|
|
||||||
<!-- http://t.co/dKP3o1e -->
|
<!-- http://t.co/dKP3o1e -->
|
||||||
<meta name="HandheldFriendly" content="True">
|
<meta name="HandheldFriendly" content="True">
|
||||||
|
|||||||
+7
-6
@@ -92,12 +92,13 @@
|
|||||||
{% if page.date %}
|
{% if page.date %}
|
||||||
<meta property="og:type" content="article">
|
<meta property="og:type" content="article">
|
||||||
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
||||||
{% if page.next.url %}
|
{% endif %}
|
||||||
<link rel="next" href="{{ page.next.url | prepend: seo_url | replace: "/index.html", "/" }}" title="{{ page.next.title | escape }}">
|
|
||||||
{% endif %}
|
{% if paginator.previous_page %}
|
||||||
{% if page.previous.url %}
|
<link rel="prev" href="{{ paginator.previous_page_path | prepend: seo_url }}">
|
||||||
<link rel="prev" href="{{ page.previous.url | prepend: seo_url | replace: "/index.html", "/" }}" title="{{ page.previous.title | escape }}">
|
{% endif %}
|
||||||
{% endif %}
|
{% if paginator.next_page %}
|
||||||
|
<link rel="next" href="{{ paginator.next_page_path | prepend: seo_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.og_image %}
|
{% if site.og_image %}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ layout: compress
|
|||||||
{% include base_path %}
|
{% include base_path %}
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="{{ site.locale | slice: 0,2 }}" class="no-js">
|
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
||||||
<head>
|
<head>
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
{% include head/custom.html %}
|
{% include head/custom.html %}
|
||||||
|
|||||||
@@ -35,6 +35,10 @@
|
|||||||
.archive__item-title {
|
.archive__item-title {
|
||||||
margin-bottom: 0.25em;
|
margin-bottom: 0.25em;
|
||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
|
|
||||||
|
a + a {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove border
|
// remove border
|
||||||
@@ -63,7 +67,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
.archive__item:hover {
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
box-shadow: 0 0 10px rgba(#000, 0.25);
|
box-shadow: 0 0 10px rgba(#000, 0.25);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,12 @@
|
|||||||
BASE ELEMENTS
|
BASE ELEMENTS
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
|
html {
|
||||||
|
/* sticky footer fix */
|
||||||
|
position: relative;
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|||||||
@@ -5,6 +5,13 @@
|
|||||||
.page__footer {
|
.page__footer {
|
||||||
@include full();
|
@include full();
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
|
/* sticky footer fix start */
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
clear: both;
|
||||||
|
height: auto;
|
||||||
|
/* sticky footer fix end */
|
||||||
margin-top: 3em;
|
margin-top: 3em;
|
||||||
color: mix(#fff, $gray, 25%);
|
color: mix(#fff, $gray, 25%);
|
||||||
animation: intro 0.3s both;
|
animation: intro 0.3s both;
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+32
-10
@@ -4,6 +4,24 @@
|
|||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|
||||||
|
// Sticky footer
|
||||||
|
var bumpIt = function() {
|
||||||
|
$('body').css('margin-bottom', $('.page__footer').outerHeight(true));
|
||||||
|
},
|
||||||
|
didResize = false;
|
||||||
|
|
||||||
|
bumpIt();
|
||||||
|
|
||||||
|
$(window).resize(function() {
|
||||||
|
didResize = true;
|
||||||
|
});
|
||||||
|
setInterval(function() {
|
||||||
|
if(didResize) {
|
||||||
|
didResize = false;
|
||||||
|
bumpIt();
|
||||||
|
}
|
||||||
|
}, 250);
|
||||||
|
|
||||||
// FitVids init
|
// FitVids init
|
||||||
$("#main").fitVids();
|
$("#main").fitVids();
|
||||||
|
|
||||||
@@ -11,16 +29,20 @@ $(document).ready(function(){
|
|||||||
$(".sticky").Stickyfill();
|
$(".sticky").Stickyfill();
|
||||||
|
|
||||||
var stickySideBar = function(){
|
var stickySideBar = function(){
|
||||||
var windowWidth = $(window).width();
|
var show = $(".author__urls-wrapper button").length === 0 ? $(window).width() > 1024 : !$(".author__urls-wrapper button").is(":visible");
|
||||||
if (windowWidth > 1024) {
|
// console.log("has button: " + $(".author__urls-wrapper button").length === 0);
|
||||||
|
// console.log("Window Width: " + windowWidth);
|
||||||
|
// console.log("show: " + show);
|
||||||
|
//old code was if($(window).width() > 1024)
|
||||||
|
if (show) {
|
||||||
// fix
|
// fix
|
||||||
Stickyfill.rebuild();
|
Stickyfill.rebuild();
|
||||||
Stickyfill.init();
|
Stickyfill.init();
|
||||||
$(".author__urls").show()
|
$(".author__urls").show();
|
||||||
} else {
|
} else {
|
||||||
// unfix
|
// unfix
|
||||||
Stickyfill.stop();
|
Stickyfill.stop();
|
||||||
$(".author__urls").hide()
|
$(".author__urls").hide();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -45,12 +67,12 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
// Magnific-Popup options
|
// Magnific-Popup options
|
||||||
$(".image-popup").magnificPopup({
|
$(".image-popup").magnificPopup({
|
||||||
disableOn: function() {
|
// disableOn: function() {
|
||||||
if( $(window).width() < 500 ) {
|
// if( $(window).width() < 500 ) {
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
return true;
|
// return true;
|
||||||
},
|
// },
|
||||||
type: 'image',
|
type: 'image',
|
||||||
tLoading: 'Loading image #%curr%...',
|
tLoading: 'Loading image #%curr%...',
|
||||||
gallery: {
|
gallery: {
|
||||||
|
|||||||
Vendored
+5
-5
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"version": "3.2.11",
|
"version": "3.3.4",
|
||||||
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user