mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Bootstap v4.0.0-alpha.5 \o/ compatible
I couldn't resist
This commit is contained in:
parent
9241e9a7c2
commit
b2ab9b8041
7 changed files with 99 additions and 136 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>{% block title %}| {{ SITENAME }}{% endblock %}</title>
|
||||
<link rel="canonical" href="{{ SITEURL }}/{{ output_file }}">
|
||||
|
||||
|
|
@ -47,14 +47,6 @@
|
|||
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css">
|
||||
|
||||
{% block head %}{% endblock %}
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
{% include 'include/analytics.html' %}
|
||||
</head>
|
||||
|
||||
|
|
@ -64,7 +56,9 @@
|
|||
<div class="row">
|
||||
{% if SITEIMAGE %}
|
||||
<div class="col-sm-4">
|
||||
<a href="{{ SITEURL }}"><img class="img-responsive" src={{ SITEURL }}{{ SITEIMAGE }} alt="{{ SITENAME }}"></a>
|
||||
<a href="{{ SITEURL }}">
|
||||
<img class="img-fluid rounded" src={{ SITEURL }}{{ SITEIMAGE }} alt="{{ SITENAME }}">
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="col-sm-{% if SITEIMAGE %}8{% else %}12{% endif %}">
|
||||
|
|
@ -76,21 +70,21 @@
|
|||
<hr>
|
||||
<ul class="list-inline">
|
||||
{% for title, link in LINKS %}
|
||||
<li><a href="{{ link }}" target="_blank">{{ title }}</a></li>
|
||||
<li class="list-inline-item"><a href="{{ link }}" target="_blank">{{ title }}</a></li>
|
||||
{% endfor %}
|
||||
{% if DISPLAY_PAGES_ON_MENU %}
|
||||
{% for page in PAGES %}
|
||||
{% if LINKS and loop.first %}
|
||||
<li class="text-muted">|</li>
|
||||
<li class="list-inline-item text-muted">|</li>
|
||||
{% endif %}
|
||||
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
<li class="list-inline-item"><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for icon, link in ICONS %}
|
||||
{% if (LINKS or (DISPLAY_PAGES_ON_MENU and PAGES)) and loop.first %}
|
||||
<li class="text-muted">|</li>
|
||||
<li class=" list-inline-item text-muted">|</li>
|
||||
{% endif %}
|
||||
<li><a class="fa fa-lg fa-{{ icon }}" href="{{ link }}" target="_blank"></a></li>
|
||||
<li class="list-inline-item"><a class="fa fa-lg fa-{{ icon }}" href="{{ link }}" target="_blank"></a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
|
@ -101,9 +95,8 @@
|
|||
|
||||
<div class="main">
|
||||
<div class="container">
|
||||
<div class="page-header">
|
||||
<h1>{% block page_header %}{% endblock %}</h1>
|
||||
</div>
|
||||
<h1>{% block page_header %}{% endblock %}</h1>
|
||||
<hr>
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -113,17 +106,17 @@
|
|||
<div class="row">
|
||||
<ul class="col-sm-6 list-inline">
|
||||
{% if not HIDE_AUTHORS %}
|
||||
<li><a href="{{ SITEURL }}/authors.html">Authors</a></li>
|
||||
<li class="list-inline-item"><a href="{{ SITEURL }}/authors.html">Authors</a></li>
|
||||
{% endif %}
|
||||
<li><a href="{{ SITEURL }}/archives.html">Archives</a></li>
|
||||
<li><a href="{{ SITEURL }}/categories.html">Categories</a></li>
|
||||
<li class="list-inline-item"><a href="{{ SITEURL }}/archives.html">Archives</a></li>
|
||||
<li class="list-inline-item"><a href="{{ SITEURL }}/categories.html">Categories</a></li>
|
||||
{% if tags|length %}
|
||||
<li><a href="{{ SITEURL }}/tags.html">Tags</a></li>
|
||||
<li class="list-inline-item"><a href="{{ SITEURL }}/tags.html">Tags</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
<div class="col-sm-6 hidden-xs text-right text-muted">
|
||||
<p class="col-sm-6 text-sm-right text-muted">
|
||||
Generated by <a href="https://github.com/getpelican/pelican" target="_blank">Pelican</a> using <a href="https://github.com/rwanyoike/pelican-alchemy" target="_blank">✨ alchemy</a>
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue