harms-columns-front-page 2.0.5 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0097b991244b25cd7f4519143e7527ee048e7ae
4
- data.tar.gz: ba464ef80f15161b03ea7aa82558a2cbfde3c73b
3
+ metadata.gz: 075d9c58918a7010d697e3b65a32052a7f86473a
4
+ data.tar.gz: c3b84033040ab983eb448f337eb5f047017f6895
5
5
  SHA512:
6
- metadata.gz: eb19622b408397da47eb6edd69a73ebce961a5bec788e6e48f763af790362bc13364e17a0603f0562ab2456eeab8ad216bea8bc7c229bd05c4cbe8bd559e0742
7
- data.tar.gz: f1ca5b6757cd8be4b59a458d312d3d8f02068336d165c43a47ec105d688300214ee89c1e9dcfcfa33ee62309ec0fa16ba5d9e04ff99af6cf99f337cf16b538a1
6
+ metadata.gz: 4849ba11e61f25832519b86818ef00c052ac08f4bf02b048f8b2bbf5f4385d99811395ef5e97357af0d874a82fc351f2ee6ff80356b83b0ceeb0cacbdad69299
7
+ data.tar.gz: 51fc7b142df0eb37d998ae2e994bd6f09b320cfd684d8346589edd9f5a88a93e1ed3644da6601078f0c392a43e9673132ae8c1e6492a38f3a02ac3fa6f52da4f
data/README.md CHANGED
@@ -471,6 +471,16 @@ featured-image: /assets/img/your-image.jpg
471
471
 
472
472
  <br>
473
473
 
474
+ #### _Post excerpt_
475
+
476
+ When listed in a list of blog posts, a small preview of the content of your post is shown. You can choose how long this post excerpt is. The following front matter variable defines a string, which you can use in your blog post markdown to determine where a post excerpt of that post should end.
477
+
478
+ ```yaml
479
+ excerpt_separator: <!--more-->
480
+ ```
481
+
482
+ <br>
483
+
474
484
  #### _Layout_
475
485
 
476
486
  You can specify a layout for a post like this:
@@ -44,7 +44,7 @@
44
44
 
45
45
  <!-- displays the header (If the page has a featured-image set it uses it as the header. If not, it shows the default header with the profile/logo image and the site's title and subtitle) -->
46
46
  {% if page.featured-image %}
47
- <div class="header" style="height: 120px; background-image: url({{ page.featured-image }}); background-size: cover; background-position: center">
47
+ <div class="header" style="height: 120px; background-image: url({{ page.featured-image }}); background-size: contain; background-position: center; background-repeat: no-repeat;">
48
48
  {% else %}
49
49
  <div class="header">
50
50
  <div class="header-content">
data/_layouts/home.html CHANGED
@@ -72,7 +72,7 @@
72
72
  <!-- if there's a featured-image set in the posts front matter, then it's dipslayed alongside the content -->
73
73
  {% if post.featured-image %}
74
74
 
75
- <h3 class="dark with-img">{{ post.title }}</h3>
75
+ <h2 class="dark with-img">{{ post.title }}</h2>
76
76
  <div class="post-contents">
77
77
  <div class="left">
78
78
  <img src="{{ post.featured-image }}" />
@@ -90,7 +90,7 @@
90
90
  <!-- loop that displays the posts without a featured image set -->
91
91
  {% else %}
92
92
 
93
- <h3 class="dark">{{ post.title }}</h3>
93
+ <h2 class="dark">{{ post.title }}</h2>
94
94
  <div class="post-contents">
95
95
  <div class="left">
96
96
 
data/_layouts/page.html CHANGED
@@ -51,7 +51,7 @@
51
51
  <!-- if there's a featured-image set in the posts front matter, then it's dipslayed alongside the content -->
52
52
  {% if post.featured-image %}
53
53
 
54
- <h3 class="dark with-img">{{ post.title }}</h3>
54
+ <h2 class="dark with-img">{{ post.title }}</h2>
55
55
  <div class="post-contents">
56
56
  <div class="left">
57
57
  <img src="{{ post.featured-image }}" />
@@ -69,7 +69,7 @@
69
69
  <!-- loop that displays the posts without a featured image set -->
70
70
  {% else %}
71
71
 
72
- <h3 class="dark">{{ post.title }}</h3>
72
+ <h2 class="dark">{{ post.title }}</h2>
73
73
  <div class="post-contents">
74
74
  <div class="left">
75
75
 
data/_sass/_posts.sass CHANGED
@@ -7,13 +7,20 @@
7
7
  &.hidden
8
8
  display: none !important
9
9
  visibility: hidden !important
10
- h3
10
+ h2
11
+ font-size: 25px
12
+ @media screen and ($tablet)
13
+ font-size: 20px
14
+ margin-bottom: 12px
15
+ margin-bottom: 8px
11
16
  &.with-img
12
17
  margin-left: 330px
13
18
  @media screen and ($tablet)
14
19
  margin-left: 230px
15
20
  @media screen and ($mobile)
16
21
  margin-left: 0
22
+ h3
23
+ margin-top: 10px
17
24
  margin-bottom: 50px
18
25
  padding-bottom: 50px
19
26
  @media screen and ($tablet)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harms-columns-front-page
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Harms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-02 00:00:00.000000000 Z
11
+ date: 2017-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll