Reduce html files (space) tab size 4 -> 2

This commit is contained in:
Raymond Wanyoike 2014-10-28 21:37:47 +03:00
commit 288e6464bd
16 changed files with 260 additions and 260 deletions

View file

@ -1,24 +1,24 @@
{% if DISQUS_SITENAME %}
<div id="disqus_thread">
<script>
var disqus_shortname = '{{ DISQUS_SITENAME }}';
(function() {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view the
<a href="http://disqus.com/?ref_noscript={{ DISQUS_SITENAME }}">
comments powered by Disqus.
</a>
</noscript>
<a href="http://disqus.com" class="dsq-brlink">
blog comments powered by <span class="logo-disqus">Disqus</span>
</a>
</div>
<div id="disqus_thread">
<script>
var disqus_shortname = '{{ DISQUS_SITENAME }}';
(function() {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view the
<a href="http://disqus.com/?ref_noscript={{ DISQUS_SITENAME }}">
comments powered by Disqus.
</a>
</noscript>
<a href="http://disqus.com" class="dsq-brlink">
blog comments powered by <span class="logo-disqus">Disqus</span>
</a>
</div>
{% endif %}

View file

@ -1,10 +1,10 @@
<footer class="footer">
<div class="container">
<p class="text-center">
{{ AUTHOR }}, <a href="{{ LICENSE_URL}}" target="_blank">{{ LICENSE_NAME }}</a> unless otherwise noted.
</p>
<div class="text-center">
Generated by <a href="http://getpelican.com" target="_blank">Pelican</a> with the <a href="http://github.com/nairobilug/pelican-alchemy">alchemy</a> theme.
</div>
<div class="container">
<p class="text-center">
{{ AUTHOR }}, <a href="{{ LICENSE_URL}}" target="_blank">{{ LICENSE_NAME }}</a> unless otherwise noted.
</p>
<div class="text-center">
Generated by <a href="http://getpelican.com" target="_blank">Pelican</a> with the <a href="http://github.com/nairobilug/pelican-alchemy">alchemy</a> theme.
</div>
</div>
</footer> <!-- /.footer -->

View file

@ -1,17 +1,17 @@
{% if GOOGLE_ANALYTICS_ID and GOOGLE_ANALYTICS_DOMAIN %}
<script>
(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),
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');
ga('create', '{{ GOOGLE_ANALYTICS_ID }}', '{{ GOOGLE_ANALYTICS_DOMAIN }}');
ga('send', 'pageview');
</script>
<script>
(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),
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');
ga('create', '{{ GOOGLE_ANALYTICS_ID }}', '{{ GOOGLE_ANALYTICS_DOMAIN }}');
ga('send', 'pageview');
</script>
{% endif %}

View file

@ -1,49 +1,49 @@
<header class="header">
<div class="container">
{% if PROFILE_IMAGE %}
<div class="header-image pull-left">
<a class="nodec" href="{{ SITEURL }}"><img src={{ PROFILE_IMAGE }}></a>
</div>
<div class="container">
{% if PROFILE_IMAGE %}
<div class="header-image pull-left">
<a class="nodec" href="{{ SITEURL }}"><img src={{ PROFILE_IMAGE }}></a>
</div>
{% endif %}
<div class="header-inner">
<h1 class="header-name">
<a class="nodec" href="{{ SITEURL }}">{{ SITENAME }}</a>
</h1>
<h3 class="header-text">{{ SITE_SUBTEXT }}</h3>
<ul class="header-menu list-inline">
{% for title, link in MENU_ITEMS %}
<li><a class="nodec" href="{{ link }}" target="_blank">{{ title }}</a></li>
{% endfor %}
{% if PAGES_ON_MENU %}
{% for p in PAGES %}
{% if loop.first %}
<li class="muted">|</li>
{% endif %}
<li><a class="nodec" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% if loop.last %}
<li class="muted">|</li>
{% endif %}
{% endfor %}
{% endif %}
<div class="header-inner">
<h1 class="header-name">
<a class="nodec" href="{{ SITEURL }}">{{ SITENAME }}</a>
</h1>
<h3 class="header-text">{{ SITE_SUBTEXT }}</h3>
<ul class="header-menu list-inline">
{% for title, link in MENU_ITEMS %}
<li><a class="nodec" href="{{ link }}" target="_blank">{{ title }}</a></li>
{% endfor %}
{% if PAGES_ON_MENU %}
{% for p in PAGES %}
{% if loop.first %}
<li class="muted">|</li>
{% endif %}
<li><a class="nodec" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% if loop.last %}
<li class="muted">|</li>
{% endif %}
{% endfor %}
{% endif %}
{% if EMAIL_ADDRESS %}
<li><a class="nodec icon-mail-alt" href="mailto:{{ EMAIL_ADDRESS }}"></a></li>
{% endif %}
{% if GITHUB_ADDRESS %}
<li><a class="nodec icon-github" href="{{ GITHUB_ADDRESS }}"></a></li>
{% endif %}
{% if SO_ADDRESS %}
<li><a class="nodec icon-stackoverflow" href="{{ SO_ADDRESS }}"></a></li>
{% endif %}
{% if TWITTER_ADDRESS %}
<li><a class="nodec icon-twitter" href="{{ TWITTER_ADDRESS }}"></a></li>
{% endif %}
{% if FB_ADDRESS %}
<li><a class="nodec icon-facebook" href="{{ FB_ADDRESS }}"></a></li>
{% endif %}
{% if FEED_ATOM or FEED_RSS %}
<li><a class="nodec icon-rss" href="/{% if FEED_ATOM %}{{ FEED_ATOM }}{% else %}{{ FEED_RSS }}{% endif %}"></a></li>
{% endif %}
</ul>
</div>
{% if EMAIL_ADDRESS %}
<li><a class="nodec icon-mail-alt" href="mailto:{{ EMAIL_ADDRESS }}"></a></li>
{% endif %}
{% if GITHUB_ADDRESS %}
<li><a class="nodec icon-github" href="{{ GITHUB_ADDRESS }}"></a></li>
{% endif %}
{% if SO_ADDRESS %}
<li><a class="nodec icon-stackoverflow" href="{{ SO_ADDRESS }}"></a></li>
{% endif %}
{% if TWITTER_ADDRESS %}
<li><a class="nodec icon-twitter" href="{{ TWITTER_ADDRESS }}"></a></li>
{% endif %}
{% if FB_ADDRESS %}
<li><a class="nodec icon-facebook" href="{{ FB_ADDRESS }}"></a></li>
{% endif %}
{% if FEED_ATOM or FEED_RSS %}
<li><a class="nodec icon-rss" href="/{% if FEED_ATOM %}{{ FEED_ATOM }}{% else %}{{ FEED_RSS }}{% endif %}"></a></li>
{% endif %}
</ul>
</div>
</div>
</header> <!-- /.header -->

View file

@ -1,11 +1,11 @@
{% if DEFAULT_PAGINATION %}
<ul class="pagination">
{% if articles_page.has_previous() %}
<li><a href="{{ SITEURL }}/{{ articles_previous_page.url }}">&laquo;</a></li>
{% endif %}
<li class="disabled"><a href="#">Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}</a></li>
{% if articles_page.has_next() %}
<li><a href="{{ SITEURL }}/{{ articles_next_page.url }}">&raquo;</a></li>
{% endif %}
</ul>
<ul class="pagination">
{% if articles_page.has_previous() %}
<li><a href="{{ SITEURL }}/{{ articles_previous_page.url }}">&laquo;</a></li>
{% endif %}
<li class="disabled"><a href="#">Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}</a></li>
{% if articles_page.has_next() %}
<li><a href="{{ SITEURL }}/{{ articles_next_page.url }}">&raquo;</a></li>
{% endif %}
</ul>
{% endif %}