1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-11-09 13:16:45 +00:00

Reindented layout HTML.

This commit is contained in:
Markus Birth 2015-02-20 14:26:56 +01:00
parent b30f0b5f58
commit 479aa0bab5

View File

@ -1,6 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset='utf-8'> <meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta http-equiv="X-UA-Compatible" content="chrome=1">
@ -13,63 +13,62 @@
<script src="{{ site.url }}/bower_components/jquery/dist/jquery.min.js" type="text/javascript"></script> <script src="{{ site.url }}/bower_components/jquery/dist/jquery.min.js" type="text/javascript"></script>
{% if page.toc %} {% if page.toc %}
<script src="{{ site.url }}/bower_components/jquery.toc/jquery.toc.js" type="text/javascript"></script> <script src="{{ site.url }}/bower_components/jquery.toc/jquery.toc.js" type="text/javascript"></script>
{% endif %} {% endif %}
<script src="{{ site.url }}/javascripts/gcse.js" type="text/javascript"></script> <script src="{{ site.url }}/javascripts/gcse.js" type="text/javascript"></script>
</head> </head>
<body>
<body>
<header> <header>
<div class="container"> <div class="container">
<div id="headerleft"> <div id="headerleft">
<h1>{{ site.name }}</h1> <h1>{{ site.name }}</h1>
<h2>{{ site.description }}</h2> <h2>{{ site.description }}</h2>
<section id="downloads"> <section id="downloads">
<a href="https://plus.google.com/+MarkusBirth/about" rel="author" class="btn">Find me on Google+</a> <a href="https://plus.google.com/+MarkusBirth/about" rel="author" class="btn">Find me on Google+</a>
<a href="https://github.com/mbirth/wiki" class="btn btn-github"><span class="icon"></span>View on GitHub</a> <a href="https://github.com/mbirth/wiki" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
</section> </section>
</div>
<div id="headerright">
<gcse:search></gcse:search>
</div>
</div> </div>
<div id="headerright">
<gcse:search></gcse:search>
</div>
</div>
</header> </header>
<div class="container"> <div class="container">
<article itemscope itemtype="http://schema.org/Article"> <article itemscope itemtype="http://schema.org/Article">
<h1 id="pagetitle" itemprop="name">{{ page.title }}</h1> <h1 id="pagetitle" itemprop="name">{{ page.title }}</h1>
<section id="main_content" itemprop="articleBody"> <section id="main_content" itemprop="articleBody">
{% if page.toc %} {% if page.toc %}
<ul data-toc="#main_content"></ul> <ul data-toc="#main_content"></ul>
{% endif %}
{{ content }}
</section>
</article>
<section id="comments">
<script src="//apis.google.com/js/plusone.js" type="text/javascript"></script>
<div class="g-comments" data-href="{{ site.url }}{{ page.url }}" data-width="900" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ comments...</div>
</section>
{% if site.related_posts %}
<section id="related">
<ul>
{% for relpost in site.related_posts %}
<li><a href="{{ relpost.url }}">{{ relpost.title }}</a>></li>
{% endfor %}
</ul>
</section>
{% endif %} {% endif %}
{{ content }}
</section>
</article>
<section id="comments">
<script src="//apis.google.com/js/plusone.js" type="text/javascript"></script>
<div class="g-comments" data-href="{{ site.url }}{{ page.url }}" data-width="900" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ comments...</div>
</section>
{% if site.related_posts %}
<section id="related">
<ul>
{% for relpost in site.related_posts %}
<li><a href="{{ relpost.url }}">{{ relpost.title }}</a>></li>
{% endfor %}
</ul>
</section>
{% endif %}
</div> </div>
<!-- BEGIN: Google Analytics --> <!-- BEGIN: Google Analytics -->
<script> <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-259868-12', 'auto'); ga('create', 'UA-259868-12', 'auto');
ga('send', 'pageview'); ga('send', 'pageview');
</script> </script>
<!-- END: Google Analytics --> <!-- END: Google Analytics -->
</body> </body>
</html> </html>