Commit graph

362 commits

Author SHA1 Message Date
Michael Rose
dbdf5c2f25 Change default locale to en_US to appease OpenGraph debugger.
- Fixes #843
2017-02-28 08:57:54 -05:00
Michael Rose
28793933a3 Merge pull request #858 from rsaccani/master
meta tag "author" added, for site author the field name is used
2017-02-19 19:25:58 -05:00
Rodolfo Saccani
c23c6f9765 meta tag "author" added, for site author the field name is used 2017-02-19 23:09:04 +01:00
Michael Rose
e223934f81 Add flexbox fixes for < IE9 to make the greedy nav button visible 2017-02-14 13:13:28 -05:00
Michael Rose
1cbac04650 Update GreedyNav to use flexbox instead of display: table
- ref #836
2017-02-13 22:15:57 -05:00
Geoff Hutchison
b86240b26a Fix bug - include section for Discourse embedded comments (#825) 2017-02-08 15:52:39 -05:00
Maik Schmidt
f4e75fe640 Pagination now works for index.html files in subfolders. Links to next page consider baseurl now. (#764)
* Links to next page consider baseurl now.

* paginate_show_page_num controls whether page number gets output.
2017-01-24 10:42:02 -05:00
Matthew J. Berger
4d0091968b Add https prefix to google-universal embed code. (#772) 2017-01-24 10:23:32 -05:00
Michael Rose
5fc884eb84 Rename responsive_video helper to video 2017-01-24 10:05:57 -05:00
Justin Too
65a6654582 Add page hero video for vimeo/youtube using embedresponsively.com code (#788) 2017-01-24 09:29:34 -05:00
Michael Rose
1cfce57cfb Remove hardcoded read time values and make “minute read” values dynamic based off of site.words_per_minute
- Close #703
2016-12-21 22:52:18 -05:00
Michael Rose
7ad8d79f93 Fix author.youtube conditional in author sidebar 2016-12-21 22:43:21 -05:00
Michael Rose
a41eee9516 Add support for YouTube channel URLs in author sidebar
- Close #716
2016-12-21 22:29:26 -05:00
Michael Rose
2215ee5c06 Add include for adding custom author profile links to sidebar 2016-12-12 15:21:10 -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
f9e36767c2 Set default value for words_per_minute
- Close #657
2016-11-18 12:22:40 -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
3a7dd49734 Rename #comments to something more specific
- Close #582
2016-11-17 12:12:55 -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
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
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
b29e4bf5c9 Replace base_path with absolute_url filter 2016-11-04 12:50:03 -04:00
Michael Rose
8b43573087 Merge branch 'feature/theme-gem' into develop 2016-11-02 15:50:14 -04:00
Michael Rose
d3b2e49044 Remove prepend: "/" from includes and add to image path's instead 2016-10-10 11:48:30 -04:00
Fernando Ribeiro
eedf838d1f add image helper for easier image insertion in posts 2016-10-07 21:45:59 +01:00
Michael Rose
50d4b1b9a8 Make author avatar optional 2016-10-06 19:39:28 -04:00
Michael Rose
c3c0fc3f51 Replace base_path with absolute_url filter where possible 2016-10-06 15:40:30 -04:00
Justin Rummel
8c4f6e254e Update seo.html for meta description (#558)
Adding standard meta description immediately after seo_description has been defined
2016-09-27 15:19:22 -04:00
Michael Rose
7700d3b8ed Don't prepend author.avatar paths with / when path contains :// 2016-09-26 12:12:21 -04:00
Michael Rose
77c5642803 Allow images to be placed in other folders
- Remove `images/` only restriction and encourage placement in `assets/images/` instead
2016-09-21 22:15:17 -04:00
Kyle Manna
d4ee7ff12d includes: Enhance Twitter share link (#538)
* Include the page title before the URL
* If twitter.username is set, pass the `via` paramter for attribution
2016-09-19 09:48:58 -04:00
Sebastian Cachia
dc7f352aff Fixed Last.fm URL (#540)
lastfm.com/user... results in a server error, last.fm/user... is the correct URL.
2016-09-18 18:37:13 -04:00
Vince Chu
54b2da3022 Remove duplicate include of base_path in category-list.html (#522) 2016-09-13 09:30:52 -04:00
Roger Schaerer
0c2d3bbb9f get Follow-Button label from ui-text and default to "Follow" (#496) 2016-09-02 08:33:54 -04:00
Michael Rose
8f161b04db Add structured data markup for itemprop="comment"
- Close #458
2016-08-22 09:17:16 -04:00
Ryan Carpenter
f173b97404 Use page.header.teaser instead of site.og_image in twitter:image and og:image meta tags (#466) 2016-08-22 08:56:04 -04:00
Ryan Carpenter
c4d71dbea7 formats og:locale tag with underscores (#465)
See http://fbdevwiki.com/wiki/Locales
2016-08-21 23:25:41 -04:00
Michael Rose
06a8249a69 Make "honeypot" input less obvious for spam bots 2016-08-21 17:22:37 -04:00
Michael Rose
804b2171a6 Improve UX of comment form
- Remove modal and insert notices above submit button
- Disable form on successfully submission
- Add "loading..." icon and text to button on submit
- Remove unused text string translations
2016-08-11 22:32:27 -04:00
Michael Rose
304f465430 Don't link author name if url is blank 2016-08-11 15:22:29 -04:00
Michael Rose
7aa4e3ca3d Move comments above form elements and add missing English UI text strings 2016-08-11 10:14:27 -04:00
Michael Rose
fdcaf16e2f Add includes for static-based comments powered by Staticman
- Configure Staticman with sane defaults
- Build comment form to capture new comments and ajax data to Staticman
- Build comments view that iterates over `_data/comments/post-slug/*.yml` files
2016-08-10 16:08:13 -04:00
Michael Rose
ca9ff3248c Fallback to site.github.url for use in {{ base_path }} when site.url is nil 2016-08-04 10:47:39 -04:00
Michael Rose
3e2e7daa51 Fix blank site.teaser bug
- Use `assign` instead of capture and then check if variable is `nil` or not.
- Close #412
2016-08-01 10:27:54 -04:00
Michael Rose
cc0b266541 Add en default text to site.locale strings
- Close #407
2016-07-29 12:16:53 -04:00
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
Michael Rose
803096d9fa Add icons to page meta labels (tags, categories, and date) 2016-04-03 21:35:53 -04:00
Michael Rose
7c1bddf704 Refine masthead 2016-04-03 21:23:24 -04:00
Michael Rose
e41bb95bee Add Keybase to author sidebar and aria-hidden to icons
- Close #138
- Close #186
- Close #188
2016-04-01 15:49:28 -04:00
Michael Rose
416cc123ec Add LinkedIn social share button and add ARIA hidden to Font Awesome icons
- Close #174
- Close #179
2016-04-01 15:40:38 -04:00
Michael Rose
541d230b7a Remove AdSense code and add ARIA hidden to Font Awesome icons 2016-04-01 15:39:57 -04:00
Michael Rose
58662946cd Only show post pagination if there are previous or next posts 2016-03-30 21:54:49 -04:00
Michael Rose
66d6a70480 Reduce button size 2016-03-30 17:02:49 -04:00
Michael Rose
045c7db1dd Replace px font-size with relative units (em and rem) 2016-03-30 16:59:48 -04:00
Michael Rose
570864dfb8 Improve pagination styling 2016-03-30 15:26:25 -04:00
Michael Rose
85fb0d0283 Style tweaks to pagination, right sidebar, and background color 2016-03-29 23:13:00 -04:00
Michael Rose
945fb58044 Add post pagination to sidebar and make minor styling alterations 2016-03-28 21:48:42 -04:00
Michael Rose
b04ede54ab Modify nav_list and styling 2016-03-25 20:57:52 -04:00
Michael Rose
0d8a76857f Expand on nav_list styles
- Consolidate SCSS partials
2016-03-25 14:50:59 -04:00
Michael Rose
678aecdd61 Build navigation list include helper
- Update navigation.yml to support multiple navigations and levels
- Optional include navigation into left sidebar
2016-03-25 14:12:03 -04:00
Michael Rose
646454db24 Add localized labels for "website" and "email" author sidebar 2016-03-25 10:48:08 -04:00
Michael Rose
28d6c28050 Build out overlay header and feature row _include helper 2016-03-24 15:28:29 -04:00
Michael Rose
4a38b2a4c5 Add button size classes 2016-03-24 12:14:40 -04:00
Michael Rose
974797a2b8 Style overlay background image and add support for caption 2016-03-23 21:59:58 -04:00
Michael Rose
cae92a8770 Add header overlay sample posts 2016-03-23 21:50:22 -04:00
Michael Rose
bda9a23261 Add locale string for "Page" 2016-03-23 21:49:01 -04:00
Michael Rose
479bce3682 Rough out splash page _layout with styles and test content 2016-03-23 16:35:01 -04:00
Michael Rose
7f42a0e4c2 Fix collapsing floats 2016-03-23 16:33:21 -04:00
Michael Rose
6e12c95067 Remove alt from teaser image 2016-03-23 16:32:50 -04:00
Michael Rose
b642972d82 Rename variables to stay consistent with naming convention 2016-03-23 16:31:30 -04:00
Michael Rose
3663ba897a Create includes for greater layout flexibility 2016-03-23 12:56:23 -04:00
Michael Rose
0e365ee248 Organize comments providers includes and make FB fill parent container 2016-03-23 12:55:36 -04:00
Michael Rose
0feeb21821 Update labels, and colors, and things 2016-03-22 22:59:39 -04:00
Michael Rose
f029ce6e25 Add reading time to archive layout and include icon 2016-03-22 22:28:12 -04:00
Michael Rose
bf4bf6ed82 Add optional reading time to single _layout 2016-03-21 21:42:55 -04:00
Michael Rose
d541d45c9c Improve code readability 2016-03-21 16:36:24 -04:00
Michael Rose
4df2367e1c Add "priority plus" navigation pattern for masthead links 2016-03-21 16:01:19 -04:00
Michael Rose
3173c0dc1d Add test for JavaScript to help style elements progressively 2016-03-21 15:59:16 -04:00
Michael Rose
5c79a09f08 Add custom footer include 2016-03-21 14:11:39 -04:00
Michael Rose
7f30ab04ea Remove Google webfonts as default and include for custom <head> includes
- Create font stacks using system fonts for improved performance
2016-03-21 14:11:14 -04:00
Michael Rose
a2a4f84580 Improve social follow popover button 2016-03-21 00:03:46 -04:00
Michael Rose
abb89f7eb6 Hide social urls behind a button 2016-03-20 22:15:43 -04:00
Michael Rose
780b30c9f6 Massage the grid layout 2016-03-20 15:20:33 -04:00
Michael Rose
d5ce1b2226 Simplify styling 2016-03-19 21:50:18 -04:00
Michael Rose
109f4ffb44 DRY up archive include
- Combine grid and list view into one include
2016-03-19 20:58:17 -04:00
Michael Rose
eb2f3d052a Create grid styling for related posts module
- Add default teaser image
- Disable image watch gulp task
2016-03-18 15:07:02 -04:00
Michael Rose
17a6afcd35 Improve sidebar styling for small screens 2016-03-18 11:58:56 -04:00
Michael Rose
9fecb03081 Add title to comments section
- Style .page__comments-title
- Add comments label text to data file
- Add .html extension to comment provider _includes
2016-03-17 22:36:20 -04:00
Michael Rose
af16afdaf2 Combine SCSS and JS into one assets folder 2016-03-17 21:32:55 -04:00
Michael Rose
5a14bfb98c Add .full image class for spanning the entire content container 2016-03-15 12:55:19 -04:00
Michael Rose
7fa159a9a2 Only enable breadcrumbs when using Jekyll Archives category pages 2016-03-11 21:09:09 -05:00
Michael Rose
53b6bf549c Make "Follow: " label option 2016-03-11 16:18:58 -05:00
Michael Rose
0b7f243aeb Make sure breadcrumbs, tag lists, and category lists only display when enabled 2016-03-11 16:17:20 -05:00
Michael Rose
5d9e0af805 More style cleanup and housekeeping 2016-03-11 15:55:06 -05:00
Michael Rose
a3d251a18e Improve breadcrumb helper
- Add support for collections
- Add support for crumb links that point to auto-generated archive pages (courtesy of Jekyll Archives plugin) and single page Liquid spaghetti pages
- Improve styling
2016-03-11 15:54:16 -05:00
Michael Rose
3aa50cc5a5 Add support for Jekyll Archives plugin
- Option to select GitHub Pages compatible tag/category page archive or plugin generated archives
2016-03-11 09:39:20 -05:00
Michael Rose
1ccd5f6bf0 Edit sidebar and page meta styles 2016-03-10 22:29:30 -05:00
Michael Rose
a31bd447d0 Properly detect if a page has tags or categories
- Arrays are truthy, test on first item instead
2016-03-10 22:12:37 -05:00