Commit graph

214 commits

Author SHA1 Message Date
Michael Rose
d238a0de83 Add external feed URL conditional to <head> 2016-07-26 15:34:21 -04:00
Gabor Meszaros
5a2d54f64f Add external atom feed URL config possibility 2016-07-26 15:13:38 +02:00
Michael Rose
2d818cc8d1 Fix gallery size bug
-  Improperly evaluated size of gallery arrays as strings and not integers
- Close #402
2016-07-20 16:05:31 -04:00
Michael Rose
89a44dc057 Improve link posts in archive listings
- Remove `target="_blank"` anti-pattern
- If link post point title to source article
- Switch star icon to a link to indicate "permalink" and markup semantically with `rel="permalink"`
- Reduce opacity of permalink icon
- Adjust hover styles due to shuffling around <a> element
- Close #276
2016-07-11 13:02:59 -04:00
Michael Rose
6d31ffe4ab Indicate the relationship between component URLs in a paginated series
- Apply rel="prev" and rel="next" to pages that use site.paginator
- Ref ~> https://webmasters.googleblog.com/2011/09/pagination-with-relnext-and-relprev.html
- Close #253
2016-07-11 11:56:09 -04:00
Matthew Aguirre
301e325ec9 Updated author-profile.html in the event that there is no authors.yml file. 2016-06-23 20:59:02 -04:00
Michael Rose
9524b60f7e Merge branch 'master' of https://github.com/jhabdas/minimal-mistakes into feature/og-overlay-image 2016-06-13 12:14:29 -04:00
Josh Habdas
beaaa884ff Use header overlay images for Open Graph image 2016-06-13 11:03:48 -05:00
Michael Rose
cd019f496c Remove minutes_read to avoid awkward reading time wording
- Issue #356
2016-06-13 10:25:15 -04:00
Josh Habdas
f3e5e0dafd Fix branch logic for Yandex and Alexa. Closes #347 2016-06-09 11:56:40 -05:00
Michael Rose
f509db2177 Rename undefined_words_per_minute variable to match one set in ui-text.yml
- Remove extra white-space
- Close #317
2016-06-07 11:32:11 -04:00
Sergio C. Orozco Torres
01cfcf0f3b Undefined word_per_minutes parameter division by zero
If the parameter words_per_minute at _config.yml is not defined and the template says that must show read_time then will be divide a number by zero, a fix is verify that parameter and show a message when this is empty or zero. already localized for spanish
2016-06-07 01:03:59 -05:00
Michael Rose
5bbf801d8c Remove last blank line 2016-06-03 12:03:19 -04:00
Michael Rose
d9ac4a7940 Merge branch 'feature-discourse-comments' of https://github.com/rriemann/minimal-mistakes into feature/discourse-comments 2016-06-03 12:01:08 -04:00
Michael Rose
b3c0b79b92 Replace contains "http" with contains "://" 2016-06-03 11:59:19 -04:00
Robert Riemann
e186ee3650 take into account an optional basepath 2016-06-03 10:57:52 +02:00
Robert Riemann
f6f7d0cd97 javascript to embed comments from discourse forum
The comment system can be changed to embed topics from the Discourse
forum software: http://discourse.org/

More details: https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963
2016-06-03 00:34:14 +02:00
Michael Rose
b7185c8155 Add support for gallery image captions in Magnific Popup overlays
- Apply optional `title` attribute to image anchors that trigger Magnific Popup overlays
- Close #334
2016-06-01 21:26:14 -04:00
Michael Rose
45f3a7a8ee Rename tag/category archive variables to avoid possible conflicts with site.tags and site.categories
- Fixes #329
2016-05-29 21:12:24 -04:00
Michael Rose
7b070cb3ae Merge branch 'Issue-292-fix-www-in-links-to-social-media' of https://github.com/wilsonmar/minimal-mistakes into feature/fix-www-author-profile 2016-05-02 11:51:57 -04:00
Tobie Langel
1edfcea306 Style fixes 2016-05-02 14:25:26 +02:00
Tobie Langel
f077ec4343 Add overlay_filter param to hero headers
The `overlay_filter` param lets you darken or otherwise filter the hero header picture to make the text content pop out more.

You can use it by specifying the opacity (between 0 and 1) of a black overlay like so:

