summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/base.njk4
-rw-r--r--_includes/blog-list.njk6
2 files changed, 8 insertions, 2 deletions
diff --git a/_includes/base.njk b/_includes/base.njk
index 6362473..0af1675 100644
--- a/_includes/base.njk
+++ b/_includes/base.njk
@@ -37,8 +37,7 @@
<footer>
<div class="social">
{%- for s in site.footerLinks -%}
- <a no-transition href="{{ s.href }}" class="tooltip" target="_blank">{{ s.name }}<span class="tooltiptext">{{
- s.tooltip }}</span></a>
+ <a no-transition href="{{ s.href }}" target="_blank" class="morph" data-alt="{{ s.tooltip }}">{{ s.name }}</a>
{%- endfor -%}
</div>
</footer>
@@ -72,6 +71,7 @@
</defs>
</svg>
<script src="{{ " /assets/js/transitions.js" | url}}"></script>
+ <script src="{{ " /assets/js/morph.js" | url}}"></script>
</body>
</html>
diff --git a/_includes/blog-list.njk b/_includes/blog-list.njk
new file mode 100644
index 0000000..8c1a6ed
--- /dev/null
+++ b/_includes/blog-list.njk
@@ -0,0 +1,6 @@
+<div> {% for post in collections.blog | reverse %}
+ <a href="{{ post.url }}" class="blogpost">
+ <h3>{{ post.data.title }}</h3>
+ <small>{{ post.date | date }}<span style="float:right;">{{ post.data.keywords }} | {{ post.url }}</span></small>
+ </a><br> {% endfor %}
+</div>