Commit graph

272 commits

Author SHA1 Message Date
Robert James Kaes
10bc756932 URL Encode Title and Page URL in Social Share Links
The links to the various social networks include data from the post
(title and url) which can contain URL special characters.  Pass each of
the generated URLs through Liquid's `url_encode` filter to build HTML
complaint URLs.
2017-08-15 14:41:34 -04:00
Michael Rose
f7a1b1a160 DRY up handling of image_description for alternative text 2017-08-04 12:20:08 -04:00
austinseraphin
cb8cb6f41e Header alt tags (#1138)
* Added support for an alt tag for the header image

This allows using page.header.image_description as the alt tag. It
will still default to site.title if unset.

* Added documentation
2017-08-04 12:06:20 -04:00
wg1j
bf6bd617e2 Fixed site variables (#1063) 2017-07-05 12:30:39 -04:00
Will Estes
c142f94918 add gitlab to author profile (#1050)
* add gitlab to author profile

* add gitlab to footer

* Fix alignment of :
2017-07-05 12:25:41 -04:00
Michael Rose
8e51d4b8f1 Fix indentation and formatting 2017-07-05 12:04:53 -04:00
Michael Rose
7a7428c2f0 Fix indentation and remove comments 2017-07-05 11:59:09 -04:00
Zobair Shahadat
ede0654d4f Google+ page comments updated. 2017-07-05 00:38:24 -04:00
Michael Lynch
8ed48c1cd5 Removing extraneous a and li tags (#1038)
Removing duplicate <a> and <li> closing tags in paginator include.
2017-05-30 08:11:19 -04:00
Josh Habdas
706531b60d fix(includes/video): use https always (#945)
closes #944
2017-04-19 10:39:20 -04:00
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