|
26 | 26 | </script> |
27 | 27 |
|
28 | 28 | <main class="content" role="main"> |
| 29 | + <div class="center-column"> |
| 30 | + <article class="{{post_class}}"> |
| 31 | + {{! Everything inside the #post tags pulls data from the post }} |
| 32 | + {{#post}} |
| 33 | + <h1 class="post-title">{{{title}}}</h1> |
| 34 | + <span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='DD MMM YYYY'}}</time> | {{author.name}} {{tags prefix="on " separator=" | "}}</span> |
29 | 35 |
|
30 | | - <article class="{{post_class}}"> |
31 | | - |
32 | | - {{! Everything inside the #post tags pulls data from the post }} |
33 | | - {{#post}} |
34 | | - |
35 | | - <span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='DD MMM YYYY'}}</time> {{tags prefix="on " separator=" | "}}</span> |
36 | | - |
37 | | - <h1 class="post-title">{{{title}}}</h1> |
38 | | - |
39 | | - <section class="post-content"> |
40 | | - {{content}} |
41 | | - </section> |
42 | | - |
43 | | - <footer class="post-footer"> |
44 | | - |
45 | | - <section class="author"> |
46 | | - <h4>{{author.name}}</h4> |
47 | | - <p>{{author.bio}}</p> |
| 36 | + <section class="post-content"> |
| 37 | + {{content}} |
48 | 38 | </section> |
49 | 39 |
|
50 | | - <section class="share"> |
51 | | - <h4>Share this post</h4> |
52 | | - <a class="icon-twitter" href="http://twitter.com/share?text={{encode title}}&url={{url absolute="true"}}" |
53 | | - onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"> |
54 | | - <span class="hidden">Twitter</span> |
55 | | - </a> |
56 | | - <a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}" |
57 | | - onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;"> |
58 | | - <span class="hidden">Facebook</span> |
59 | | - </a> |
60 | | - <a class="icon-google-plus" href="https://plus.google.com/share?url={{url absolute="true"}}" |
61 | | - onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;"> |
62 | | - <span class="hidden">Google+</span> |
63 | | - </a> |
64 | | - </section> |
| 40 | + <footer class="post-footer"> |
65 | 41 |
|
66 | | - </footer> |
| 42 | + <section class="share"> |
| 43 | + <h4>Share this post</h4> |
| 44 | + <a class="icon-twitter" href="http://twitter.com/share?text={{encode title}}&url={{url absolute="true"}}" |
| 45 | + onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"> |
| 46 | + <span class="hidden">Twitter</span> |
| 47 | + </a> |
| 48 | + <a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}" |
| 49 | + onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;"> |
| 50 | + <span class="hidden">Facebook</span> |
| 51 | + </a> |
| 52 | + <a class="icon-google-plus" href="https://plus.google.com/share?url={{url absolute="true"}}" |
| 53 | + onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;"> |
| 54 | + <span class="hidden">Google+</span> |
| 55 | + </a> |
| 56 | + </section> |
67 | 57 |
|
68 | | - {{/post}} |
| 58 | + </footer> |
69 | 59 |
|
70 | | - </article> |
| 60 | + {{/post}} |
71 | 61 |
|
| 62 | + </article> |
| 63 | + </div> |
72 | 64 | </main> |
0 commit comments