post.html (3403B)
1 --- 2 layout: default 3 --- 4 5 <!-- Post Header --> 6 <header id="header" class="intro-header bg-primary text-center" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')"> 7 <div class="container"> 8 <div class="row"> 9 <div class="col"> 10 <div class="post-heading"> 11 <h1>{{ page.title }}</h1> 12 {% if page.subtitle %} 13 <h2 class="subheading">{{ page.subtitle }}</h2> 14 {% endif %} 15 <p class="meta">Posted by {% if page.author %}{{ page.author }}{% else %}{{ site.title }}{% endif %} on {{ page.date | date: "%B %-d, %Y" }}</p> 16 <a href="#post" class="page-scroll"><i class="fa fa-fw fa-2x fa-arrow-down"></i></a> 17 </div> 18 </div> 19 </div> 20 </div> 21 </header> 22 <hr> 23 <!-- Post Content --> 24 <article> 25 <div id="post" class="container"> 26 <div class="row"> 27 <div class="col"> 28 <hr> 29 30 {{ content }} 31 32 <hr> 33 34 <ul class="pager"> 35 {% if page.previous.url %} 36 <li class="previous"> 37 <a href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">← Previous Post</a> 38 </li> 39 {% endif %} 40 {% if page.next.url %} 41 <li class="next"> 42 <a href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post →</a> 43 </li> 44 {% endif %} 45 </ul> 46 47 </div> 48 </div> 49 </div> 50 </article> 51 52 <hr> 53 54 {% if site.disqus_account %} 55 <article> 56 <div id="disqus" class="container"> 57 <div class="row"> 58 <div class="col-xl-8 col-xl-offset-2 col-lg-10 col-lg-offset-1"> 59 60 <h2 class="section-heading">Leave a comment! We <i style="color:red"class="fa fa-heart"></i> it!</h2> 61 62 <script id="dsq-count-scr" src="//{{ site.disqus_account }}.disqus.com/count.js" async></script> 63 64 65 <div id="disqus_thread"></div> 66 <script> 67 68 /** 69 * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS. 70 * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/ 71 /* 72 var disqus_config = function () { 73 this.page.url = {{ post.url | prepend: site.baseurl }}; // Replace PAGE_URL with your page's canonical URL variable 74 this.page.identifier = {{ post.title | prepend: site.baseurl }};; // Replace PAGE_IDENTIFIER with your page's unique identifier variable 75 }; 76 */ 77 78 (function() { // DON'T EDIT BELOW THIS LINE 79 var d = document, s = d.createElement('script'); 80 s.src = '//{{ site.disqus_account }}.disqus.com/embed.js'; 81 s.setAttribute('data-timestamp', +new Date()); 82 (d.head || d.body).appendChild(s); 83 })(); 84 </script> 85 <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> 86 87 </div> 88 </div> 89 </div> 90 </article> 91 92 <hr> 93 94 95 {% endif %}