Compare commits

..
81 Commits
Author SHA1 Message Date
Michael Rose f4df3d459b Merge branch 'release/4.1.0' 2016-12-12 15:28:49 -05:00
Michael Rose 89d602c3f3 Bump version to 4.1.0 2016-12-12 15:28:30 -05:00
Michael Rose 66a07a67f8 Update CHANGELOG and history 2016-12-12 15:27:00 -05:00
Michael Rose 2215ee5c06 Add include for adding custom author profile links to sidebar 2016-12-12 15:21:10 -05:00
Michael Rose cc1f09c54c Fix padding issue with pagination buttons
- Close #694
2016-12-12 14:49:53 -05:00
Tom Richards 86c2fb49dc Fix link to Discourse.org homepage in noscript section (#699) 2016-12-04 23:25:52 -05:00
Michael Rose 9e5f459800 Merge branch 'release/4.0.10' into develop 2016-12-01 15:46:34 -05:00
Michael Rose 0c9f8cdae8 Merge branch 'release/4.0.10' 2016-12-01 15:46:27 -05:00
Michael Rose 9b65e8e0d7 Bump version to 4.0.10 2016-12-01 15:46:07 -05:00
Michael Rose 208299a139 Update CHANGELOG and history 2016-12-01 15:44:16 -05:00
Michael Rose 19badee452 Slight correction/improvements to French 2016-12-01 15:43:41 -05:00
Staticman 6dcbafddd1 New comment. (#689) 2016-12-01 07:02:29 -05:00
DEL+R b0d1386945 Slight corrections/improvments with French (#685)
- `comment_success_msg` : Just corrected a missing `m` in *commentaire*
- `related_label` : Added `aussi` (*as well*) in the end of the sentence to make it more "natural" French
-`less_than` : `plus petit que` wasn't right, in this precise context, this form is more about the mathematical character `<`. `moins de` is one of the exact use in this particular case (talking about duration) --- *Less than one minute* == `Moins de 1 minute`
- `follow_label` : Using `Contact` in place of `Suivez moi` make it less personal, and so, better suited for most cases (`Suivez moi` is more like `Follow me`)
2016-11-29 11:30:44 -05:00
Michael Rose 4e44f3c5db Add Staticman default path
- Close #683
2016-11-29 08:44:43 -05:00
Michael Rose 0e6d5326ed Merge branch 'hotfix/4.0.9' into develop 2016-11-21 16:06:19 -05:00
Michael Rose 8dafd7ee75 Merge branch 'hotfix/4.0.9' 2016-11-21 16:06:12 -05:00
Michael Rose f3bc19a13d Update CHANGELOG.md/history and bump vesion to 4.0.9 2016-11-21 16:05:52 -05:00
Michael Rose 2b7166dede Fix overlapping sidebar navigation list due to max-height: 100vh
- Use `max-height: 9999px` for smoother animation than `max-height: 100%`
- Issue #668
2016-11-21 16:01:59 -05:00
Michael Rose 656bcda033 Merge branch 'release/4.0.8' into develop 2016-11-21 09:56:36 -05:00
Michael Rose 3b457aa8f1 Merge branch 'release/4.0.8' 2016-11-21 09:56:29 -05:00
Michael Rose 072fd29116 Bump version to 4.0.8 2016-11-21 09:55:38 -05:00
Michael Rose 97bc971b31 Update CHANGELOG.md and history 2016-11-21 09:55:28 -05:00
Michael Rose cf23bb0b63 Merge branch 'feature/nav-list-tweak' into develop 2016-11-21 09:50:22 -05:00
Michael Rose 5ff2dcce4a Fix media query width 2016-11-21 09:50:08 -05:00
Michael Rose 3843a4bc93 Fix media query width 2016-11-21 09:49:30 -05:00
Michael Rose f047b3d63f Merge branch 'develop' of https://github.com/mmistakes/minimal-mistakes into develop 2016-11-21 09:37:44 -05:00
Michael Rose 6375f2666b Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes 2016-11-21 09:37:19 -05:00
Michael Rose f71f50b817 Add Google AdSense to demo site 2016-11-21 09:36:10 -05:00
Michael Rose 6f70f3aeda Add Google AdSense to demo site 2016-11-21 09:33:35 -05:00
Staticman 547c30ce45 Add Staticman entry (#661) 2016-11-18 17:38:02 -05:00
Michael Rose f9e36767c2 Set default value for words_per_minute
- Close #657
2016-11-18 12:22:40 -05:00
Michael Rose f5f8ae41ec Merge branch 'release/4.0.7' into develop 2016-11-17 16:02:29 -05:00
Michael Rose afb1ed4aad Merge branch 'release/4.0.7' 2016-11-17 16:02:21 -05:00
Michael Rose 028371c709 Update CHANGELOG.md and bump version to 4.0.7 2016-11-17 16:01:39 -05:00
Michael Rose bf959c2ff0 Fix active state 2016-11-17 16:00:12 -05:00
Michael Rose cdf5877acc Merge branch 'feature/sidebar-nav' into develop 2016-11-17 15:44:46 -05:00
Michael Rose fb1f0f1061 Adjust color of .nav__items a 2016-11-17 15:43:32 -05:00
Michael Rose fb15bd6c3b Adjust color of .nav__items a 2016-11-17 15:43:28 -05:00
Michael Rose 3408e27fcf Adjust nav list <a> styling 2016-11-17 15:39:00 -05:00
Michael Rose c50e9ca652 Adjust nav list <a> styling 2016-11-17 15:38:55 -05:00
Michael Rose 02175b5f08 Consistently style menu toggle color 2016-11-17 15:17:44 -05:00
Michael Rose 05a9147d52 Consistently style menu toggle color 2016-11-17 15:17:40 -05:00
Michael Rose 9e2eed911f Make changes for /test 2016-11-17 15:13:55 -05:00
Michael Rose e590edfac6 Make changes for /docs 2016-11-17 15:13:46 -05:00
Michael Rose 52ef6badd7 Add +/- icon to menu button and bold label 2016-11-17 15:13:25 -05:00
Michael Rose db8bbfcfab Add sample sidebar navigation post 2016-11-17 15:12:18 -05:00
Michael Rose f9a5225c54 Collapse sidebar navigation list on smaller screens
- CSS only solution using "check-box hack"
- Add new UI text label `menu_label` in _data/ui-text.yml
- Close #607
2016-11-17 15:06:07 -05:00
Michael Rose 71ddbf1e70 Organize SCSS partials 2016-11-17 12:17:18 -05:00
Michael Rose 3a7dd49734 Rename #comments to something more specific
- Close #582
2016-11-17 12:12:55 -05:00
Michael Rose 50614506f5 Merge branch 'feature/scss-restructure' into develop 2016-11-17 12:07:27 -05:00
Michael Rose 1f9e9d0660 Organize SCSS partials 2016-11-17 11:44:22 -05:00
Michael Rose 746ead8751 Add default values to variables 2016-11-17 11:44:10 -05:00
Michael Rose 0fe3951366 Remove newline 2016-11-17 11:43:37 -05:00
Michael Rose ef7aeeb07d Add structured data markup for itemprop="person" in author-profile 2016-11-16 11:49:07 -05:00
Michael Rose 4c7914c74b Add structured data markup for itemprop="person" in author-profile 2016-11-16 11:48:52 -05:00
Michael Rose af48ac2f2a Merge branch 'release/4.0.6' into develop 2016-11-16 11:44:00 -05:00
Michael Rose 37bff52f81 Merge branch 'release/4.0.6' 2016-11-16 11:43:53 -05:00
Michael Rose 85f80a1c0f Bump version to 4.0.6 2016-11-16 11:43:32 -05:00
Michael Rose 8d016a5174 Update CHANGELOG.md and history 2016-11-16 11:40:28 -05:00
Michael Rose 91afe6c2d8 Add rake preview task for testing /test during theme development 2016-11-16 11:21:56 -05:00
Michael Rose f86af5e665 Fix code block 2016-11-15 22:14:28 -05:00
Staticman f41abd46c0 Add Staticman entry (#654) 2016-11-15 22:08:09 -05:00
Staticman 7666d0677b Add Staticman entry (#653) 2016-11-15 19:01:37 -05:00
Michael Rose c4252b09af Merge branch 'feature/image-helper' into develop 2016-11-15 12:12:54 -05:00
Michael Rose 554e8477a8 Document figure helper 2016-11-15 12:12:27 -05:00
Michael Rose 749c780736 Rename image helper to figure 2016-11-15 12:12:14 -05:00
Michael Rose 4b10ba1c91 Merge branch 'master' of https://github.com/fa-ribeiro/minimal-mistakes into feature/image-helper 2016-11-15 09:42:37 -05:00
Michael Rose 2d30bb5929 Merge branch 'feature/locale-fix' into develop 2016-11-15 09:39:43 -05:00
Michael Rose 33fe819922 Fix locales 2016-11-15 09:36:22 -05:00
Michael Rose 0ff37a42a8 Merge branch 'patch-1' of https://github.com/jpatters/judaicadh.github.io into feature/locale-fix 2016-11-15 09:33:01 -05:00
Jordan 61160d548f Fixed improper formatting of some locales
This was causing stack level too deep errors.
2016-11-14 19:56:35 -04:00
Michael Rose 1c64b508a9 Add structured data markup for itemprop="person" in author-profile (#647)
Adds schema.org data for image, name, homeLocation, url, email,
and sameAs (for all the social media links).
2016-11-14 11:57:09 -05:00
Alois Klink ce83d3d60e Add structured data markup for itemprop="person" in author-profile
Adds schema.org data for image, name, homeLocation, url, email,
and sameAs (for all the social media links).
2016-11-13 20:47:34 +00:00
Staticman 8834e05b26 Add Staticman entry (#643) 2016-11-12 00:29:18 -05:00
Fernando Ribeiro da95259743 Do not assume images would be placed in /assets/images/
In order to add an image to a post, just use the following syntax:

{% include image image_path="/full/path/to/MyPostImage.png" caption="The optional image caption" %}

or

{% include image image_path="https://example.com/images/MyPostImage.png" caption="The optional image caption" alt="The optional alt text" %}
2016-11-08 20:15:41 +00:00
Fernando Ribeiro 637e5d9934 Replace base_path with absolute_url filter 2016-11-05 21:46:02 +00:00
Fernando Ribeiro 37d4eb8807 Update image 2016-11-05 21:27:59 +00:00
Michael Rose 32e9073e7e Update docs 2016-11-04 14:06:33 -04:00
Michael Rose 6710cae9ef Update docs 2016-11-04 14:05:59 -04:00
Michael Rose b91704a881 Merge branch 'release/4.0.5' into develop 2016-11-04 12:52:38 -04:00
Fernando Ribeiro eedf838d1f add image helper for easier image insertion in posts 2016-10-07 21:45:59 +01:00
59 changed files with 1898 additions and 397 deletions
+69
View File
@@ -1,3 +1,72 @@
## [4.1.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.0)
### Enhancements
- Add Jekyll include for adding [custom author profile links](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile-custom-links.html) to sidebar
### Bug Fixes
- Fix link to Discourse.org homepage in `noscript` section [#699](https://github.com/mmistakes/minimal-mistakes/pull/699)
- Fix padding issue with pagination buttons [#694](https://github.com/mmistakes/minimal-mistakes/issues/694)
## [4.0.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.10)
### Bug Fixes
- Add Staticman default `path`. [#683](https://github.com/mmistakes/minimal-mistakes/issues/683)
### Maintenance
- Slight correction/improvements to French UI text. [#685](https://github.com/mmistakes/minimal-mistakes/pull/685)
## [4.0.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.9)
### Bug Fixes
- Fix overlapping sidebar navigation lists due to `max-height: 100vh`. [#668](https://github.com/mmistakes/minimal-mistakes/issues/668)
## [4.0.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.8)
### Bug Fixes
- Set default value for `words_per_minute`. [#657](https://github.com/mmistakes/minimal-mistakes/issues/657)
- Adjust sidebar navigation list CSS so it collapses at the correct width.
### Maintenance
- Add Google AdSense banner to `/docs/_layouts/default.html` for demo site.
## [4.0.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.7)
### Enhancements
- Add `!default` values to **_sass/_variables.scss**.
- Collapse sidebar navigation lists on smaller screens. [#607](https://github.com/mmistakes/minimal-mistakes/issues/607)
### Bug Fixes
- Rename `#comments` to something more unique to avoid clashes with Kramdown generated headline IDs. [#582](https://github.com/mmistakes/minimal-mistakes/issues/582)
### Maintenance
- Reorganize SCSS partials in **assets/css/main.scss**
## [4.0.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.6)
### Enhancements
- Add [`figure` helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#figure) to make generating a `<figure>` element with a single image and caption easier. [#572](https://github.com/mmistakes/minimal-mistakes/pull/572)
- Add structured data markup for `itemprop="person"` in author profile sidebar. [#647](https://github.com/mmistakes/minimal-mistakes/pull/647)
### Bug Fixes
- Fix improper YAML formatting of some locales. [#651](https://github.com/mmistakes/minimal-mistakes/pull/651)
### Maintenance
- Clarify "migrating to gem-theme" instructions in **Quick Start Guide**.
- Add `rake preview` task for testing `/test` during theme development.
## [4.0.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5) ## [4.0.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5)
### Enhancements ### Enhancements
+6
View File
@@ -94,6 +94,12 @@ To help me out try to avoid creating pull requests on `master` and instead branc
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc. Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
## Development
To set up your environment to develop this theme, run `bundle install`.
To test the theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000/test/`. This starts a Jekyll server using your theme and the contents of the `test/` directory. As you make modifications to your theme and to the example site, your site will regenerate and you should see the changes in the browser after a refresh.
--- ---
## Credits ## Credits
+75
View File
@@ -0,0 +1,75 @@
require "bundler/gem_tasks"
require "jekyll"
require "listen"
def listen_ignore_paths(base, options)
[
/_config\.ya?ml/,
/_site/,
/\.jekyll-metadata/
]
end
def listen_handler(base, options)
site = Jekyll::Site.new(options)
Jekyll::Command.process_site(site)
proc do |modified, added, removed|
t = Time.now
c = modified + added + removed
n = c.length
relative_paths = c.map{ |p| Pathname.new(p).relative_path_from(base).to_s }
print Jekyll.logger.message("Regenerating:", "#{relative_paths.join(", ")} changed... ")
begin
Jekyll::Command.process_site(site)
puts "regenerated in #{Time.now - t} seconds."
rescue => e
puts "error:"
Jekyll.logger.warn "Error:", e.message
Jekyll.logger.warn "Error:", "Run jekyll build --trace for more information."
end
end
end
task :preview do
base = Pathname.new('.').expand_path
options = {
"source" => base.join('test').to_s,
"destination" => base.join('test/_site').to_s,
"force_polling" => false,
"serving" => true,
"theme" => "minimal-mistakes-jekyll"
}
options = Jekyll.configuration(options)
ENV["LISTEN_GEM_DEBUGGING"] = "1"
listener = Listen.to(
base.join("_includes"),
base.join("_layouts"),
base.join("_sass"),
base.join("assets"),
options["source"],
:ignore => listen_ignore_paths(base, options),
:force_polling => options['force_polling'],
&(listen_handler(base, options))
)
begin
listener.start
Jekyll.logger.info "Auto-regeneration:", "enabled for '#{options["source"]}'"
unless options['serving']
trap("INT") do
listener.stop
puts " Halting auto-regeneration."
exit 0
end
loop { sleep 1000 }
end
rescue ThreadError
# You pressed Ctrl-C, oh my!
end
Jekyll::Commands::Serve.process(options)
end
+1 -1
View File
@@ -35,7 +35,7 @@ staticman:
filename : comment-{@timestamp} filename : comment-{@timestamp}
format : "yml" format : "yml"
moderation : true moderation : true
path : "docs/_data/comments/{options.slug}" path : "docs/_data/comments/{options.slug}" # "/_data/comments/{options.slug}" (default)
requiredFields : ['name', 'email', 'message'] requiredFields : ['name', 'email', 'message']
transforms: transforms:
email : "md5" email : "md5"
+21 -12
View File
@@ -8,6 +8,7 @@ en: &DEFAULT_EN
pagination_next : "Next" pagination_next : "Next"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label : "Toggle Menu"
toc_label : "On This Page" toc_label : "On This Page"
ext_link_label : "Direct Link" ext_link_label : "Direct Link"
less_than : "less than" less_than : "less than"
@@ -56,6 +57,7 @@ es: &DEFAULT_ES
pagination_next : "Siguiente" pagination_next : "Siguiente"
breadcrumb_home_label : "Inicio" breadcrumb_home_label : "Inicio"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Contenidos" toc_label : "Contenidos"
ext_link_label : "Enlace" ext_link_label : "Enlace"
less_than : "menos de" less_than : "menos de"
@@ -100,9 +102,10 @@ fr: &DEFAULT_FR
pagination_next : "Suivant" pagination_next : "Suivant"
breadcrumb_home_label : "Accueil" breadcrumb_home_label : "Accueil"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Sur cette page" toc_label : "Sur cette page"
ext_link_label : "Lien direct" ext_link_label : "Lien direct"
less_than : "plus petit que" less_than : "moins de"
minute_read : "minute de lecture" minute_read : "minute de lecture"
share_on_label : "Partager sur" share_on_label : "Partager sur"
meta_label : meta_label :
@@ -112,8 +115,8 @@ fr: &DEFAULT_FR
comments_label : "Laisser un commentaire" comments_label : "Laisser un commentaire"
comments_title : comments_title :
more_label : "Lire plus" more_label : "Lire plus"
related_label : "Vous pourriez aimer" related_label : "Vous pourriez aimer aussi"
follow_label : "Suivez moi" follow_label : "Contact"
feed_label : "Flux" feed_label : "Flux"
powered_by : "Propulsé par" powered_by : "Propulsé par"
website_label : "Site" website_label : "Site"
@@ -129,7 +132,7 @@ fr: &DEFAULT_FR
comment_form_website_label : "Site web (optionnel)" comment_form_website_label : "Site web (optionnel)"
comment_btn_submit : "Envoyer" comment_btn_submit : "Envoyer"
comment_btn_submitted : "Envoyé" comment_btn_submitted : "Envoyé"
comment_success_msg : "Merci pour votre comentaire, il sera visible sur le site une fois approuvé." comment_success_msg : "Merci pour votre commentaire, il sera visible sur le site une fois approuvé."
comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez." comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez."
loading_label : "Chargement..." loading_label : "Chargement..."
fr-FR: fr-FR:
@@ -147,6 +150,7 @@ tr: &DEFAULT_TR
pagination_next : "Sonraki" pagination_next : "Sonraki"
breadcrumb_home_label : "Ana Sayfa" breadcrumb_home_label : "Ana Sayfa"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "İçindekiler" toc_label : "İçindekiler"
ext_link_label : "Doğrudan Bağlantı" ext_link_label : "Doğrudan Bağlantı"
less_than : "Şu süreden az: " less_than : "Şu süreden az: "
@@ -189,6 +193,7 @@ pt: &DEFAULT_PT
pagination_next : "Seguinte" pagination_next : "Seguinte"
breadcrumb_home_label : "Início" breadcrumb_home_label : "Início"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Nesta Página" toc_label : "Nesta Página"
ext_link_label : "Link Direto" ext_link_label : "Link Direto"
less_than : "menos de" less_than : "menos de"
@@ -227,6 +232,7 @@ pt-BR:
pagination_next : "Próxima" pagination_next : "Próxima"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Nesta página" toc_label : "Nesta página"
ext_link_label : "Link direto" ext_link_label : "Link direto"
less_than : "meno que" less_than : "meno que"
@@ -269,6 +275,7 @@ it: &DEFAULT_IT
pagination_next : "Prossima" pagination_next : "Prossima"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Indice della pagina" toc_label : "Indice della pagina"
ext_link_label : "Link" ext_link_label : "Link"
less_than : "meno di" less_than : "meno di"
@@ -311,6 +318,7 @@ zh: &DEFAULT_ZH
pagination_next : "向后" pagination_next : "向后"
breadcrumb_home_label : "首页" breadcrumb_home_label : "首页"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "在本页上" toc_label : "在本页上"
ext_link_label : "直接链接" ext_link_label : "直接链接"
less_than : "少于" less_than : "少于"
@@ -342,14 +350,14 @@ zh: &DEFAULT_ZH
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved." comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
loading_label : "Loading..." loading_label : "Loading..."
zh-CN: zh-CN:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
zh-HK: zh-HK:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
zh-SG: zh-SG:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
zh-TW: zh-TW:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
# German / Deutsch # German / Deutsch
# ----------------- # -----------------
@@ -359,6 +367,7 @@ de: &DEFAULT_DE
pagination_next : "Nächste" pagination_next : "Nächste"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Auf dieser Seite" toc_label : "Auf dieser Seite"
ext_link_label : "Direkter Link" ext_link_label : "Direkter Link"
less_than : "weniger als" less_than : "weniger als"
@@ -0,0 +1,7 @@
<!--
<li>
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
<i class="fa fa-fw" aria-hidden="true"></i> Custom Social Profile Link
</a>
</li>
-->
+161 -30
View File
@@ -1,5 +1,7 @@
{% if page.author and site.data.authors[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 %}
<div itemscope itemtype="http://schema.org/Person"> <div itemscope itemtype="http://schema.org/Person">
@@ -7,96 +9,225 @@
{% if author.avatar %} {% if author.avatar %}
<div class="author__avatar"> <div class="author__avatar">
{% if author.avatar contains "://" %} {% if author.avatar contains "://" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}"> <img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image">
{% else %} {% else %}
<img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}"> <img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image">
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
<div class="author__content"> <div class="author__content">
<h3 class="author__name">{{ author.name }}</h3> <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% if author.bio %}<p class="author__bio">{{ author.bio }}</p>{% endif %} {% if author.bio %}
<p class="author__bio" itemprop="description">
{{ author.bio }}
</p>
{% endif %}
</div> </div>
<div class="author__urls-wrapper"> <div class="author__urls-wrapper">
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button> <button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
<ul class="author__urls social-icons"> <ul class="author__urls social-icons">
{% if author.location %} {% if author.location %}
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li> <li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
</li>
{% endif %} {% endif %}
{% if author.uri %} {% if author.uri %}
<li><a href="{{ author.uri }}"><i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}</a></li> <li>
<a href="{{ author.uri }}" itemprop="url">
<i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
</a>
</li>
{% endif %} {% endif %}
{% if author.email %} {% if author.email %}
<li><a href="mailto:{{ author.email }}"><i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}</a></li> <li>
<a href="mailto:{{ author.email }}">
<meta itemprop="email" content="{{ author.email }}" />
<i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
</a>
</li>
{% endif %} {% endif %}
{% if author.keybase %} {% if author.keybase %}
<li><a href="https://keybase.io/{{ author.keybase }}"><i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li> <li>
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
<i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase
</a>
</li>
{% endif %} {% endif %}
{% if author.twitter %} {% if author.twitter %}
<li><a href="https://twitter.com/{{ author.twitter }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li> <li>
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
<i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
</a>
</li>
{% endif %} {% endif %}
{% if author.facebook %} {% if author.facebook %}
<li><a href="https://www.facebook.com/{{ author.facebook }}"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li> <li>
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
<i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
</a>
</li>
{% endif %} {% endif %}
{% if author.google_plus %} {% if author.google_plus %}
<li><a href="https://plus.google.com/+{{ author.google_plus }}"><i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+</a></li> <li>
<a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs">
<i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
</a>
</li>
{% endif %} {% endif %}
{% if author.linkedin %} {% if author.linkedin %}
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}"><i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn</a></li> <li>
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn
</a>
</li>
{% endif %} {% endif %}
{% if author.xing %} {% if author.xing %}
<li><a href="https://www.xing.com/profile/{{ author.xing }}"><i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING</a></li> <li>
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
<i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING
</a>
</li>
{% endif %} {% endif %}
{% if author.instagram %} {% if author.instagram %}
<li><a href="https://instagram.com/{{ author.instagram }}"><i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram</a></li> <li>
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram
</a>
</li>
{% endif %} {% endif %}
{% if author.tumblr %} {% if author.tumblr %}
<li><a href="https://{{ author.tumblr }}.tumblr.com"><i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr</a></li> <li>
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
<i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
</a>
</li>
{% endif %} {% endif %}
{% if author.bitbucket %} {% if author.bitbucket %}
<li><a href="https://bitbucket.org/{{ author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li> <li>
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
<i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
</a>
</li>
{% endif %} {% endif %}
{% if author.github %} {% if author.github %}
<li><a href="https://github.com/{{ author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> Github</a></li> <li>
<a href="https://github.com/{{ author.github }}" itemprop="sameAs">
<i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub
</a>
</li>
{% endif %} {% endif %}
{% if author.stackoverflow %} {% if author.stackoverflow %}
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}"><i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow</a></li> <li>
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
<i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow
</a>
</li>
{% endif %} {% endif %}
{% if author.lastfm %} {% if author.lastfm %}
<li><a href="https://last.fm/user/{{ author.lastfm }}"><i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm</a></li> <li>
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
<i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
</a>
</li>
{% endif %} {% endif %}
{% if author.dribbble %} {% if author.dribbble %}
<li><a href="https://dribbble.com/{{ author.dribbble }}"><i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble</a></li> <li>
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
<i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
</a>
</li>
{% endif %} {% endif %}
{% if author.pinterest %} {% if author.pinterest %}
<li><a href="https://www.pinterest.com/{{ author.pinterest }}"><i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest</a></li> <li>
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
<i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
</a>
</li>
{% endif %} {% endif %}
{% if author.foursquare %} {% if author.foursquare %}
<li><a href="https://foursquare.com/{{ author.foursquare }}"><i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare</a></li> <li>
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
<i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
</a>
</li>
{% endif %} {% endif %}
{% if author.steam %} {% if author.steam %}
<li><a href="https://steamcommunity.com/id/{{ author.steam }}"><i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam</a></li> <li>
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
<i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam
</a>
</li>
{% endif %} {% endif %}
{% if author.youtube %} {% if author.youtube %}
<li><a href="https://www.youtube.com/user/{{ author.youtube }}"><i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube</a></li> <li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
</a>
</li>
{% endif %} {% endif %}
{% if author.soundcloud %} {% if author.soundcloud %}
<li><a href="https://soundcloud.com/{{ author.soundcloud }}"><i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud</a></li> <li>
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
<i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud
</a>
</li>
{% endif %} {% endif %}
{% if author.weibo %} {% if author.weibo %}
<li><a href="https://www.weibo.com/{{ author.weibo }}"><i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo</a></li> <li>
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
<i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo
</a>
</li>
{% endif %} {% endif %}
{% if author.flickr %} {% if author.flickr %}
<li><a href="https://www.flickr.com/{{ author.flickr }}"><i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr</a></li> <li>
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr
</a>
</li>
{% endif %} {% endif %}
{% if author.codepen %} {% if author.codepen %}
<li><a href="https://codepen.io/{{ author.codepen }}"><i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen</a></li> <li>
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
<i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen
</a>
</li>
{% endif %} {% endif %}
{% if author.vine %} {% if author.vine %}
<li><a href="https://vine.co/u/{{ author.vine }}"><i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine</a></li> <li>
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
<i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine
</a>
</li>
{% endif %} {% endif %}
{% include author-profile-custom-links.html %}
</ul> </ul>
</div> </div>
</div> </div>
+2 -2
View File
@@ -9,5 +9,5 @@
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d); (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
})(); })();
</script> </script>
<noscript>Please enable JavaScript to view the comments powered by [Discourse](http://forum.beta-europe.org/c/beta/website).</a></noscript> <noscript>Please enable JavaScript to view the comments powered by <a href="https://www.discourse.org/">Discourse.</a></noscript>
{% endif %} {% endif %}
+2 -2
View File
@@ -11,7 +11,7 @@
<h4 class="page__comments-title">{{ comments_label }}</h4> <h4 class="page__comments-title">{{ comments_label }}</h4>
<section class="g-comments" data-href="{{ page.url | absolute_url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section> <section class="g-comments" data-href="{{ page.url | absolute_url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
{% when "staticman" %} {% when "staticman" %}
<section id="comments"> <section id="static-comments">
{% if site.repository and site.staticman.branch %} {% if site.repository and site.staticman.branch %}
<!-- Start static comments --> <!-- Start static comments -->
<div class="js-comments"> <div class="js-comments">
@@ -75,6 +75,6 @@
{% endif %} {% endif %}
</section> </section>
{% when "custom" %} {% when "custom" %}
<section id="comments"></section> <section id="custom-comments"></section>
{% endcase %} {% endcase %}
</div> </div>
+12
View File
@@ -0,0 +1,12 @@
<figure class="{{ include.class }}">
<img src=
{% if include.image_path contains "://" %}
"{{ include.image_path }}"
{% else %}
"{{ include.image_path | absolute_url }}"
{% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %}
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
{% endif %}
</figure>
+4 -2
View File
@@ -1,8 +1,10 @@
{% assign navigation = site.data.navigation[include.nav] %} {% assign navigation = site.data.navigation[include.nav] %}
<nav class="nav__list"> <nav class="nav__list">
{% if page.sidebar.title %}<header><h4 class="nav__title" style="padding: 0;">{{ page.sidebar.title }}</h4></header>{% endif %} {% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
<ul> <input id="ac-toc" name="accordion-toc" type="checkbox" />
<label for="ac-toc">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</label>
<ul class="nav__items">
{% for nav in navigation %} {% for nav in navigation %}
<li> <li>
{% if nav.url %} {% if nav.url %}
+7 -9
View File
@@ -1,17 +1,15 @@
{% assign words_per_minute = site.words_per_minute | default: 200 %}
{% if post.read_time %} {% if post.read_time %}
{% assign words = post.content | strip_html | number_of_words %} {% assign words = post.content | strip_html | number_of_words %}
{% elsif page.read_time %} {% elsif page.read_time %}
{% assign words = page.content | strip_html | number_of_words %} {% assign words = page.content | strip_html | number_of_words %}
{% endif %} {% endif %}
{% if site.words_per_minute %} {% if words < 180 %}
{% if words < 180 %} {{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{{ 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 < 360 %}
{% elsif words < 360 %} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% else %}
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %}
{% else %} {% else %}
{{ site.data.ui-text[site.locale].undefined_wpm | "Undefined parameter words_per_minute at _config.yml" }} {{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %} {% endif %}
+1 -1
View File
@@ -235,4 +235,4 @@
} }
} }
} }
} }
+121 -9
View File
@@ -75,6 +75,7 @@
margin-left: -1px; margin-left: -1px;
a { a {
display: block;
margin-bottom: 0.25em; margin-bottom: 0.25em;
padding: 0.5em 1em; padding: 0.5em 1em;
font-family: $sans-serif; font-family: $sans-serif;
@@ -314,20 +315,104 @@
========================================================================== */ ========================================================================== */
.nav__list { .nav__list {
font-size: 1.25rem; margin-bottom: 1.5em;
ul { input[type="checkbox"],
margin-bottom: 1em; label {
display: none;
} }
a { @include breakpoint(max-width ($large - 1px)) {
display: block;
padding: 0.125em 0;
color: inherit;
&:hover { label {
text-decoration: underline; position: relative;
display: inline-block;
padding: 0.5em 2.5em 0.5em 1em;
color: $gray;
font-size: $type-size-6;
font-weight: bold;
border: 1px solid $light-gray;
border-radius: $border-radius;
z-index: 20;
-webkit-transition: 0.2s ease-out;
transition: 0.2s ease-out;
cursor: pointer;
&:before,
&:after {
content: '';
position: absolute;
right: 1em;
top: 1.25em;
width: 0.75em;
height: 0.125em;
line-height: 1;
background-color: $gray;
transition: 0.2s ease-out;
}
&:after {
transform: rotate(90deg);
}
&:hover {
color: #fff;
border-color: $gray;
background-color: mix(white, #000, 20%);
&:before,
&:after {
background-color: #fff;
}
}
} }
/* selected*/
input:checked + label {
color: white;
background-color: mix(white, #000, 20%);
&:before,
&:after {
background-color: #fff;
}
}
// on hover show expand
label:hover:after {
transform: rotate(90deg);
}
input:checked + label:hover:after {
transform: rotate(0);
}
ul {
margin-bottom: 1em;
}
a {
display: block;
padding: 0.25em 0;
@include breakpoint($large) {
padding-top: 0.125em;
padding-bottom: 0.125em;
}
&:hover {
text-decoration: underline;
}
}
}
}
.nav__list .nav__items {
margin: 0;
font-size: 1.25rem;
a {
color: inherit;
} }
.active { .active {
@@ -343,6 +428,33 @@
color: #fff; color: #fff;
} }
} }
@include breakpoint(max-width ($large - 1px)) {
position: relative;
max-height: 0;
opacity: 0%;
overflow: hidden;
z-index: 10;
-webkit-transition: 0.3s ease-in-out;
transition: 0.3s ease-in-out;
-webkit-transform: translate(0, 10%);
-ms-transform: translate(0, 10%);
transform: translate(0, 10%);
}
}
@include breakpoint(max-width ($large - 1px)) {
.nav__list input:checked ~ .nav__items {
-webkit-transition: 0.5s ease-in-out;
transition: 0.5s ease-in-out;
max-height: 9999px; // exaggerate max-height to accommodate tall lists
overflow: visible;
opacity: 1;
margin-top: 1em;
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
} }
.nav__title { .nav__title {
+1 -1
View File
@@ -15,4 +15,4 @@
.page__footer { .page__footer {
display: none; display: none;
} }
} }
+1 -1
View File
@@ -184,4 +184,4 @@ input[type="search"]::-webkit-search-cancel-button {
textarea { textarea {
overflow: auto; /* remove vertical scrollbar in IE6-9*/ overflow: auto; /* remove vertical scrollbar in IE6-9*/
vertical-align: top; /* readability and alignment cross-browser*/ vertical-align: top; /* readability and alignment cross-browser*/
} }
-4
View File
@@ -33,10 +33,6 @@
font-family: $sans-serif-narrow; font-family: $sans-serif-narrow;
} }
h3, h4 {
font-size: $type-size-5;
}
p, li { p, li {
font-family: $sans-serif; font-family: $sans-serif;
font-size: $type-size-6; font-size: $type-size-6;
+1 -1
View File
@@ -467,4 +467,4 @@ a.reversefootnote {
.required { .required {
color: $danger-color; color: $danger-color;
font-weight: bold; font-weight: bold;
} }
+78 -97
View File
@@ -6,142 +6,123 @@
Typography Typography
========================================================================== */ ========================================================================== */
$doc-font-size : 16; $doc-font-size : 16 !default;
/* paragraph indention */ /* paragraph indention */
$paragraph-indent : false; // true, false (default) $paragraph-indent : false !default; // true, false (default)
$indent-var : 1.3em; $indent-var : 1.3em !default;
/* system typefaces */ /* system typefaces */
$serif : Georgia, Times, serif; $serif : Georgia, Times, serif !default;
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif; $sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
$monospace : Monaco, Consolas, "Lucida Console", monospace; $monospace : Monaco, Consolas, "Lucida Console", monospace !default;
/* sans serif typefaces */ /* sans serif typefaces */
$sans-serif-narrow : $sans-serif; $sans-serif-narrow : $sans-serif !default;
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif; $helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif !default;
/* serif typefaces */ /* serif typefaces */
$georgia : Georgia, serif; $georgia : Georgia, serif !default;
$times : Times, serif; $times : Times, serif !default;
$bodoni : "Bodoni MT", serif; $bodoni : "Bodoni MT", serif !default;
$calisto : "Calisto MT", serif; $calisto : "Calisto MT", serif !default;
$garamond : Garamond, serif; $garamond : Garamond, serif !default;
$global-font-family : $sans-serif; $global-font-family : $sans-serif !default;
$header-font-family : $sans-serif; $header-font-family : $sans-serif !default;
$caption-font-family : $serif; $caption-font-family : $serif !default;
/* type scale */ /* type scale */
$type-size-1 : 2.441em; // ~39.056px $type-size-1 : 2.441em !default; // ~39.056px
$type-size-2 : 1.953em; // ~31.248px $type-size-2 : 1.953em !default; // ~31.248px
$type-size-3 : 1.563em; // ~25.008px $type-size-3 : 1.563em !default; // ~25.008px
$type-size-4 : 1.25em; // ~20px $type-size-4 : 1.25em !default; // ~20px
$type-size-5 : 1em; // ~16px $type-size-5 : 1em !default; // ~16px
$type-size-6 : 0.75em; // ~12px $type-size-6 : 0.75em !default; // ~12px
$type-size-7 : 0.6875em; // ~11px $type-size-7 : 0.6875em !default; // ~11px
$type-size-8 : 0.625em; // ~10px $type-size-8 : 0.625em !default; // ~10px
/* /*
Colors Colors
========================================================================== */ ========================================================================== */
$gray : #7a8288; $gray : #7a8288 !default;
$dark-gray : mix(#000, $gray, 40%); $dark-gray : mix(#000, $gray, 40%) !default;
$darker-gray : mix(#000, $gray, 60%); $darker-gray : mix(#000, $gray, 60%) !default;
$light-gray : mix(#fff, $gray, 50%); $light-gray : mix(#fff, $gray, 50%) !default;
$lighter-gray : mix(#fff, $gray, 90%); $lighter-gray : mix(#fff, $gray, 90%) !default;
$body-color : #fff; $body-color : #fff !default;
$background-color : #fff; $background-color : #fff !default;
$code-background-color : #fafafa; $code-background-color : #fafafa !default;
$code-background-color-dark : $light-gray; $code-background-color-dark : $light-gray !default;
$text-color : $dark-gray; $text-color : $dark-gray !default;
$border-color : $lighter-gray; $border-color : $lighter-gray !default;
$primary-color : #7a8288; $primary-color : #7a8288 !default;
$success-color : #62c462; $success-color : #62c462 !default;
$warning-color : #f89406; $warning-color : #f89406 !default;
$danger-color : #ee5f5b; $danger-color : #ee5f5b !default;
$info-color : #52adc8; $info-color : #52adc8 !default;
/* brands */ /* brands */
$behance-color : #1769FF; $behance-color : #1769FF !default;
$dribbble-color : #ea4c89; $dribbble-color : #ea4c89 !default;
$facebook-color : #3b5998; $facebook-color : #3b5998 !default;
$flickr-color : #ff0084; $flickr-color : #ff0084 !default;
$foursquare-color : #0072b1; $foursquare-color : #0072b1 !default;
$github-color : #171516; $github-color : #171516 !default;
$google-plus-color : #dd4b39; $google-plus-color : #dd4b39 !default;
$instagram-color : #517fa4; $instagram-color : #517fa4 !default;
$lastfm-color : #d51007; $lastfm-color : #d51007 !default;
$linkedin-color : #007bb6; $linkedin-color : #007bb6 !default;
$pinterest-color : #cb2027; $pinterest-color : #cb2027 !default;
$rss-color : #fa9b39; $rss-color : #fa9b39 !default;
$soundcloud-color : #ff3300; $soundcloud-color : #ff3300 !default;
$stackoverflow-color : #fe7a15; $stackoverflow-color : #fe7a15 !default;
$tumblr-color : #32506d; $tumblr-color : #32506d !default;
$twitter-color : #55acee; $twitter-color : #55acee !default;
$vimeo-color : #1ab7ea; $vimeo-color : #1ab7ea !default;
$vine-color : #00bf8f; $vine-color : #00bf8f !default;
$youtube-color : #bb0000; $youtube-color : #bb0000 !default;
$xing-color : #006567; $xing-color : #006567 !default;
/* links */ /* links */
$link-color : $info-color; $link-color : $info-color !default;
$link-color-hover : mix(#000, $link-color, 25%); $link-color-hover : mix(#000, $link-color, 25%) !default;
$link-color-visited : mix(#fff, $link-color, 25%); $link-color-visited : mix(#fff, $link-color, 25%) !default;
$masthead-link-color : $primary-color; $masthead-link-color : $primary-color !default;
$masthead-link-color-hover : mix(#000, $primary-color, 25%); $masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
/* /*
Breakpoints Breakpoints
========================================================================== */ ========================================================================== */
@include breakpoint-set("to ems", true); $small : 600px !default;
$medium : 768px !default;
$small : 600px; $medium-wide : 900px !default;
$medium : 768px; $large : 1024px !default;
$medium-wide : 900px; $x-large : 1280px !default;
$large : 1024px;
$x-large : 1280px;
/* /*
Grid Grid
========================================================================== */ ========================================================================== */
$right-sidebar-width-narrow : 200px; $right-sidebar-width-narrow : 200px !default;
$right-sidebar-width : 300px; $right-sidebar-width : 300px !default;
$right-sidebar-width-wide : 400px; $right-sidebar-width-wide : 400px !default;
$susy: (
columns: 12,
// column-width: 90px,
gutters: 1/4,
math: fluid,
output: float,
gutter-position: after,
container: $large,
global-box-sizing: border-box,
// debug: (
// image: show,
// color: blue,
// output: overlay,
// toggle: top right,
// ),
);
/* /*
Other Other
========================================================================== */ ========================================================================== */
$border-radius : 4px; $border-radius : 4px !default;
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125); $box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125) !default;
$navicon-width : 28px; $navicon-width : 28px !default;
$navicon-height : 4px; $navicon-height : 4px !default;
$global-transition : all 0.2s ease-in-out; $global-transition : all 0.2s ease-in-out !default;
+1 -1
View File
@@ -43,4 +43,4 @@ $mfp-caption-subtitle-color: #bdbdbd; // Caption sub
.mfp-counter { font-family: $serif; } // Caption font family .mfp-counter { font-family: $serif; } // Caption font family
// A11y // A11y
$mfp-use-visuallyhidden: false; $mfp-use-visuallyhidden: false;
+47 -7
View File
@@ -10,14 +10,53 @@
* *
*/ */
@import "vendor/breakpoint/breakpoint"; // media query mixins /*
Variables
========================================================================== */
@import "variables"; @import "variables";
@import "mixins";
/*
Vendor
========================================================================== */
/* Breakpoint - media query mixins */
@import "vendor/breakpoint/breakpoint";
@include breakpoint-set("to ems", true);
/* Font Awesome - icon font set */
@import "vendor/font-awesome/font-awesome";
/* Magnific Popup - responsive lightbox */
@import "vendor/magnific-popup/magnific-popup"; // Magnific Popup
/* Susy - grid mixins */
$susy: (
columns: 12,
gutters: 1/4,
math: fluid,
output: float,
gutter-position: after,
container: $large,
global-box-sizing: border-box,
// debug: (
// image: show,
// color: blue,
// output: overlay,
// toggle: top right,
// ),
);
@import "vendor/susy/susy"; @import "vendor/susy/susy";
/*
Base
========================================================================== */
@import "mixins";
@import "reset"; @import "reset";
@import "base"; @import "base";
@import "utilities"; @import "utilities";
@import "animations"; @import "animations";
@import "tables"; @import "tables";
@@ -27,13 +66,14 @@
@import "navigation"; @import "navigation";
@import "footer"; @import "footer";
@import "syntax"; @import "syntax";
@import "forms"; @import "forms";
/*
Layout specific
========================================================================== */
@import "page"; @import "page";
@import "archive"; @import "archive";
@import "sidebar"; @import "sidebar";
@import "vendor/font-awesome/font-awesome";
@import "vendor/magnific-popup/magnific-popup";
@import "print"; @import "print";
@@ -0,0 +1,6 @@
message: wonderful theme!
name: burner
email: 7327e2b38683d37634ada1dfa1d9f6e7
url: ''
hidden: ''
date: '2016-11-18T22:27:26.851Z'
@@ -0,0 +1,7 @@
_id: b3f80ef0-b7b9-11e6-9b81-0bc3350a75b6
message: Awesome....
name: Joko
email: e173d909aa244a3fbf81908da947ff94
url: ''
hidden: ''
date: '2016-12-01T11:31:30.231Z'
@@ -0,0 +1,6 @@
message: 'Cool, now how do I make a splash page my default home page?'
name: Brett
email: 374ca0d969bee21fb740b11da4182306
url: ''
hidden: ''
date: '2016-11-15T23:52:10.556Z'
@@ -0,0 +1,6 @@
message: "Simple. Save it in your site root folder as `index.md` or you can also save it in `_pages` folder with whatever name you want and set `permalink: /` in its YAML Front Matter.\r\n\r\nIf you want to see an example check [`_pages/home.md`](https://github.com/mmistakes/minimal-mistakes/blob/master/docs/_pages/home.md) used for this demo site."
name: Michael Rose
email: 1ce71bc10b86565464b612093d89707e
url: 'https://mademistakes.com'
hidden: ''
date: '2016-11-16T03:07:57.173Z'
@@ -0,0 +1,6 @@
message: Is there a way to add custom syntax?
name: Anbu
email: 559d2c680d83bc6246b4483a8d9ad7fa
url: ''
hidden: ''
date: '2016-11-12T05:26:47.184Z'
+44 -10
View File
@@ -7,7 +7,6 @@ foo:
url: /child-1-page-url/ url: /child-1-page-url/
- title: "Child Link 2" - title: "Child Link 2"
url: /child-2-page-url/ url: /child-2-page-url/
- title: "Parent Link 2" - title: "Parent Link 2"
url: /parent-2-page-url/ url: /parent-2-page-url/
children: children:
@@ -23,16 +22,12 @@ foo:
main: main:
- title: "Quick-Start Guide" - title: "Quick-Start Guide"
url: /docs/quick-start-guide/ url: /docs/quick-start-guide/
- title: "About" - title: "About"
url: /about/ url: /about/
- title: "Sample Posts" - title: "Sample Posts"
url: /year-archive/ url: /year-archive/
- title: "Sample Collections" - title: "Sample Collections"
url: /collection-archive/ url: /collection-archive/
- title: "Terms &amp; Privacy Policy" - title: "Terms &amp; Privacy Policy"
url: /terms/ url: /terms/
@@ -49,7 +44,6 @@ docs:
url: /docs/installation/ url: /docs/installation/
- title: "Upgrading" - title: "Upgrading"
url: /docs/upgrading/ url: /docs/upgrading/
- title: Customization - title: Customization
children: children:
- title: "Configuration" - title: "Configuration"
@@ -64,7 +58,6 @@ docs:
url: /docs/authors/ url: /docs/authors/
- title: "Layouts" - title: "Layouts"
url: /docs/layouts/ url: /docs/layouts/
- title: Content - title: Content
children: children:
- title: "Working with Posts" - title: "Working with Posts"
@@ -77,14 +70,12 @@ docs:
url: /docs/helpers/ url: /docs/helpers/
- title: "Utility Classes" - title: "Utility Classes"
url: /docs/utility-classes/ url: /docs/utility-classes/
- title: Extras - title: Extras
children: children:
- title: "Stylesheets" - title: "Stylesheets"
url: /docs/stylesheets/ url: /docs/stylesheets/
- title: "JavaScript" - title: "JavaScript"
url: /docs/javascript/ url: /docs/javascript/
- title: Meta - title: Meta
children: children:
- title: "History" - title: "History"
@@ -96,4 +87,47 @@ docs:
- title: "License" - title: "License"
url: /docs/license/ url: /docs/license/
- title: "Terms &amp; Privacy Policy" - title: "Terms &amp; Privacy Policy"
url: /terms/ url: /terms/
# sidebar navigation list sample
sidebar-sample:
- title: "Parent Page A"
children:
- title: "Child Page A1"
url: /
- title: "Child Page A2"
url: /
- title: "Child Page A3"
url: /
- title: "Child Page A4"
url: /
- title: "Parent Page B"
children:
- title: "Child Page B1"
url: /
- title: "Child Page B2"
url: /
- title: "Child Page B3"
url: /
- title: "Child Page B4"
url: /
- title: "Child Page B5"
url: /
- title: "Parent Page C"
children:
- title: "Child Page C1"
url: /
- title: "Child Page C2"
url: /
- title: "Child Page C3"
url: /
- title: "Child Page C4"
url: /
- title: "Child Page C5"
url: /
- title: "Parent Page D"
children:
- title: "Child Page D1"
url: /
- title: "Child Page D2"
url: /
+73 -12
View File
@@ -8,6 +8,7 @@ en: &DEFAULT_EN
pagination_next : "Next" pagination_next : "Next"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label : "Toggle Menu"
toc_label : "On This Page" toc_label : "On This Page"
ext_link_label : "Direct Link" ext_link_label : "Direct Link"
less_than : "less than" less_than : "less than"
@@ -56,6 +57,7 @@ es: &DEFAULT_ES
pagination_next : "Siguiente" pagination_next : "Siguiente"
breadcrumb_home_label : "Inicio" breadcrumb_home_label : "Inicio"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Contenidos" toc_label : "Contenidos"
ext_link_label : "Enlace" ext_link_label : "Enlace"
less_than : "menos de" less_than : "menos de"
@@ -100,9 +102,10 @@ fr: &DEFAULT_FR
pagination_next : "Suivant" pagination_next : "Suivant"
breadcrumb_home_label : "Accueil" breadcrumb_home_label : "Accueil"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Sur cette page" toc_label : "Sur cette page"
ext_link_label : "Lien direct" ext_link_label : "Lien direct"
less_than : "plus petit que" less_than : "moins de"
minute_read : "minute de lecture" minute_read : "minute de lecture"
share_on_label : "Partager sur" share_on_label : "Partager sur"
meta_label : meta_label :
@@ -112,8 +115,8 @@ fr: &DEFAULT_FR
comments_label : "Laisser un commentaire" comments_label : "Laisser un commentaire"
comments_title : comments_title :
more_label : "Lire plus" more_label : "Lire plus"
related_label : "Vous pourriez aimer" related_label : "Vous pourriez aimer aussi"
follow_label : "Suivez moi" follow_label : "Contact"
feed_label : "Flux" feed_label : "Flux"
powered_by : "Propulsé par" powered_by : "Propulsé par"
website_label : "Site" website_label : "Site"
@@ -129,7 +132,7 @@ fr: &DEFAULT_FR
comment_form_website_label : "Site web (optionnel)" comment_form_website_label : "Site web (optionnel)"
comment_btn_submit : "Envoyer" comment_btn_submit : "Envoyer"
comment_btn_submitted : "Envoyé" comment_btn_submitted : "Envoyé"
comment_success_msg : "Merci pour votre comentaire, il sera visible sur le site une fois approuvé." comment_success_msg : "Merci pour votre commentaire, il sera visible sur le site une fois approuvé."
comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez." comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez."
loading_label : "Chargement..." loading_label : "Chargement..."
fr-FR: fr-FR:
@@ -147,6 +150,7 @@ tr: &DEFAULT_TR
pagination_next : "Sonraki" pagination_next : "Sonraki"
breadcrumb_home_label : "Ana Sayfa" breadcrumb_home_label : "Ana Sayfa"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "İçindekiler" toc_label : "İçindekiler"
ext_link_label : "Doğrudan Bağlantı" ext_link_label : "Doğrudan Bağlantı"
less_than : "Şu süreden az: " less_than : "Şu süreden az: "
@@ -189,6 +193,7 @@ pt: &DEFAULT_PT
pagination_next : "Seguinte" pagination_next : "Seguinte"
breadcrumb_home_label : "Início" breadcrumb_home_label : "Início"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Nesta Página" toc_label : "Nesta Página"
ext_link_label : "Link Direto" ext_link_label : "Link Direto"
less_than : "menos de" less_than : "menos de"
@@ -227,6 +232,7 @@ pt-BR:
pagination_next : "Próxima" pagination_next : "Próxima"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Nesta página" toc_label : "Nesta página"
ext_link_label : "Link direto" ext_link_label : "Link direto"
less_than : "meno que" less_than : "meno que"
@@ -269,6 +275,7 @@ it: &DEFAULT_IT
pagination_next : "Prossima" pagination_next : "Prossima"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "Indice della pagina" toc_label : "Indice della pagina"
ext_link_label : "Link" ext_link_label : "Link"
less_than : "meno di" less_than : "meno di"
@@ -311,6 +318,7 @@ zh: &DEFAULT_ZH
pagination_next : "向后" pagination_next : "向后"
breadcrumb_home_label : "首页" breadcrumb_home_label : "首页"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label :
toc_label : "在本页上" toc_label : "在本页上"
ext_link_label : "直接链接" ext_link_label : "直接链接"
less_than : "少于" less_than : "少于"
@@ -342,14 +350,67 @@ zh: &DEFAULT_ZH
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved." comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
loading_label : "Loading..." loading_label : "Loading..."
zh-CN: zh-CN:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
zh-HK: zh-HK:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
zh-SG: zh-SG:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
zh-TW: zh-TW:
<<: *DEFAULT_ZH <<: *DEFAULT_ZH
# German / Deutsch
# -----------------
de: &DEFAULT_DE
page : "Seite"
pagination_previous : "Vorherige"
pagination_next : "Nächste"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label :
toc_label : "Auf dieser Seite"
ext_link_label : "Direkter Link"
less_than : "weniger als"
minute_read : "Minuten zum lesen"
share_on_label : "Teilen auf"
meta_label :
tags_label : "Tags:"
categories_label : "Kategorien:"
date_label : "Aktualisiert:"
comments_label : "Hinterlassen sie einen Kommentar"
comments_title : "Kommentare"
more_label : "Mehr anzeigen"
related_label : "Ihnen gefällt vielleicht auch"
follow_label : "Folgen:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Webseite"
email_label : "E-Mail"
recent_posts : "Aktuelle Beiträge"
undefined_wpm : "Undefinierter Parameter words_per_minute in _config.yml"
comment_form_info : "Ihre E-Mail Adresse wird nicht veröffentlicht. Benötigte Felder sind markiert"
comment_form_comment_label : "Kommentar"
comment_form_md_info : "Markdown wird unterstützt."
comment_form_name_label : "Name"
comment_form_email_label : "E-Mail Addresse"
comment_form_website_label : "Webseite (optional)"
comment_btn_submit : "Kommentar absenden"
comment_btn_submitted : "Versendet"
comment_success_msg : "Danke für ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde."
comment_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen sie alle benötigten Felder aus und versuchen sie es erneut."
loading_label : "Lade..."
de-DE:
<<: *DEFAULT_DE
de-AT:
<<: *DEFAULT_DE
de-CH:
<<: *DEFAULT_DE
de-BE:
<<: *DEFAULT_DE
de-LI:
<<: *DEFAULT_DE
de-LU:
<<: *DEFAULT_DE
# Another locale # Another locale
# -------------- # --------------
+1 -1
View File
@@ -110,7 +110,7 @@ Scaffolding out a site with the `jekyll new` command requires you to modify a fe
Edit `_config.yml` and create `_data/ui-text.yml` and `_data/navigation.yml` same as above. Then: Edit `_config.yml` and create `_data/ui-text.yml` and `_data/navigation.yml` same as above. Then:
- Replace `<site root>/index.html` with a modified [Minimal Mistakes `index.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/index.html). - Replace `<site root>/index.md` with a modified [Minimal Mistakes `index.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/index.html). Be sure to enable pagination if using the [`home` layout]({{ "/docs/layouts/#home-page" | absolute_url }}) by adding the necessary lines to **_config.yml**.
- Change `layout: post` in `_posts/0000-00-00-welcome-to-jekyll.markdown` to `layout: single`. - 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 it). - 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 it).
+2 -3
View File
@@ -2,7 +2,7 @@
title: "Configuration" title: "Configuration"
permalink: /docs/configuration/ permalink: /docs/configuration/
excerpt: "Settings for configuring and customizing the theme." excerpt: "Settings for configuring and customizing the theme."
modified: 2016-11-03T10:42:01-04:00 modified: 2016-11-29T08:44:22-05:00
--- ---
Settings that affect your entire site can be changed in [Jekyll's configuration file](https://jekyllrb.com/docs/configuration/): `_config.yml`, found in the root of your project. If you don't have this file you'll need to copy or create one using the theme's [default `_config.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml) as a base. Settings that affect your entire site can be changed in [Jekyll's configuration file](https://jekyllrb.com/docs/configuration/): `_config.yml`, found in the root of your project. If you don't have this file you'll need to copy or create one using the theme's [default `_config.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml) as a base.
@@ -206,7 +206,6 @@ comments:
server : # meta.discourse.org server : # meta.discourse.org
``` ```
##### Facebook Comments ##### Facebook Comments
To enable Facebook Comments choose how many comments you'd like visible per post and the color scheme of the widget. To enable Facebook Comments choose how many comments you'd like visible per post and the color scheme of the widget.
@@ -231,7 +230,7 @@ Transform user comments into `_data` files that live inside of your GitHub repos
###### Configure Staticman ###### Configure Staticman
Default settings have been provided in `_config.yml`. The important ones to set are `provider: "staticman"` and `branch`. View the [full list of configurations](https://github.com/eduardoboucas/staticman#jekyll-configuration). Default settings have been provided in `_config.yml`. The important ones to set are `provider: "staticman"`, `branch`, and `path`. View the [full list of configurations](https://github.com/eduardoboucas/staticman#jekyll-configuration).
**Branch setting:** This is the branch comment files will be sent to via pull requests. If you host your site on GitHub Pages it will likely be `master` unless your repo is setup as a project --- use `gh-pages` in that case. **Branch setting:** This is the branch comment files will be sent to via pull requests. If you host your site on GitHub Pages it will likely be `master` unless your repo is setup as a project --- use `gh-pages` in that case.
{: .notice--info} {: .notice--info}
+21 -10
View File
@@ -7,7 +7,7 @@ single_layout_gallery:
alt: "single layout with header example" alt: "single layout with header example"
- image_path: /assets/images/mm-layout-single-meta.png - image_path: /assets/images/mm-layout-single-meta.png
alt: "single layout with comments and related posts" alt: "single layout with comments and related posts"
modified: 2016-10-06T23:02:37-04:00 modified: 2016-12-12T15:20:20-05:00
--- ---
{% include toc icon="columns" title="Included Layouts" %} {% include toc icon="columns" title="Included Layouts" %}
@@ -333,16 +333,19 @@ defaults:
The theme comes pre-built with a selection of links for the most common social media networks. These are all optional and can be [assigned in `_config.yml`]({{ "/docs/configuration/" | absolute_url }}). The theme comes pre-built with a selection of links for the most common social media networks. These are all optional and can be [assigned in `_config.yml`]({{ "/docs/configuration/" | absolute_url }}).
To add more links you'll need to crack open [`_includes/author-profile.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile.html) and make some edits. To add more links you'll need to crack open [`_includes/author-profile-custom-links.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile-custom-links.html) and add the appropriate `<li>` markup shown below.
Inside of `<ul class="author__urls">` you'll find `<li>` elements wrapped in Liquid conditionals. These represent each of the possible links you can currently add to the sidebar. **Please note:** Links added here will appear after the ones in [`_includes/author-profile.html`](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile.html). If you'd like to change the order of appearance you'll need to edit that file directly.
{: .notice--info}
#### Example of Twitter link #### Social network link example
```html ```html
{% raw %}{% if author.twitter %} <li>
<li><a href="https://twitter.com/{{ author.twitter }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li> <a href="https://whatever-social-network.com/username">
{% endif %}{% endraw %} <i class="fa fa-fw" aria-hidden="true"></i> Awesome Social Network
</a>
</li>
``` ```
To add a new link you'll need three things: To add a new link you'll need three things:
@@ -351,7 +354,7 @@ To add a new link you'll need three things:
2. [Font Awesome icon](http://fontawesome.io/icons/) (`fa-` class) 2. [Font Awesome icon](http://fontawesome.io/icons/) (`fa-` class)
3. Label for the link 3. Label for the link
It's up to you if you want to wrap it in a `{% raw %}{% if %} ... {% endif %}{% endraw %}`conditional and add variables to `_config.yml`. If you don't plan to change it then hard-coding the strings is perfectly acceptable. It's up to you if you want to wrap it in a `{% raw %}{% if %} ... {% endif %}{% endraw %}`conditional and add a variable to `_config.yml`. If you don't plan to change it then hard-coding the string is perfectly acceptable.
Let's run through how you'd add a new link that points to a Reddit profile. Starting with the three things from above: Let's run through how you'd add a new link that points to a Reddit profile. Starting with the three things from above:
@@ -362,13 +365,21 @@ Let's run through how you'd add a new link that points to a Reddit profile. Star
And plug them into the appropriate locations: And plug them into the appropriate locations:
```html ```html
<li><a href="[1]"><i class="fa fa-fw [2]" aria-hidden="true"></i> [3]</a></li> <li>
<a href="[1]">
<i class="fa fa-fw [2]" aria-hidden="true"></i> [3]
</a>
</li>
``` ```
To end up with: To end up with:
```html ```html
<li><a href="https://www.reddit.com/user/username"><i class="fa fa-fw fa-reddit" aria-hidden="true"></i> Reddit</a></li> <li>
<a href="https://www.reddit.com/user/username">
<i class="fa fa-fw fa-reddit" aria-hidden="true"></i> Reddit
</a>
</li>
``` ```
![Reddit link in author profile]({{ "/assets/images/mm-author-profile-reddit-gs.png" | absolute_url }}) ![Reddit link in author profile]({{ "/assets/images/mm-author-profile-reddit-gs.png" | absolute_url }})
+30 -3
View File
@@ -30,7 +30,7 @@ feature_row:
- image_path: /assets/images/unsplash-gallery-image-3-th.jpg - image_path: /assets/images/unsplash-gallery-image-3-th.jpg
title: "Placeholder 3" title: "Placeholder 3"
excerpt: "This is some sample content that goes here with **Markdown** formatting." excerpt: "This is some sample content that goes here with **Markdown** formatting."
modified: 2016-11-03T11:15:48-04:00 modified: 2016-11-15T12:11:48-05:00
--- ---
{% include toc icon="gears" title="Helpers" %} {% include toc icon="gears" title="Helpers" %}
@@ -64,6 +64,33 @@ The Liquid based taxonomy archives found amongst the demo pages rely on this hel
[tag-array]: https://github.com/{{ site.repository }}/blob/master/docs/_pages/tag-archive.html [tag-array]: https://github.com/{{ site.repository }}/blob/master/docs/_pages/tag-archive.html
[tag-array-demo]: {{ "/tags/" | absolute_url }} [tag-array-demo]: {{ "/tags/" | absolute_url }}
## Figure
Generate a `<figure>` element with a single image and caption.
| Include Parameter | Required | Description |
| ---- | -------- | ----------- |
| **image_path** | **Required** | Full path to image eg: `/assets/images/filename.jpg`. Use absolute URLS for those hosted externally. |
| **alt** | Optional | Alternate text for image. |
| **caption** | Optional | Figure caption text. Markdown is allowed. |
Using the `figure` include like so:
```liquid
{% raw %}{% include figure image_path="/assets/images/unsplash-image-10.jpg" alt="this is a placeholder image" caption="This is a figure caption." %}{% endraw %}
```
Will output the following:
{% include figure image_path="/assets/images/unsplash-image-10.jpg" alt="this is a placeholder image" caption="This is a figure caption." %}
```html
<figure>
<img src="/assets/images/unsplash-image-10.jpg" alt="this is a placeholder image">
<figcaption>This is a figure caption.</figcaption>
</figure>
```
## Gallery ## Gallery
Generate a `<figure>` element with optional caption of arrays with two or more images. Generate a `<figure>` element with optional caption of arrays with two or more images.
@@ -73,7 +100,7 @@ To place a gallery add the necessary YAML Front Matter.
| Name | Required | Description | | Name | Required | Description |
| ---- | -------- | ----------- | | ---- | -------- | ----------- |
| **url** | Optional | URL to link gallery image to (eg. a larger detail image). | | **url** | Optional | URL to link gallery image to (eg. a larger detail image). |
| **image_path** | **Required** | Full path to image eg: `assets/images/filename.jpg`. Use absolute URLS for those hosted externally. | | **image_path** | **Required** | Full path to image eg: `/assets/images/filename.jpg`. Use absolute URLS for those hosted externally. |
| **alt** | Optional | Alternate text for image. | | **alt** | Optional | Alternate text for image. |
| **title** | Optional | Title text for image. Will display as a caption in a Magnific Popup overlay when linked to a larger image with `url`. | | **title** | Optional | Title text for image. Will display as a caption in a Magnific Popup overlay when linked to a larger image with `url`. |
@@ -120,7 +147,7 @@ To add a feature row containing three content blocks with text and image, add th
| Name | Required | Description | Default | | Name | Required | Description | Default |
| ---- | ----------- | ----------- | ------- | | ---- | ----------- | ----------- | ------- |
| **image_path** | **Required** | Full path to image eg: `assets/images/filename.jpg`. Use absolute URLS for those hosted externally. | | | **image_path** | **Required** | Full path to image eg: `/assets/images/filename.jpg`. Use absolute URLS for those hosted externally. | |
| **alt** | Optional | Alternate text for image. | | | **alt** | Optional | Alternate text for image. | |
| **title** | Optional | Content block title. | | | **title** | Optional | Content block title. | |
| **excerpt** | Optional | Content block excerpt text. Markdown is allowed. | | | **excerpt** | Optional | Content block excerpt text. Markdown is allowed. | |
+70 -1
View File
@@ -4,9 +4,78 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme." excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar: sidebar:
nav: docs nav: docs
modified: 2016-11-04T12:36:05-04:00 modified: 2016-12-12T15:26:47-05:00
--- ---
## [4.1.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.0)
### Enhancements
- Add Jekyll include for adding [custom author profile links](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile-custom-links.html) to sidebar
### Bug Fixes
- Fix link to Discourse.org homepage in `noscript` section [#699](https://github.com/mmistakes/minimal-mistakes/pull/699)
- Fix padding issue with pagination buttons [#694](https://github.com/mmistakes/minimal-mistakes/issues/694)
## [4.0.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.10)
### Bug Fixes
- Add Staticman default `path`. [#683](https://github.com/mmistakes/minimal-mistakes/issues/683)
### Maintenance
- Slight correction/improvements to French UI text. [#685](https://github.com/mmistakes/minimal-mistakes/pull/685)
## [4.0.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.9)
### Bug Fixes
- Fix overlapping sidebar navigation lists due to `max-height: 100vh`. [#668](https://github.com/mmistakes/minimal-mistakes/issues/668)
## [4.0.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.8)
### Bug Fixes
- Set default value for `words_per_minute`. [#657](https://github.com/mmistakes/minimal-mistakes/issues/657)
- Adjust sidebar navigation list CSS so it collapses at the correct width.
### Maintenance
- Add Google AdSense banner to `/docs/_layouts/default.html` for demo site.
## [4.0.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.7)
### Enhancements
- Add `!default` values to **_sass/_variables.scss**.
- Collapse sidebar navigation lists on smaller screens. [#607](https://github.com/mmistakes/minimal-mistakes/issues/607)
### Bug Fixes
- Rename `#comments` to something more unique to avoid clashes with Kramdown generated headline IDs. [#582](https://github.com/mmistakes/minimal-mistakes/issues/582)
### Maintenance
- Reorganize SCSS partials in **assets/css/main.scss**
## [4.0.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.6)
### Enhancements
- Add [`figure` helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#figure) to make generating a `<figure>` element with a single image and caption easier. [#572](https://github.com/mmistakes/minimal-mistakes/pull/572)
- Add structured data markup for `itemprop="person"` in author profile sidebar. [#647](https://github.com/mmistakes/minimal-mistakes/pull/647)
### Bug Fixes
- Fix improper YAML formatting of some locales. [#651](https://github.com/mmistakes/minimal-mistakes/pull/651)
### Maintenance
- Clarify "migrating to gem-theme" instructions in **Quick Start Guide**.
- Add `rake preview` task for testing `/test` during theme development.
## [4.0.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5) ## [4.0.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5)
### Enhancements ### Enhancements
@@ -0,0 +1,7 @@
<!--
<li>
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
<i class="fa fa-fw" aria-hidden="true"></i> Custom Social Profile Link
</a>
</li>
-->
+161 -30
View File
@@ -1,5 +1,7 @@
{% if page.author and site.data.authors[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 %}
<div itemscope itemtype="http://schema.org/Person"> <div itemscope itemtype="http://schema.org/Person">
@@ -7,96 +9,225 @@
{% if author.avatar %} {% if author.avatar %}
<div class="author__avatar"> <div class="author__avatar">
{% if author.avatar contains "://" %} {% if author.avatar contains "://" %}
<img src="{{ author.avatar }}" alt="{{ author.name }}"> <img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image">
{% else %} {% else %}
<img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}"> <img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image">
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
<div class="author__content"> <div class="author__content">
<h3 class="author__name">{{ author.name }}</h3> <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% if author.bio %}<p class="author__bio">{{ author.bio }}</p>{% endif %} {% if author.bio %}
<p class="author__bio" itemprop="description">
{{ author.bio }}
</p>
{% endif %}
</div> </div>
<div class="author__urls-wrapper"> <div class="author__urls-wrapper">
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button> <button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
<ul class="author__urls social-icons"> <ul class="author__urls social-icons">
{% if author.location %} {% if author.location %}
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li> <li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
</li>
{% endif %} {% endif %}
{% if author.uri %} {% if author.uri %}
<li><a href="{{ author.uri }}"><i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}</a></li> <li>
<a href="{{ author.uri }}" itemprop="url">
<i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
</a>
</li>
{% endif %} {% endif %}
{% if author.email %} {% if author.email %}
<li><a href="mailto:{{ author.email }}"><i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}</a></li> <li>
<a href="mailto:{{ author.email }}">
<meta itemprop="email" content="{{ author.email }}" />
<i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
</a>
</li>
{% endif %} {% endif %}
{% if author.keybase %} {% if author.keybase %}
<li><a href="https://keybase.io/{{ author.keybase }}"><i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase</a></li> <li>
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
<i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase
</a>
</li>
{% endif %} {% endif %}
{% if author.twitter %} {% if author.twitter %}
<li><a href="https://twitter.com/{{ author.twitter }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li> <li>
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
<i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
</a>
</li>
{% endif %} {% endif %}
{% if author.facebook %} {% if author.facebook %}
<li><a href="https://www.facebook.com/{{ author.facebook }}"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li> <li>
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
<i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
</a>
</li>
{% endif %} {% endif %}
{% if author.google_plus %} {% if author.google_plus %}
<li><a href="https://plus.google.com/+{{ author.google_plus }}"><i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+</a></li> <li>
<a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs">
<i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
</a>
</li>
{% endif %} {% endif %}
{% if author.linkedin %} {% if author.linkedin %}
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}"><i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn</a></li> <li>
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn
</a>
</li>
{% endif %} {% endif %}
{% if author.xing %} {% if author.xing %}
<li><a href="https://www.xing.com/profile/{{ author.xing }}"><i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING</a></li> <li>
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
<i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING
</a>
</li>
{% endif %} {% endif %}
{% if author.instagram %} {% if author.instagram %}
<li><a href="https://instagram.com/{{ author.instagram }}"><i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram</a></li> <li>
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram
</a>
</li>
{% endif %} {% endif %}
{% if author.tumblr %} {% if author.tumblr %}
<li><a href="https://{{ author.tumblr }}.tumblr.com"><i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr</a></li> <li>
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
<i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
</a>
</li>
{% endif %} {% endif %}
{% if author.bitbucket %} {% if author.bitbucket %}
<li><a href="https://bitbucket.org/{{ author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li> <li>
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
<i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
</a>
</li>
{% endif %} {% endif %}
{% if author.github %} {% if author.github %}
<li><a href="https://github.com/{{ author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> Github</a></li> <li>
<a href="https://github.com/{{ author.github }}" itemprop="sameAs">
<i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub
</a>
</li>
{% endif %} {% endif %}
{% if author.stackoverflow %} {% if author.stackoverflow %}
<li><a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}"><i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow</a></li> <li>
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
<i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow
</a>
</li>
{% endif %} {% endif %}
{% if author.lastfm %} {% if author.lastfm %}
<li><a href="https://last.fm/user/{{ author.lastfm }}"><i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm</a></li> <li>
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
<i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
</a>
</li>
{% endif %} {% endif %}
{% if author.dribbble %} {% if author.dribbble %}
<li><a href="https://dribbble.com/{{ author.dribbble }}"><i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble</a></li> <li>
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
<i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
</a>
</li>
{% endif %} {% endif %}
{% if author.pinterest %} {% if author.pinterest %}
<li><a href="https://www.pinterest.com/{{ author.pinterest }}"><i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest</a></li> <li>
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
<i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
</a>
</li>
{% endif %} {% endif %}
{% if author.foursquare %} {% if author.foursquare %}
<li><a href="https://foursquare.com/{{ author.foursquare }}"><i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare</a></li> <li>
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
<i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
</a>
</li>
{% endif %} {% endif %}
{% if author.steam %} {% if author.steam %}
<li><a href="https://steamcommunity.com/id/{{ author.steam }}"><i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam</a></li> <li>
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
<i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam
</a>
</li>
{% endif %} {% endif %}
{% if author.youtube %} {% if author.youtube %}
<li><a href="https://www.youtube.com/user/{{ author.youtube }}"><i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube</a></li> <li>
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
</a>
</li>
{% endif %} {% endif %}
{% if author.soundcloud %} {% if author.soundcloud %}
<li><a href="https://soundcloud.com/{{ author.soundcloud }}"><i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud</a></li> <li>
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
<i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud
</a>
</li>
{% endif %} {% endif %}
{% if author.weibo %} {% if author.weibo %}
<li><a href="https://www.weibo.com/{{ author.weibo }}"><i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo</a></li> <li>
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
<i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo
</a>
</li>
{% endif %} {% endif %}
{% if author.flickr %} {% if author.flickr %}
<li><a href="https://www.flickr.com/{{ author.flickr }}"><i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr</a></li> <li>
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr
</a>
</li>
{% endif %} {% endif %}
{% if author.codepen %} {% if author.codepen %}
<li><a href="https://codepen.io/{{ author.codepen }}"><i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen</a></li> <li>
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
<i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen
</a>
</li>
{% endif %} {% endif %}
{% if author.vine %} {% if author.vine %}
<li><a href="https://vine.co/u/{{ author.vine }}"><i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine</a></li> <li>
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
<i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine
</a>
</li>
{% endif %} {% endif %}
{% include author-profile-custom-links.html %}
</ul> </ul>
</div> </div>
</div> </div>
+2 -2
View File
@@ -11,7 +11,7 @@
<h4 class="page__comments-title">{{ comments_label }}</h4> <h4 class="page__comments-title">{{ comments_label }}</h4>
<section class="g-comments" data-href="{{ page.url | absolute_url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section> <section class="g-comments" data-href="{{ page.url | absolute_url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
{% when "staticman" %} {% when "staticman" %}
<section id="comments"> <section id="static-comments">
{% if site.repository and site.staticman.branch %} {% if site.repository and site.staticman.branch %}
<!-- Start static comments --> <!-- Start static comments -->
<div class="js-comments"> <div class="js-comments">
@@ -75,6 +75,6 @@
{% endif %} {% endif %}
</section> </section>
{% when "custom" %} {% when "custom" %}
<section id="comments"></section> <section id="custom-comments"></section>
{% endcase %} {% endcase %}
</div> </div>
+12
View File
@@ -0,0 +1,12 @@
<figure class="{{ include.class }}">
<img src=
{% if include.image_path contains "://" %}
"{{ include.image_path }}"
{% else %}
"{{ include.image_path | absolute_url }}"
{% endif %}
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
{% if include.caption %}
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
{% endif %}
</figure>
+4 -2
View File
@@ -1,8 +1,10 @@
{% assign navigation = site.data.navigation[include.nav] %} {% assign navigation = site.data.navigation[include.nav] %}
<nav class="nav__list"> <nav class="nav__list">
{% if page.sidebar.title %}<header><h4 class="nav__title" style="padding: 0;">{{ page.sidebar.title }}</h4></header>{% endif %} {% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
<ul> <input id="ac-toc" name="accordion-toc" type="checkbox" />
<label for="ac-toc">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</label>
<ul class="nav__items">
{% for nav in navigation %} {% for nav in navigation %}
<li> <li>
{% if nav.url %} {% if nav.url %}
+7 -9
View File
@@ -1,17 +1,15 @@
{% assign words_per_minute = site.words_per_minute | default: 200 %}
{% if post.read_time %} {% if post.read_time %}
{% assign words = post.content | strip_html | number_of_words %} {% assign words = post.content | strip_html | number_of_words %}
{% elsif page.read_time %} {% elsif page.read_time %}
{% assign words = page.content | strip_html | number_of_words %} {% assign words = page.content | strip_html | number_of_words %}
{% endif %} {% endif %}
{% if site.words_per_minute %} {% if words < 180 %}
{% if words < 180 %} {{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{{ 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 < 360 %}
{% elsif words < 360 %} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% else %}
{{ words | divided_by:site.words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %}
{% else %} {% else %}
{{ site.data.ui-text[site.locale].undefined_wpm | "Undefined parameter words_per_minute at _config.yml" }} {{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
{% endif %} {% endif %}
+12
View File
@@ -15,6 +15,18 @@
{{ content }} {{ content }}
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<div align="center" style="margin: 1em 0;">
<ins class="adsbygoogle"
style="display:block; border-bottom: initial;"
data-ad-client="ca-pub-7328585512091257"
data-ad-slot="3049671934"
data-ad-format="auto"></ins>
</div>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<div class="page__footer"> <div class="page__footer">
<footer> <footer>
{% include footer/custom.html %} {% include footer/custom.html %}
+1 -1
View File
@@ -7,7 +7,7 @@ header:
cta_label: "<i class='fa fa-download'></i> Install Now" cta_label: "<i class='fa fa-download'></i> Install Now"
cta_url: "/docs/quick-start-guide/" cta_url: "/docs/quick-start-guide/"
caption: caption:
excerpt: 'A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server.<br /> <small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5">Latest release v4.0.5</a></small><br /><br /> {::nomarkdown}<iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> <iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="158px" height="30px"></iframe>{:/nomarkdown}' excerpt: 'A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server.<br /> <small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.0">Latest release v4.1.0</a></small><br /><br /> {::nomarkdown}<iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> <iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="158px" height="30px"></iframe>{:/nomarkdown}'
feature_row: feature_row:
- image_path: /assets/images/mm-customizable-feature.png - image_path: /assets/images/mm-customizable-feature.png
alt: "customizable" alt: "customizable"
@@ -1,6 +1,6 @@
--- ---
title: "Layout: Sidebar Custom" title: "Layout: Sidebar Custom"
excerpt: "A post to custom sidebar content." excerpt: "A post with custom sidebar content."
author_profile: false author_profile: false
sidebar: sidebar:
- title: "Title" - title: "Title"
@@ -11,7 +11,7 @@ sidebar:
text: "More text here." text: "More text here."
--- ---
This post has a custom sidebar set in the post's YAML Front Matter.. This post has a custom sidebar set in the post's YAML Front Matter.
An example of how that YAML could look is: An example of how that YAML could look is:
@@ -0,0 +1,62 @@
---
title: "Layout: Sidebar with Navigation List"
excerpt: "A post with a sidebar navigation list."
author_profile: false
sidebar:
title: "Sample Title"
nav: sidebar-sample
---
This post has a custom navigation list set in the post's YAML Front Matter.
```yaml
sidebar:
title: "Sample Title"
nav: sidebar-sample
```
Along with navigation elements set in `_data/navigation.yml`.
```yaml
sidebar-sample:
- title: "Parent Page A"
children:
- title: "Child Page A1"
url: /
- title: "Child Page A2"
url: /
- title: "Child Page A3"
url: /
- title: "Child Page A4"
url: /
- title: "Parent Page B"
children:
- title: "Child Page B1"
url: /
- title: "Child Page B2"
url: /
- title: "Child Page B3"
url: /
- title: "Child Page B4"
url: /
- title: "Child Page B5"
url: /
- title: "Parent Page C"
children:
- title: "Child Page C1"
url: /
- title: "Child Page C2"
url: /
- title: "Child Page C3"
url: /
- title: "Child Page C4"
url: /
- title: "Child Page C5"
url: /
- title: "Parent Page D"
children:
- title: "Child Page D1"
url: /
- title: "Child Page D2"
url: /
```
+1 -1
View File
@@ -235,4 +235,4 @@
} }
} }
} }
} }
+121 -9
View File
@@ -75,6 +75,7 @@
margin-left: -1px; margin-left: -1px;
a { a {
display: block;
margin-bottom: 0.25em; margin-bottom: 0.25em;
padding: 0.5em 1em; padding: 0.5em 1em;
font-family: $sans-serif; font-family: $sans-serif;
@@ -314,20 +315,104 @@
========================================================================== */ ========================================================================== */
.nav__list { .nav__list {
font-size: 1.25rem; margin-bottom: 1.5em;
ul { input[type="checkbox"],
margin-bottom: 1em; label {
display: none;
} }
a { @include breakpoint(max-width ($large - 1px)) {
display: block;
padding: 0.125em 0;
color: inherit;
&:hover { label {
text-decoration: underline; position: relative;
display: inline-block;
padding: 0.5em 2.5em 0.5em 1em;
color: $gray;
font-size: $type-size-6;
font-weight: bold;
border: 1px solid $light-gray;
border-radius: $border-radius;
z-index: 20;
-webkit-transition: 0.2s ease-out;
transition: 0.2s ease-out;
cursor: pointer;
&:before,
&:after {
content: '';
position: absolute;
right: 1em;
top: 1.25em;
width: 0.75em;
height: 0.125em;
line-height: 1;
background-color: $gray;
transition: 0.2s ease-out;
}
&:after {
transform: rotate(90deg);
}
&:hover {
color: #fff;
border-color: $gray;
background-color: mix(white, #000, 20%);
&:before,
&:after {
background-color: #fff;
}
}
} }
/* selected*/
input:checked + label {
color: white;
background-color: mix(white, #000, 20%);
&:before,
&:after {
background-color: #fff;
}
}
// on hover show expand
label:hover:after {
transform: rotate(90deg);
}
input:checked + label:hover:after {
transform: rotate(0);
}
ul {
margin-bottom: 1em;
}
a {
display: block;
padding: 0.25em 0;
@include breakpoint($large) {
padding-top: 0.125em;
padding-bottom: 0.125em;
}
&:hover {
text-decoration: underline;
}
}
}
}
.nav__list .nav__items {
margin: 0;
font-size: 1.25rem;
a {
color: inherit;
} }
.active { .active {
@@ -343,6 +428,33 @@
color: #fff; color: #fff;
} }
} }
@include breakpoint(max-width ($large - 1px)) {
position: relative;
max-height: 0;
opacity: 0%;
overflow: hidden;
z-index: 10;
-webkit-transition: 0.3s ease-in-out;
transition: 0.3s ease-in-out;
-webkit-transform: translate(0, 10%);
-ms-transform: translate(0, 10%);
transform: translate(0, 10%);
}
}
@include breakpoint(max-width ($large - 1px)) {
.nav__list input:checked ~ .nav__items {
-webkit-transition: 0.5s ease-in-out;
transition: 0.5s ease-in-out;
max-height: 9999px; // exaggerate max-height to accommodate tall lists
overflow: visible;
opacity: 1;
margin-top: 1em;
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
}
} }
.nav__title { .nav__title {
+1 -1
View File
@@ -15,4 +15,4 @@
.page__footer { .page__footer {
display: none; display: none;
} }
} }
+1 -1
View File
@@ -184,4 +184,4 @@ input[type="search"]::-webkit-search-cancel-button {
textarea { textarea {
overflow: auto; /* remove vertical scrollbar in IE6-9*/ overflow: auto; /* remove vertical scrollbar in IE6-9*/
vertical-align: top; /* readability and alignment cross-browser*/ vertical-align: top; /* readability and alignment cross-browser*/
} }
-4
View File
@@ -33,10 +33,6 @@
font-family: $sans-serif-narrow; font-family: $sans-serif-narrow;
} }
h3, h4 {
font-size: $type-size-5;
}
p, li { p, li {
font-family: $sans-serif; font-family: $sans-serif;
font-size: $type-size-6; font-size: $type-size-6;
+1 -1
View File
@@ -467,4 +467,4 @@ a.reversefootnote {
.required { .required {
color: $danger-color; color: $danger-color;
font-weight: bold; font-weight: bold;
} }
+78 -97
View File
@@ -6,142 +6,123 @@
Typography Typography
========================================================================== */ ========================================================================== */
$doc-font-size : 16; $doc-font-size : 16 !default;
/* paragraph indention */ /* paragraph indention */
$paragraph-indent : false; // true, false (default) $paragraph-indent : false !default; // true, false (default)
$indent-var : 1.3em; $indent-var : 1.3em !default;
/* system typefaces */ /* system typefaces */
$serif : Georgia, Times, serif; $serif : Georgia, Times, serif !default;
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif; $sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
$monospace : Monaco, Consolas, "Lucida Console", monospace; $monospace : Monaco, Consolas, "Lucida Console", monospace !default;
/* sans serif typefaces */ /* sans serif typefaces */
$sans-serif-narrow : $sans-serif; $sans-serif-narrow : $sans-serif !default;
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif; $helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif !default;
/* serif typefaces */ /* serif typefaces */
$georgia : Georgia, serif; $georgia : Georgia, serif !default;
$times : Times, serif; $times : Times, serif !default;
$bodoni : "Bodoni MT", serif; $bodoni : "Bodoni MT", serif !default;
$calisto : "Calisto MT", serif; $calisto : "Calisto MT", serif !default;
$garamond : Garamond, serif; $garamond : Garamond, serif !default;
$global-font-family : $sans-serif; $global-font-family : $sans-serif !default;
$header-font-family : $sans-serif; $header-font-family : $sans-serif !default;
$caption-font-family : $serif; $caption-font-family : $serif !default;
/* type scale */ /* type scale */
$type-size-1 : 2.441em; // ~39.056px $type-size-1 : 2.441em !default; // ~39.056px
$type-size-2 : 1.953em; // ~31.248px $type-size-2 : 1.953em !default; // ~31.248px
$type-size-3 : 1.563em; // ~25.008px $type-size-3 : 1.563em !default; // ~25.008px
$type-size-4 : 1.25em; // ~20px $type-size-4 : 1.25em !default; // ~20px
$type-size-5 : 1em; // ~16px $type-size-5 : 1em !default; // ~16px
$type-size-6 : 0.75em; // ~12px $type-size-6 : 0.75em !default; // ~12px
$type-size-7 : 0.6875em; // ~11px $type-size-7 : 0.6875em !default; // ~11px
$type-size-8 : 0.625em; // ~10px $type-size-8 : 0.625em !default; // ~10px
/* /*
Colors Colors
========================================================================== */ ========================================================================== */
$gray : #7a8288; $gray : #7a8288 !default;
$dark-gray : mix(#000, $gray, 40%); $dark-gray : mix(#000, $gray, 40%) !default;
$darker-gray : mix(#000, $gray, 60%); $darker-gray : mix(#000, $gray, 60%) !default;
$light-gray : mix(#fff, $gray, 50%); $light-gray : mix(#fff, $gray, 50%) !default;
$lighter-gray : mix(#fff, $gray, 90%); $lighter-gray : mix(#fff, $gray, 90%) !default;
$body-color : #fff; $body-color : #fff !default;
$background-color : #fff; $background-color : #fff !default;
$code-background-color : #fafafa; $code-background-color : #fafafa !default;
$code-background-color-dark : $light-gray; $code-background-color-dark : $light-gray !default;
$text-color : $dark-gray; $text-color : $dark-gray !default;
$border-color : $lighter-gray; $border-color : $lighter-gray !default;
$primary-color : #7a8288; $primary-color : #7a8288 !default;
$success-color : #62c462; $success-color : #62c462 !default;
$warning-color : #f89406; $warning-color : #f89406 !default;
$danger-color : #ee5f5b; $danger-color : #ee5f5b !default;
$info-color : #52adc8; $info-color : #52adc8 !default;
/* brands */ /* brands */
$behance-color : #1769FF; $behance-color : #1769FF !default;
$dribbble-color : #ea4c89; $dribbble-color : #ea4c89 !default;
$facebook-color : #3b5998; $facebook-color : #3b5998 !default;
$flickr-color : #ff0084; $flickr-color : #ff0084 !default;
$foursquare-color : #0072b1; $foursquare-color : #0072b1 !default;
$github-color : #171516; $github-color : #171516 !default;
$google-plus-color : #dd4b39; $google-plus-color : #dd4b39 !default;
$instagram-color : #517fa4; $instagram-color : #517fa4 !default;
$lastfm-color : #d51007; $lastfm-color : #d51007 !default;
$linkedin-color : #007bb6; $linkedin-color : #007bb6 !default;
$pinterest-color : #cb2027; $pinterest-color : #cb2027 !default;
$rss-color : #fa9b39; $rss-color : #fa9b39 !default;
$soundcloud-color : #ff3300; $soundcloud-color : #ff3300 !default;
$stackoverflow-color : #fe7a15; $stackoverflow-color : #fe7a15 !default;
$tumblr-color : #32506d; $tumblr-color : #32506d !default;
$twitter-color : #55acee; $twitter-color : #55acee !default;
$vimeo-color : #1ab7ea; $vimeo-color : #1ab7ea !default;
$vine-color : #00bf8f; $vine-color : #00bf8f !default;
$youtube-color : #bb0000; $youtube-color : #bb0000 !default;
$xing-color : #006567; $xing-color : #006567 !default;
/* links */ /* links */
$link-color : $info-color; $link-color : $info-color !default;
$link-color-hover : mix(#000, $link-color, 25%); $link-color-hover : mix(#000, $link-color, 25%) !default;
$link-color-visited : mix(#fff, $link-color, 25%); $link-color-visited : mix(#fff, $link-color, 25%) !default;
$masthead-link-color : $primary-color; $masthead-link-color : $primary-color !default;
$masthead-link-color-hover : mix(#000, $primary-color, 25%); $masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
/* /*
Breakpoints Breakpoints
========================================================================== */ ========================================================================== */
@include breakpoint-set("to ems", true); $small : 600px !default;
$medium : 768px !default;
$small : 600px; $medium-wide : 900px !default;
$medium : 768px; $large : 1024px !default;
$medium-wide : 900px; $x-large : 1280px !default;
$large : 1024px;
$x-large : 1280px;
/* /*
Grid Grid
========================================================================== */ ========================================================================== */
$right-sidebar-width-narrow : 200px; $right-sidebar-width-narrow : 200px !default;
$right-sidebar-width : 300px; $right-sidebar-width : 300px !default;
$right-sidebar-width-wide : 400px; $right-sidebar-width-wide : 400px !default;
$susy: (
columns: 12,
// column-width: 90px,
gutters: 1/4,
math: fluid,
output: float,
gutter-position: after,
container: $large,
global-box-sizing: border-box,
// debug: (
// image: show,
// color: blue,
// output: overlay,
// toggle: top right,
// ),
);
/* /*
Other Other
========================================================================== */ ========================================================================== */
$border-radius : 4px; $border-radius : 4px !default;
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125); $box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125) !default;
$navicon-width : 28px; $navicon-width : 28px !default;
$navicon-height : 4px; $navicon-height : 4px !default;
$global-transition : all 0.2s ease-in-out; $global-transition : all 0.2s ease-in-out !default;
+1 -1
View File
@@ -43,4 +43,4 @@ $mfp-caption-subtitle-color: #bdbdbd; // Caption sub
.mfp-counter { font-family: $serif; } // Caption font family .mfp-counter { font-family: $serif; } // Caption font family
// A11y // A11y
$mfp-use-visuallyhidden: false; $mfp-use-visuallyhidden: false;
+47 -7
View File
@@ -10,14 +10,53 @@
* *
*/ */
@import "vendor/breakpoint/breakpoint"; // media query mixins /*
Variables
========================================================================== */
@import "variables"; @import "variables";
@import "mixins";
/*
Vendor
========================================================================== */
/* Breakpoint - media query mixins */
@import "vendor/breakpoint/breakpoint";
@include breakpoint-set("to ems", true);
/* Font Awesome - icon font set */
@import "vendor/font-awesome/font-awesome";
/* Magnific Popup - responsive lightbox */
@import "vendor/magnific-popup/magnific-popup"; // Magnific Popup
/* Susy - grid mixins */
$susy: (
columns: 12,
gutters: 1/4,
math: fluid,
output: float,
gutter-position: after,
container: $large,
global-box-sizing: border-box,
// debug: (
// image: show,
// color: blue,
// output: overlay,
// toggle: top right,
// ),
);
@import "vendor/susy/susy"; @import "vendor/susy/susy";
/*
Base
========================================================================== */
@import "mixins";
@import "reset"; @import "reset";
@import "base"; @import "base";
@import "utilities"; @import "utilities";
@import "animations"; @import "animations";
@import "tables"; @import "tables";
@@ -27,13 +66,14 @@
@import "navigation"; @import "navigation";
@import "footer"; @import "footer";
@import "syntax"; @import "syntax";
@import "forms"; @import "forms";
/*
Layout specific
========================================================================== */
@import "page"; @import "page";
@import "archive"; @import "archive";
@import "sidebar"; @import "sidebar";
@import "vendor/font-awesome/font-awesome";
@import "vendor/magnific-popup/magnific-popup";
@import "print"; @import "print";
+1 -1
View File
@@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "minimal-mistakes-jekyll" spec.name = "minimal-mistakes-jekyll"
spec.version = "4.0.5" spec.version = "4.1.0"
spec.authors = ["Michael Rose"] spec.authors = ["Michael Rose"]
spec.summary = %q{A flexible two-column Jekyll theme.} spec.summary = %q{A flexible two-column Jekyll theme.}
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "minimal-mistakes", "name": "minimal-mistakes",
"version": "4.0.5", "version": "4.1.0",
"description": "Minimal Mistakes Jekyll theme npm build scripts", "description": "Minimal Mistakes Jekyll theme npm build scripts",
"repository": { "repository": {
"type": "git", "type": "git",
+3 -3
View File
@@ -14,7 +14,7 @@ title_separator : "-"
name : "Your Name" name : "Your Name"
description : "Minimal Mistakes theme test." description : "Minimal Mistakes theme test."
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io" url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
baseurl : # the subpath of your site, e.g. "/blog" baseurl : "/test"
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes" repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png" teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
# breadcrumbs : false # true, false (default) # breadcrumbs : false # true, false (default)
@@ -57,7 +57,7 @@ yandex_site_verification :
# Social Sharing # Social Sharing
twitter: twitter:
username : username : "mmistakes"
facebook: facebook:
username : username :
app_id : app_id :
@@ -102,7 +102,7 @@ author:
stackoverflow : # "123456/username" (the last part of your profile url, e.g. http://stackoverflow.com/users/123456/username) stackoverflow : # "123456/username" (the last part of your profile url, e.g. http://stackoverflow.com/users/123456/username)
steam : steam :
tumblr : tumblr :
twitter : twitter : "mmistakes"
vine : vine :
weibo : weibo :
xing : xing :
+44 -1
View File
@@ -9,4 +9,47 @@ main:
- title: "Sample Collections" - title: "Sample Collections"
url: /collection-archive/ url: /collection-archive/
- title: "Sitemap" - title: "Sitemap"
url: /sitemap/ url: /sitemap/
# sidebar navigation list sample
sidebar-sample:
- title: "Parent Page A"
children:
- title: "Child Page A1"
url: /
- title: "Child Page A2"
url: /
- title: "Child Page A3"
url: /
- title: "Child Page A4"
url: /
- title: "Parent Page B"
children:
- title: "Child Page B1"
url: /
- title: "Child Page B2"
url: /
- title: "Child Page B3"
url: /
- title: "Child Page B4"
url: /
- title: "Child Page B5"
url: /
- title: "Parent Page C"
children:
- title: "Child Page C1"
url: /
- title: "Child Page C2"
url: /
- title: "Child Page C3"
url: /
- title: "Child Page C4"
url: /
- title: "Child Page C5"
url: /
- title: "Parent Page D"
children:
- title: "Child Page D1"
url: /
- title: "Child Page D2"
url: /
+374 -1
View File
@@ -8,6 +8,7 @@ en: &DEFAULT_EN
pagination_next : "Next" pagination_next : "Next"
breadcrumb_home_label : "Home" breadcrumb_home_label : "Home"
breadcrumb_separator : "/" breadcrumb_separator : "/"
menu_label : "Toggle Menu"
toc_label : "On This Page" toc_label : "On This Page"
ext_link_label : "Direct Link" ext_link_label : "Direct Link"
less_than : "less than" less_than : "less than"
@@ -40,4 +41,376 @@ en: &DEFAULT_EN
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
loading_label : "Loading..." loading_label : "Loading..."
en-US: en-US:
<<: *DEFAULT_EN <<: *DEFAULT_EN
en-CA:
<<: *DEFAULT_EN
en-GB:
<<: *DEFAULT_EN
en-AU:
<<: *DEFAULT_EN
# Spanish
# --------------
es: &DEFAULT_ES
page : "Página"
pagination_previous : "Anterior"
pagination_next : "Siguiente"
breadcrumb_home_label : "Inicio"
breadcrumb_separator : "/"
menu_label :
toc_label : "Contenidos"
ext_link_label : "Enlace"
less_than : "menos de"
minute_read : "minuto de lectura"
share_on_label : "Compartir"
meta_label :
tags_label : "Etiquetas:"
categories_label : "Categorías:"
date_label : "Actualizado:"
comments_label : "Comentar"
comments_title :
more_label : "Ver más"
related_label : "Podrías ver también"
follow_label : "Seguir:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Sitio web"
email_label : "Email"
recent_posts : "Entradas recientes"
undefined_wpm : "Parametro words_per_minute (Palabras por minuto) no definido en _config.yml"
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 :
es-ES:
<<: *DEFAULT_ES
es-CO:
<<: *DEFAULT_ES
# French
# -----------------
fr: &DEFAULT_FR
page : "Page"
pagination_previous : "Précédent"
pagination_next : "Suivant"
breadcrumb_home_label : "Accueil"
breadcrumb_separator : "/"
menu_label :
toc_label : "Sur cette page"
ext_link_label : "Lien direct"
less_than : "moins de"
minute_read : "minute de lecture"
share_on_label : "Partager sur"
meta_label :
tags_label : "Tags :"
categories_label : "Catégories :"
date_label : "Mis à jour :"
comments_label : "Laisser un commentaire"
comments_title :
more_label : "Lire plus"
related_label : "Vous pourriez aimer aussi"
follow_label : "Contact"
feed_label : "Flux"
powered_by : "Propulsé par"
website_label : "Site"
email_label : "Email"
recent_posts : "Posts récents"
undefined_wpm : "Le paramètre words_per_minute n'est pas défini dans _config.yml"
comments_title : "Commentaires"
comment_form_info : "Votre adresse email ne sera pas visible. Les champs obligatoires sont marqués"
comment_form_comment_label : "Commentaire"
comment_form_md_info : "Markdown est supporté."
comment_form_name_label : "Nom"
comment_form_email_label : "Adresse mail"
comment_form_website_label : "Site web (optionnel)"
comment_btn_submit : "Envoyer"
comment_btn_submitted : "Envoyé"
comment_success_msg : "Merci pour votre commentaire, il sera visible sur le site une fois approuvé."
comment_error_msg : "Désolé, une erreur est survenue lors de la soumission. Vérifiez que les champs obligatoires ont été remplis et réessayez."
loading_label : "Chargement..."
fr-FR:
<<: *DEFAULT_FR
fr-BE:
<<: *DEFAULT_FR
fr-CH:
<<: *DEFAULT_FR
# Turkish
# -----------------
tr: &DEFAULT_TR
page : "Sayfa"
pagination_previous : "Önceki"
pagination_next : "Sonraki"
breadcrumb_home_label : "Ana Sayfa"
breadcrumb_separator : "/"
menu_label :
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"
comments_title : "Yorumlar"
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"
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
# Portuguese
# -----------------
pt: &DEFAULT_PT
page : "Página"
pagination_previous : "Anterior"
pagination_next : "Seguinte"
breadcrumb_home_label : "Início"
breadcrumb_separator : "/"
menu_label :
toc_label : "Nesta Página"
ext_link_label : "Link Direto"
less_than : "menos de"
minute_read : "minutos de leitura"
share_on_label : "Partilhar no"
meta_label :
tags_label : "Etiquetas:"
categories_label : "Categorias:"
date_label : "Atualizado:"
comments_label : "Deixe um Comentário"
comments_title : "Comentários"
more_label : "Saber mais"
related_label : "Também pode gostar de"
follow_label : "Siga:"
feed_label : "Feed"
powered_by : "Feito com"
website_label : "Site"
email_label : "Email"
recent_posts : "Artigos Recentes"
undefined_wpm : "Parâmetro words_per_minute não definido em _config.yml"
comment_form_info : "O seu endereço email não será publicado. Os campos obrigatórios estão assinalados"
comment_form_comment_label : "Comentário"
comment_form_md_info : "Markdown é suportado."
comment_form_name_label : "Nome"
comment_form_email_label : "Endereço Email"
comment_form_website_label : "Site (opcional)"
comment_btn_submit : "Sumbeter Comentário"
comment_btn_submitted : "Submetido"
comment_success_msg : "Obrigado pelo seu comentário! Será visível no site logo que aprovado."
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..."
# Brazilian Portuguese
pt-BR:
page : "Página"
pagination_previous : "Anterior"
pagination_next : "Próxima"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label :
toc_label : "Nesta página"
ext_link_label : "Link direto"
less_than : "meno que"
minute_read : "minutos de leitura"
share_on_label : "Compartilhe em"
meta_label :
tags_label : "Tags:"
categories_label : "Categorias:"
date_label : "Atualizado em:"
comments_label : "Deixe um comentário"
comments_title :
more_label : "Aprenda Mais"
related_label : "Você Talvez Goste Também"
follow_label : "Acompanhe em"
feed_label : "Feed"
powered_by : "Feito com"
website_label : "Site"
email_label : "Email"
recent_posts : "Postagens recentes"
undefined_wpm : "Parâmetro indefinido em word_per_minute no _config.yml"
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 :
pt-PT:
<<: *DEFAULT_PT
# Italian
# -----------------
it: &DEFAULT_IT
page : "Pagina"
pagination_previous : "Precedente"
pagination_next : "Prossima"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label :
toc_label : "Indice della pagina"
ext_link_label : "Link"
less_than : "meno di"
minute_read : "minuto/i di lettura"
share_on_label : "Condividi"
meta_label :
tags_label : "Tags:"
categories_label : "Categorie:"
date_label : "Aggiornato:"
comments_label : "Scrivi un commento"
comments_title :
more_label : "Scopri di più"
related_label : "Potrebbe Piacerti Anche"
follow_label : "Segui:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Website"
email_label : "Email"
recent_posts : "Articoli Recenti"
undefined_wpm : "Parametro words_per_minute non definito in _config.yml"
comment_form_info : "Il tuo indirizzo email non sarà pubblicato. Sono segnati i campi obbligatori"
comment_form_comment_label : "Commenta"
comment_form_md_info : "Il linguaggio Markdown è supportato"
comment_form_name_label : "Nome"
comment_form_email_label : "Indirizzo email"
comment_form_website_label : "Sito Web (opzionale)"
comment_btn_submit : "Invia commento"
comment_btn_submitted : "Inviato"
comment_success_msg : "Grazie per il tuo commento! Verrà visualizzato nel sito una volta che sarà approvato."
comment_error_msg : "C'è stato un errore con il tuo invio. Assicurati che tutti i campi richiesti siano stati completati e riprova."
loading_label : "Caricamento..."
it-IT:
<<: *DEFAULT_IT
# Chinese (zh-CN Chinese - China)
# -----------------
zh: &DEFAULT_ZH
page : "页面"
pagination_previous : "向前"
pagination_next : "向后"
breadcrumb_home_label : "首页"
breadcrumb_separator : "/"
menu_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 : "Powered by"
website_label : "网站"
email_label : "Email"
recent_posts : "最新文章"
undefined_wpm : "Undefined parameter words_per_minute at _config.yml"
comment_form_info : "Your email address will not be published. Required fields are marked"
comment_form_comment_label : "Comment"
comment_form_md_info : "Markdown is supported."
comment_form_name_label : "Name"
comment_form_email_label : "Email address"
comment_form_website_label : "Website (optional)"
comment_btn_submit : "Submit Comment"
comment_btn_submitted : "Submitted"
comment_success_msg : "Thanks for your comment! It will show on the site once it has been approved."
comment_error_msg : "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again."
loading_label : "Loading..."
zh-CN:
<<: *DEFAULT_ZH
zh-HK:
<<: *DEFAULT_ZH
zh-SG:
<<: *DEFAULT_ZH
zh-TW:
<<: *DEFAULT_ZH
# German / Deutsch
# -----------------
de: &DEFAULT_DE
page : "Seite"
pagination_previous : "Vorherige"
pagination_next : "Nächste"
breadcrumb_home_label : "Home"
breadcrumb_separator : "/"
menu_label :
toc_label : "Auf dieser Seite"
ext_link_label : "Direkter Link"
less_than : "weniger als"
minute_read : "Minuten zum lesen"
share_on_label : "Teilen auf"
meta_label :
tags_label : "Tags:"
categories_label : "Kategorien:"
date_label : "Aktualisiert:"
comments_label : "Hinterlassen sie einen Kommentar"
comments_title : "Kommentare"
more_label : "Mehr anzeigen"
related_label : "Ihnen gefällt vielleicht auch"
follow_label : "Folgen:"
feed_label : "Feed"
powered_by : "Powered by"
website_label : "Webseite"
email_label : "E-Mail"
recent_posts : "Aktuelle Beiträge"
undefined_wpm : "Undefinierter Parameter words_per_minute in _config.yml"
comment_form_info : "Ihre E-Mail Adresse wird nicht veröffentlicht. Benötigte Felder sind markiert"
comment_form_comment_label : "Kommentar"
comment_form_md_info : "Markdown wird unterstützt."
comment_form_name_label : "Name"
comment_form_email_label : "E-Mail Addresse"
comment_form_website_label : "Webseite (optional)"
comment_btn_submit : "Kommentar absenden"
comment_btn_submitted : "Versendet"
comment_success_msg : "Danke für ihren Kommentar! Er wird auf der Seite angezeigt, nachdem er geprüft wurde."
comment_error_msg : "Entschuldigung, es gab einen Fehler. Bitte füllen sie alle benötigten Felder aus und versuchen sie es erneut."
loading_label : "Lade..."
de-DE:
<<: *DEFAULT_DE
de-AT:
<<: *DEFAULT_DE
de-CH:
<<: *DEFAULT_DE
de-BE:
<<: *DEFAULT_DE
de-LI:
<<: *DEFAULT_DE
de-LU:
<<: *DEFAULT_DE
# Another locale
# --------------
@@ -1,6 +1,6 @@
--- ---
title: "Layout: Sidebar Custom" title: "Layout: Sidebar Custom"
excerpt: "A post to custom sidebar content." excerpt: "A post with custom sidebar content."
author_profile: false author_profile: false
sidebar: sidebar:
- title: "Title" - title: "Title"
@@ -11,7 +11,7 @@ sidebar:
text: "More text here." text: "More text here."
--- ---
This post has a custom sidebar set in the post's YAML Front Matter.. This post has a custom sidebar set in the post's YAML Front Matter.
An example of how that YAML could look is: An example of how that YAML could look is:
@@ -0,0 +1,62 @@
---
title: "Layout: Sidebar with Navigation List"
excerpt: "A post with a sidebar navigation list."
author_profile: false
sidebar:
title: "Sample Title"
nav: sidebar-sample
---
This post has a custom navigation list set in the post's YAML Front Matter.
```yaml
sidebar:
title: "Sample Title"
nav: sidebar-sample
```
Along with navigation elements set in `_data/navigation.yml`.
```yaml
sidebar-sample:
- title: "Parent Page A"
children:
- title: "Child Page A1"
url: /
- title: "Child Page A2"
url: /
- title: "Child Page A3"
url: /
- title: "Child Page A4"
url: /
- title: "Parent Page B"
children:
- title: "Child Page B1"
url: /
- title: "Child Page B2"
url: /
- title: "Child Page B3"
url: /
- title: "Child Page B4"
url: /
- title: "Child Page B5"
url: /
- title: "Parent Page C"
children:
- title: "Child Page C1"
url: /
- title: "Child Page C2"
url: /
- title: "Child Page C3"
url: /
- title: "Child Page C4"
url: /
- title: "Child Page C5"
url: /
- title: "Parent Page D"
children:
- title: "Child Page D1"
url: /
- title: "Child Page D2"
url: /
```