nicolabs.net/index.html
nicobo 98bb4dfa1b - added a link to the post's commit history on its dates
- tags sorting is now case-insensitive
- documented `--livereload` option in `README.md`
2019-04-27 15:05:21 +02:00

56 lines
2.3 KiB
HTML

---
layout: default
title: Home
---
{% include intro.html %}
<section class="post-list">
<div class="container container-n">
<h2>Latest articles...</h2>
{% for post in paginator.posts %}
<article class="post-item">
<p><time class="post-meta datePublished" datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%b %-d, %Y" }}</time><strong><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></strong><br />
<span> {{ post.content | strip_html | truncatewords: 40 }}</span> <a class="post-link readmore" href="{{ post.url | prepend: site.baseurl }}">Read more</a></p>
</article>
{% endfor %}
</div>
<div class="container">
{% include pagination.html %}
</div>
<!-- Mastodon toots -->
<link rel="stylesheet" href="/assets/mastodon-timeline-widget/mastodon.widget.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/solid.css" integrity="sha384-osqezT+30O6N/vsMqwW8Ch6wKlMofqueuia2H7fePy42uC05rm1G+BUPSd2iBSJL" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/fontawesome.css" integrity="sha384-BzCy2fixOYd0HObpx3GMefNqdbA7Qjcc91RgYeDjrHTIEXqiF00jKvgQG0+zY/7I" crossorigin="anonymous">
<div id="myTimeline" class="container mastodon-timeline mastodon-timeline-light"></div>
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script type="text/javascript" src="/assets/mastodon-timeline-widget/mastodon.widget.js"></script>
<script>
$(document).ready(function() {
/* jQUERY is required! */
var mapi = new MastodonApi({
target_selector : '#myTimeline'
,instance_uri : '{{ site.author.mastodon.instance }}'
,access_token : '84e7ac154c450bc9d0d68e52d94171556af38423e2eed4357dead21532fe30e1'
,account_id : '566645'
/* === optional parameters === */
,toots_limit : 5
/* samples below require http://fontawesome.io */
/* ,pic_icon : '<i class="fa fa-picture-o"></i>' */
,boosts_count_icon : '<i class="fa fa-retweet"></i>'
,favourites_count_icon : '<i class="fa fa-star"></i>'
});
});
</script>
</section>