Compare commits

...

10 Commits

Author SHA1 Message Date
Eduardo Leggiero
1f1aa440b1 Mistake on file navigation.yml (#1079)
Previous wrong name was `navigations.yml`
2017-06-24 11:27:22 -04:00
Younesse Kaddar
bc12fd840c Little typo : Albert Einstein's E = MC (#619) 2016-10-31 11:32:06 -04:00
Burak Ozdemir
f9d874ffea Added missing Turkish translation for UI text (#621) 2016-10-31 11:31:55 -04:00
Staticman
3d0d9ef637 Add Staticman entry (#614) 2016-10-26 09:33:48 -04:00
Staticman
3ad371db35 Add Staticman entry (#613) 2016-10-26 09:28:28 -04:00
Staticman
af358c92e3 Add Staticman entry (#603) 2016-10-20 09:42:13 -04:00
Michael Rose
f09a77804a Fix broken links 2016-10-19 10:36:13 -04:00
Michael Rose
1631f5f412 Fix typo and update link to beta release post 2016-10-17 12:21:24 -04:00
Michael Rose
860c338d30 Add theme gem beta post 2016-10-06 16:06:27 -04:00
Michael Rose
46a1ddd025 Add instructions to remove {% include icon-github.html %} or copy from Minima theme if using. 2016-09-22 12:25:18 -04:00
10 changed files with 125 additions and 20 deletions

View File

@ -6,7 +6,7 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
See what's new in the [CHANGELOG](CHANGELOG.md).
Interested in testing out a [**pre-release "gemified" version**](https://github.com/mmistakes/minimal-mistakes/tree/feature/theme-gem) of the theme? Read this blog post to [learn now](https://mmistakes.github.io/minimal-mistakes/jekyll/gemified-theme-alpha/).
Interested in testing out a [**pre-release "gemified" version**](https://github.com/mmistakes/minimal-mistakes/tree/feature/theme-gem) of the theme? Read this blog post to [learn how](https://mmistakes.github.io/minimal-mistakes/jekyll/gemified-theme-beta/).
[![Minimal Mistakes live preview][2]][1]

View File

@ -0,0 +1,6 @@
message: How does comments feature work?
name: Vaibhav
email: 0dbb98b5a3576e50b33808f3577447b2
url: 'http://vaibhavkaushal.com'
hidden: ''
date: '2016-10-26T13:05:59.708Z'

View File

@ -0,0 +1,12 @@
message: >-
@Vaibhav - Comments on the demo site are powered by
[Staticman](https://staticman.net/) that generates `_data` files for each. You
can read the theme's docs on [how to set it
up](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#static-based-comments-via-staticman)
and check out a more detailed post on my site explaining [how it all
works](https://mademistakes.com/articles/jekyll-static-comments/).
name: Michael Rose
email: 1ce71bc10b86565464b612093d89707e
url: 'https://mademistakes.com'
hidden: ''
date: '2016-10-26T13:33:32.881Z'

View File

@ -0,0 +1,6 @@
message: this is a test
name: meee
email: 232a9dcb3a6c5207768a6ee567a7bfac
url: ''
hidden: ''
date: '2016-10-20T13:41:35.070Z'

View File

@ -157,7 +157,7 @@ tr: &DEFAULT_TR
categories_label : "Kategoriler:"
date_label : "Güncelleme tarihi:"
comments_label : "Yorum yapın"
comments_title :
comments_title : "Yorumlar"
more_label : "Daha fazlasını öğrenin"
related_label : "Bunlar ilginizi çekebilir:"
follow_label : "Takip et:"
@ -167,17 +167,17 @@ tr: &DEFAULT_TR
email_label : "E-posta"
recent_posts : "Son yazılar"
undefined_wpm : "_config.yml dosyasında tanımlanmamış words_per_minute parametresi"
comment_form_info :
comment_form_comment_label :
comment_form_md_info :
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 :
comment_form_info : "Email adresiniz gösterilmeyecektir. Zorunlu alanlar işaretlenmiştir"
comment_form_comment_label : "Yorumunuz"
comment_form_md_info : "Markdown desteklenmektedir."
comment_form_name_label : "Adınız"
comment_form_email_label : "Email adresiniz"
comment_form_website_label : "Websiteniz (opsiyonel)"
comment_btn_submit : "Yorum Yap"
comment_btn_submitted : "Gönderildi"
comment_success_msg : "Yorumunuz için teşekkürler! Yorumunuz onaylandıktan sonra sitede gösterilecektir."
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..."
tr-TR:
<<: *DEFAULT_TR

View File

@ -10,7 +10,7 @@ Nothing clever here :wink:. Layouts, data files, and includes are all placed in
```bash
minimal-mistakes
├── _data # data files for customizing the theme
| ├── navigations.yml # main navigation links
| ├── navigation.yml # main navigation links
| └── ui-text.yml # text used throughout the theme's UI
├── _includes
| ├── analytics-providers # snippets for analytics (Google and custom)
@ -48,4 +48,4 @@ minimal-mistakes
├── Gemfile.lock # gem file dependencies
├── index.html # paginated home page showing recent posts
└── package.json # NPM build scripts
```
```

View File

@ -566,7 +566,7 @@ tag_archive:
Which would create category and tag links in the breadcrumbs and page meta like: `/categories/#foo` and `/tags/#foo`.
**Note:** for these links to resolve properly, category and tag index pages need to exist at [`/categories/index.html`](https://github.com/{{ site.repository }}/gh-pages/_pages/category-archive.html) and [`/tags/index.html`](https://github.com/{{ site.repository }}/gh-pages/_pages/tag-archive.html). The necessary Liquid code to build these pages can be taken from the demo site.
**Note:** for these links to resolve properly, category and tag index pages need to exist at [`/categories/index.html`](https://github.com/{{ site.repository }}/blob/gh-pages/_pages/category-archive.html) and [`/tags/index.html`](https://github.com/{{ site.repository }}/blob/gh-pages/_pages/tag-archive.html). The necessary Liquid code to build these pages can be taken from the demo site.
{: .notice--warning}
If you have the luxury of using Jekyll Plugins then [**jekyll-archives**][jekyll-archives] will make your life much easier as category and tag pages are created for you.

View File

@ -215,8 +215,8 @@ Getting our science styling on with H<sub>2</sub>O, which should push the "2" do
### Superscript Tag
Still sticking with science and Isaac Newton's E = MC<sup>2</sup>, which should lift the 2 up.
Still sticking with science and Albert Einstein's E = MC<sup>2</sup>, which should lift the 2 up.
### Variable Tag
This allows you to denote <var>variables</var>.
This allows you to denote <var>variables</var>.

View File

@ -1,6 +1,6 @@
---
title: "Gemified Theme -- Alpha Release"
modified: 2016-09-22T09:59:00-04:00
modified: 2016-09-22T12:24:42-04:00
categories:
- Jekyll
tags:
@ -86,7 +86,7 @@ You'll also need to:
- Replace `<site root>/index.html` with a modified [Minimal Mistakes `index.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/index.html).
- Change `layout: post` in `_posts/0000-00-00-welcome-to-jekyll.markdown` to `layout: single`.
- Change `layout: page` in `about.md` to `layout: single`.
- Remove `about.md`, or at the very least change `layout: page` to `layout: single` and remove references to `icon-github.html` (or [copy to your `_includes`](https://github.com/jekyll/minima/tree/master/_includes) if using).
---

View File

@ -0,0 +1,81 @@
---
title: "Gemified Theme -- Beta Release"
modified: 2016-10-06T16:03:49-04:00
categories:
- Jekyll
tags:
- update
---
Hot on the heels of Jekyll v3.3.0 is a beta release of Minimal Mistakes... as a gemified theme.
{% include base_path %}
{% include toc title="Getting Started" %}
[`minimal-mistakes-jekyll`](https://rubygems.org/gems/minimal-mistakes-jekyll) can only be used with Jekyll proper. If you're hosting on GitHub Pages or using that gem the theme won't work. 3rd party themes haven't been white-listed so it's a no go for now.
Fine with all that? Great. Let's continue.
If you're migrating a site already using Minimal Mistakes and haven't customized any of the `_includes`, `_layouts`, `_sass` partials, or `assets` this should be quick and painless.
## Step 1: Remove Theme Files
Remove `_includes`, `_layouts`, `_sass`, `assets` folders and files within. You won't need these anymore as they're bundled in the theme.
If you customized any of these then leave them alone and only remove the untouched ones. If setup correctly your modified versions should act as [overrides](http://jekyllrb.com/docs/themes/#overriding-theme-defaults) to the versions bundled with the theme.
## Step 2: Update `Gemfile`
Replace `gem "github-pages` or `gem "jekyll"` with `gem "jekyll", "~> 3.3.0"`. You'll need the latest version of Jekyll[^update-jekyll] for Minimal Mistakes to work and load all of the /assets/ properly.
[^update-jekyll]: You could also run `bundle update jekyll` to update Jekyll.
Add the Minimal Mistakes theme gem:
```ruby
gem "minimal-mistakes-jekyll"
```
When finished your `Gemfile` should look something like this:
```ruby
source "https://rubygems.org"
gem "jekyll", "~> 3.3.0"
gem "minimal-mistakes-jekyll"
```
## Step 3: Run Bundler
Run `bundle install` (or `bundle update` if you're updating an existing repo) to install/update Jekyll and the theme.
## Step 4: Install the Theme
Add `theme: "minimal-mistakes-jekyll"` to your `_config.yml` file.
If you're migrating from an existing Minimal Mistakes site you shouldn't have to change anything else after this. If it's a new site consult then docs to [properly config]({{ base_path }}/docs/configuration/).
**Please Note:** Paths for image headers, overlays, teasers, [galleries]({{ base_path }}/docs/helpers/#gallery), and [feature rows]({{ base_path }}/docs/helpers/#feature-row) have changed and now require a full path. Instead of just `image: filename.jpg` you'll need to use the full path eg: `image: assets/images/filename.jpg`. The preferred location is now `assets/images` but can be placed elsewhere or external hosted. This all applies for image references in `_config.yml` and `author.yml` as well.
{: .notice--danger}
## Step 5: `jekyll new` Tweaks
If this is a new site be sure to add the following files to `_data/` and customize as you see fit. There is currently no way of bundling them in with the theme, so be sure to consult the docs on how to properly use both.
- [`_data/ui-text.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/ui-text.yml) - UI text [documentation]({{ base_path }}/docs/ui-text/)
- [`_data/navigation.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_data/navigation.yml) - navigation [documentation]({{ base_path }}/docs/navigation/)
You'll also need to:
- Replace `<site root>/index.html` with a modified [Minimal Mistakes `index.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/index.html).
- Change `layout: post` in `_posts/0000-00-00-welcome-to-jekyll.markdown` to `layout: single`.
- Remove `about.md`, or at the very least change `layout: page` to `layout: single` and remove references to `icon-github.html` (or [copy to your `_includes`](https://github.com/jekyll/minima/tree/master/_includes) if using).
---
That's it! If all goes well running `bundle exec jekyll serve` should spin-up your site. If you encounter any bumps please file an issue on GitHub and make sure to indicate you're testing the pre-release Ruby gem version.
[File an issue](https://github.com/mmistakes/minimal-mistakes/issues/new){: .btn .btn--info .btn--large}
Thanks!