Commit Graph

219 Commits

Author SHA1 Message Date
Michael Rose
1510d52f83 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:29:56 -04:00
Michael Rose
0463303bd9 Add en default text to site.locale strings
- Close #407
2016-08-01 09:07:50 -04:00
Michael Rose
6a7d29a3e7 Add external feed URL conditional to <head> 2016-07-26 15:45:05 -04:00
Gabor Meszaros
2283dd49aa Add external atom feed URL config possibility 2016-07-26 15:44:49 -04:00
Michael Rose
3fe927c023 Fix gallery size bug
-  Improperly evaluated size of gallery arrays as strings and not integers
- Close #402
2016-07-20 16:11:59 -04:00
Michael Rose
a6a5565dce 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 14:16:23 -04:00
Michael Rose
dfa94b81fd 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 14:16:14 -04:00
Matthew Aguirre
677fded9e4 Updated author-profile.html in the event that there is no authors.yml file. 2016-06-24 15:45:46 -04:00
Josh Habdas
b9d3d051fb Use header overlay images for Open Graph image 2016-06-13 12:29:00 -04:00
Michael Rose
db1d4b8fe4 Remove minutes_read to avoid awkward reading time wording
- Issue #356
2016-06-13 12:28:37 -04:00
Josh Habdas
90906796b6 Fix branch logic for Yandex and Alexa. Closes #347 2016-06-10 14:22:35 -04:00
Michael Rose
e863ee4150 Rename undefined_words_per_minute variable to match one set in ui-text.yml
- Remove extra white-space
- Close #317
2016-06-07 11:38:51 -04:00
Sergio C. Orozco Torres
083ab747e1 Fix for division by 0 error caused by null words_per_minute 2016-06-07 11:38:34 -04:00
Michael Rose
e97555ce04 Move Google AdSense 2016-06-06 21:32:46 -04:00
Michael Rose
89175cad2c Remove last blank line 2016-06-03 15:06:59 -04:00
Michael Rose
0eec6f7611 Replace contains "http" with contains "://" 2016-06-03 15:06:48 -04:00
Robert Riemann
3e11f72176 take into account an optional basepath 2016-06-03 15:06:39 -04:00
Robert Riemann
91b1feb471 Add Javascript and configs to use Discourse commenting 2016-06-03 15:06:26 -04:00
Michael Rose
e4066094bb 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:34:47 -04:00
Michael Rose
3fec57acb5 Rename tag/category archive variables to avoid possible conflicts with site.tags and site.categories
- Fixes #329
2016-05-29 21:16:35 -04:00
Michael Rose
9e108ed160 Center Google AdSense and remove border 2016-05-06 15:09:40 -04:00
Wilson Mar
a0f5c69451 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-05-02 11:56:07 -04:00
Wilson Mar
0f655664ef Update author-profile.html 2016-05-02 11:55:57 -04:00
Tobie Langel
bf4587f3ff Style fixes 2016-05-02 11:47:12 -04:00
Tobie Langel
ebffb4c3c4 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 11:47:01 -04:00
Michael Rose
a01f5dbecd Fix SEO author bug
- If `twitter.username` is set and `author.twitter` is nil bad things happen.
- Close #289
2016-04-27 10:20:35 -04:00
Michael Rose
927521a9ae Allow author_profile to be toggled in a _layout (eg. archive-taxonomy.html)
- Close #285
2016-04-27 10:20:27 -04:00
Michael Rose
ce076e6b95 Remove white space as it was causing issues with Markdown and parsing as code blocks
- Close #279
2016-04-27 10:20:20 -04:00
Michael Rose
a511e2dc89 Fix site.og_image URL by appending /images/ the path
- Close #277
2016-04-27 10:20:10 -04:00
Michael Rose
f732221765 Add favicons 2016-04-19 08:40:38 -04:00
Michael Rose
bea516b640 Improve nav_list helper to be used with any type of navigation list defined in navigation.yml data file
- Add documentation
- Close #272
2016-04-18 16:26:33 -04:00
Michael Rose
1117f1e779 Add Google AdSense script to footer 2016-04-15 09:55:27 -04:00
Michael Rose
64ae252cb0 Fix typo in Bitbucket URL 2016-04-15 09:39:40 -04:00
Michael Rose
06c50e179f Add GitHub and Bitbucket optional links to footer 2016-04-15 09:39:32 -04:00
Michael Rose
984421d392 Fix bug when site.twitter is null 2016-04-14 16:16:49 -04:00
Michael Rose
90b73dc929 Add sample content 2016-04-14 16:08:29 -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