Update for uikit3 and add links to projects.

master
Sam Black 5 years ago
parent 031d798c6e
commit 46046f84f1
Signed by: samwwwblack
GPG Key ID: 0FF0223994EA47D8
  1. 6
      templates/_footer.html
  2. 36
      templates/index.html

@ -1,7 +1,7 @@
<footer>
<hr>
<hr class="uk-margin-remove">
<footer class="uk-container uk-margin">
<p>
<a href="/legal.html">
<a href="/legal.html" rel="copyright">
<img alt="Creative Commons Licence" src="/img/cc-by-sa.png" />
{{ site_name }} &copy; Copyright 2012-{{ current_year }} Sam Black
</a>

@ -1,9 +1,15 @@
{% extends "_base.html" %}
{% set projects = (
("Vowel", "Virtual Online Workspace for Education and Learning.", "https://code.lapwing.org/vowel/vowel"),
("Sponson", "Sponson is a tool to create and setup systemd-nspawn containers in a Docker-like way, without using Docker.",
"https://code.lapwing.org/devops/sponson"),
) %}
{% block page_content %}
<div class="container">
<div class="jumbotron">
<h1 class="lapwing">{{ site_name }}</h1>
<blockquote class="blockquote-reverse">
<div class="uk-section uk-section-primary">
<div class="uk-container">
<h1 class="uk-heading-hero uk-visible@m lapwing">{{ site_name }}</h1>
<blockquote class="uk-margin-medium-left uk-margin-medium-right">
We are all agreed that your theory is crazy.<br />
The question that divides us is whether it is crazy enough
to have a chance of being correct.
@ -11,4 +17,26 @@
</blockquote>
</div>
</div>
<div class="uk-container uk-margin">
<div class="uk-child-width-expand@m uk-grid-match uk-grid-margin-small" data-uk-grid>
{% for title, text, link in projects %}
<div>
<div class="uk-card uk-card-default">
<div class="uk-card-header">
<h3 class="uk-card-title">{{ title }}</h3>
</div>
<div class="uk-card-body uk-height-small">
<p>
{{ text }}
</p>
</div>
<div class="uk-card-footer">
<a href="{{ link }}" class="uk-button uk-button-text uk-float-right">Read more</a>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endblock %}

Loading…
Cancel
Save