4
4
< div class ="post ">
5
5
< header class ="post-header ">
6
6
< h1 class ="post-title "> {{ page.title }}</ h1 >
7
+
7
8
< div class ="post-meta ">
8
- < ul >
9
- < li >
10
- < time pubdate datetime ="{{ page.date | date: '%Y-%m-%d' }} "
11
- title ="{{ page.date | date: '%b %-d, %Y' }} "> {{ page.date | date: "%b %-d, %Y" }}
12
- </ time >
13
- </ li >
14
- < li >
15
- < address class ="author "> by
16
- {% if page.author.name %}
17
- {% assign author_name = page.author.name %}
18
- {% else %}
19
- {% assign author_name = site.title %}
20
- {% endif %}
9
+ < ul >
10
+ < li >
11
+ < time pubdate datetime ="{{ page.date | date: '%Y-%m-%d' }} "
12
+ title ="{{ page.date | date: '%b %-d, %Y' }} "> {{ page.date | date: "%b %-d, %Y" }}
13
+ </ time >
14
+ </ li >
15
+ < li >
16
+ < address class ="author "> by
17
+ {% if page.author.name %}
18
+ {% assign author_name = page.author.name %}
19
+ {% else %}
20
+ {% assign author_name = site.title %}
21
+ {% endif %}
21
22
22
- {% if page.author.url %}
23
- < a href ="{{ page.author.url }} " target ="_blank "> {{ author_name }}</ a >
24
- {% else %}
25
- {{ author_name }}
26
- {% endif %}
27
- </ address >
28
- </ li >
29
- </ ul >
23
+ {% if page.author.url %}
24
+ < a href ="{{ page.author.url }} " target ="_blank "> {{ author_name }}</ a >
25
+ {% else %}
26
+ {{ author_name }}
27
+ {% endif %}
28
+ </ address >
29
+ </ li >
30
+ </ ul >
30
31
</ div >
31
32
</ header >
32
33
@@ -35,15 +36,15 @@ <h1 class="post-title">{{ page.title }}</h1>
35
36
< div class ="col-md-8 NL_post ">
36
37
< article class ="post-content ">
37
38
{% if page.image.url %}
38
- {% unless page.image.hide %}
39
- {% if page.image.width %}
40
- {% assign image_width = page.image.width %}
41
- {% else %}
42
- {% assign image_width = '100%' %}
43
- {% endif %}
44
- < img src ="{{ page.image.url }} " alt ="{{ page.title }} " class ="blog-thumbnail " width ="{{ image_width }} ">
45
- {% endunless %}
39
+ {% unless page.image.hide %}
40
+ {% if page.image.width %}
41
+ {% assign image_width = page.image.width %}
42
+ {% else %}
43
+ {% assign image_width = '100%' %}
46
44
{% endif %}
45
+ < img src ="{{ page.image.url }} " alt ="{{ page.title }} " class ="blog-thumbnail " width ="{{ image_width }} ">
46
+ {% endunless %}
47
+ {% endif %}
47
48
{{ content }}
48
49
</ article >
49
50
@@ -52,62 +53,27 @@ <h1 class="post-title">{{ page.title }}</h1>
52
53
</ div >
53
54
< div class ="col-md-3 col-md-offset-1 NL_other_posts ">
54
55
< div class ="NL_previous_post ">
55
- {% if page.previous.url %}
56
+ {% if page.previous.url %}
56
57
< h4 > Read previous article: </ h4 >
57
58
< a class ="prev " href ="{{page.previous.url}} ">
58
- < img src ="{{ page.previous.image.url }} " alt ="{{ page.previous.title }} " class ="NL_post_img NL_img_hover " >
59
+ < img src ="{{ page.previous.image.url }} " alt ="{{ page.previous.title }} "
60
+ class ="NL_post_img NL_img_hover ">
61
+
59
62
< p > < span > {{page.previous.title}}</ span > </ p >
60
63
</ a >
61
- {% endif %}
64
+ {% endif %}
62
65
</ div >
63
66
64
67
< div class ="NL_next_post ">
65
- {% if page.next.url %}
68
+ {% if page.next.url %}
66
69
< h4 > Read next article: </ h4 >
67
70
< a class ="next " href ="{{page.next.url}} ">
68
- < img src ="{{ page.next.image.url }} " alt ="{{ page.next.title }} " class ="NL_post_img NL_img_hover " >
71
+ < img src ="{{ page.next.image.url }} " alt ="{{ page.next.title }} " class ="NL_post_img NL_img_hover ">
72
+
69
73
< p > < span > {{page.next.title}}</ span > </ p >
70
74
</ a >
71
- {% endif %}
75
+ {% endif %}
72
76
</ div >
73
77
</ div >
74
78
</ div >
75
-
76
-
77
-
78
- <!--<article class="post-content">
79
- {% if page.image.url %}
80
- {% if page.image.width %}
81
- {% assign image_width = page.image.width %}
82
- {% else %}
83
- {% assign image_width = '30%' %}
84
- {% endif %}
85
- <img src="{{ page.image.url }}" alt="{{ page.title }}" class="blog-thumbnail" width="{{ image_width }}">
86
- {% endif %}
87
- {{ content }}
88
- </article>
89
-
90
- {% include addthis.html %}
91
- <div class="NL_disqus">{% include disqus.html %}</div>
92
-
93
- <div class="NL_page_navigation">
94
- <h3>Read more:</h3>
95
- <div class="NL_previous_post">
96
- {% if page.previous.url %}
97
- <a class="prev" href="{{page.previous.url}}">
98
- <img src="{{ page.previous.image.url }}" alt="{{ page.previous.title }}" >
99
- <p>{{page.previous.title}}</p>
100
- </a>
101
- {% endif %}
102
- </div>
103
- <div class="NL_next_post">
104
- {% if page.next.url %}
105
- <a class="next" href="{{page.next.url}}">
106
- <img src="{{ page.next.image.url }}" alt="{{ page.next.title }}" >
107
- <p>{{page.next.title}}</p>
108
- </a>
109
- {% endif %}
110
- </div>
111
- </div>
112
- <div class="row"/>
113
- </div> -->
79
+ </ div >
0 commit comments