```yaml
excerpt: "This post should display a **header with an overlay image**, if the theme supports it."
header:
  overlay_image: unsplash-image-1.jpg
  overlay_filter: 0.5 # same as adding an opacity of 0.5 to a black background
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  cta_label: "More Info"
  cta_url: "https://unsplash.com"
```

Or if you want to do more fancy things, go full rgba: 

```yaml
excerpt: "This post should display a **header with an overlay image**, if the theme supports it."
header:
  overlay_image: unsplash-image-1.jpg
  overlay_filter: rgba(255, 0, 0, 0.5)
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  cta_label: "More Info"
  cta_url: "https://unsplash.com"
```
2016-05-02 13:59:31 +02:00
Wilson Mar
cd795c44a2 Update author-profile.html for issue 292
This changes some http to https and add www.
All to avoid extra redirect that slows display.
Link to YouTube also added.
2016-04-28 09:28:51 -06:00
Wilson Mar
c7c5d9888f Update author-profile.html 2016-04-28 09:21:28 -06:00
Michael Rose
b459af2120 Fix SEO author bug
- If `twitter.username` is set and `author.twitter` is nil bad things happen.
- Close #289
2016-04-27 10:19:00 -04:00
Michael Rose
5c8506088c Allow author_profile to be toggled in a _layout (eg. archive-taxonomy.html)
- Close #285
2016-04-27 10:15:42 -04:00
Michael Rose
0259611085 Remove white space as it was causing issues with Markdown and parsing as code blocks
- Close #279
2016-04-27 10:09:24 -04:00
Michael Rose
5bba54da0b Fix site.og_image URL by appending /images/ the path
- Close #277
2016-04-19 08:43:21 -04:00
Michael Rose
3e0527fa78 Improve nav_list helper to be used with any type of navigation list defined in navigation.yml data file
- Close #272
2016-04-18 16:22:53 -04:00
Michael Rose
3c15a37c0f Fix typo in Bitbucket URL 2016-04-15 09:18:42 -04:00
Michael Rose
43f49dbd47 Add GitHub and Bitbucket optional links to footer 2016-04-15 09:18:31 -04:00
Michael Rose
92bfc93cc4 Fix bug when site.twitter is null 2016-04-14 15:12:04 -04:00
Michael Rose
d7df394a5e Make base_path available to all includes that need it 2016-04-14 14:45:48 -04:00
Michael Rose
f540ed6d78 Fix broken breadcrumb links by including base_path helper 2016-04-14 14:33:13 -04:00
Michael Rose
9ce87108ff If page doesn't have a title fallback to site.title 2016-04-14 14:26:47 -04:00
Michael Rose
84e85c0f14 Improve URL handling for internally and externally linked pages 2016-04-14 10:46:33 -04:00
Michael Rose
7d033d57ef Update class utility docs 2016-04-13 11:29:44 -04:00
Michael Rose
b52e4a8715 Update layout docs 2016-04-12 12:04:16 -04:00
Michael Rose
5ae39ef82c Add Bitbucket link to author sidebar
- Close #256
2016-04-11 09:30:28 -04:00
Michael Rose
e5d5685ad5 Add optional location to author sidebar 2016-04-10 12:16:10 -04:00
Michael Rose
add3811ba7 Remove site.read_time condition 2016-04-07 16:25:50 -04:00
Michael Rose
2808bd322c Rename site.logo to site.og_image 2016-04-06 15:50:10 -04:00
Michael Rose
3e34300529 Remove white-space around browser upgrade notice 2016-04-05 22:02:36 -04:00
Michael Rose
e58dc5d57f Remove default favicons and add note about using Real Favicon Generator to create your own set 2016-04-05 22:02:14 -04:00
Michael Rose
f9ac13eff7 Add title to nav_list helper 2016-04-05 21:50:10 -04:00
Michael Rose
1c8239f664 Move breadcrumb text out of _config.yml and into ui-text.yml data file 2016-04-05 21:36:32 -04:00
Michael Rose
234368718f Change "table of contents" default icon and text label 2016-04-05 21:15:56 -04:00
Michael Rose
6befcd09f5 Rename feature row include 2016-04-04 16:36:38 -04:00
Michael Rose
0e385bece2 Add missing apostrophe 2016-04-04 14:21:47 -04:00
Michael Rose
b2611c3f2e Fix path bugs in breadcrumbs 2016-04-04 14:20:47 -04:00