diff options
author | HombreLaser <sebastian-440@live.com> | 2023-08-27 02:40:08 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-08-27 02:40:08 -0600 |
commit | ac6772f292a83217e10e38ba853c76b5666133e0 (patch) | |
tree | d0d4eb27d9482dc275d75f48a2ca029d825e52a6 /_layouts |
Commit inicial
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 14 | ||||
-rw-r--r-- | _layouts/post.html | 47 |
2 files changed, 61 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..4b5826b --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,14 @@ +{% include header.html %} + +<div class="container container-left"> + <div class="row"> + <div class="col-md-3 hidden-xs"> + {% include sidebar.html %} + </div> + <div class="col-md-9"> + {{ content }} + </div> + </div> +</div> + +{% include footer.html %} diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..7b6f8a7 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,47 @@ +{% include header.html %} + +<div class="container container-left"> + <div class="row"> + <div class="col-md-3 hidden-xs"> + {% include sidebar.html %} + </div> + <div class="col-md-9"> + <div class="article"> + <div class="well"> + <h1><a href="{{ site.baseurl}}{{ page.url }}">{{ page.date | date: "%b %-d, %Y" }} - {{ page.title }}</a></h1> + {% if site.comments and page.comments %} + {% if site.disqus != '' %} + <p class="author"><a href="#disqus_thread" data-disqus-identifier="{{ page.url | slugify }}">Comments</a></p> + {% elsif site.isso != '' %} + <p class="author"><a href="{{ site.baseurl }}{{ page.url }}{{ site.isso_suffix }}#isso-thread">Comments</a></p> + {% endif %} + {% endif %} + <div class="post-content"> + {{ content }} + </div> + {% if page.comments %} + {% if site.disqus != '' %} + <div id="disqus_thread"> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> + </div> + {% elsif site.isso != '' %} + <section id="isso-thread"></section> + {% endif %} + {% endif %} + </div> + </div> + <div class="pagination"> + {% if page.next %} + <a class="btn btn-default" href="{{ site.baseurl}}{{ page.next.url }}" class="next">Newer Post</a> + {% endif %} + {% if page.previous %} + <a class="btn btn-default" href="{{ site.baseurl}}{{ page.previous.url }}" class="previous">Older Post</a> + {% endif %} + </div> + </div> + </div> +</div> + +{% include disqus-comments.html %} +{% include footer.html %} |