2017-08-03 18:11:41 +00:00
|
|
|
---
|
2017-08-08 19:53:28 +00:00
|
|
|
layout: default
|
|
|
|
permalink: index.html
|
|
|
|
title: Personal Homepage of foo boo
|
|
|
|
description: "Blogging on ...."
|
2017-08-03 18:11:41 +00:00
|
|
|
---
|
2017-08-08 19:53:28 +00:00
|
|
|
|
|
|
|
## [lanyon-plus](https://github.com/dyndna/lanyon-plus)
|
|
|
|
|
|
|
|
Based on Jekyll theme: [Lanyon](http://lanyon.getpoole.com) by [**Mark Otto**](https://github.com/mdo)
|
|
|
|
|
|
|
|
* add-ons by [Samir Amin](http://sbamin.com)
|
|
|
|
* [Site features]({{ site.url}}/disclosure#i-classfa-fa-thumbs-o-up-credits-for-site-featuresi)
|
|
|
|
* License: Open sourced under the [MIT license](http://sbamin.com/disclosure/#theme-major-credit--license).
|
|
|
|
|
|
|
|
Maximum four posts on front page where first two posts are featured, and remaining are date sorted.
|
|
|
|
|
|
|
|
{% if site.twitter_widget_id %}
|
|
|
|
<div class="text-tweets">
|
|
|
|
<div class="tweets">
|
|
|
|
<a class="twitter-timeline"
|
|
|
|
data-dnt="true"
|
|
|
|
width="600"
|
|
|
|
height="250"
|
|
|
|
href="https://twitter.com/{{ site.owner.twitter }}"
|
|
|
|
data-widget-id="{{ site.twitter_widget_id }}"
|
|
|
|
data-tweet-limit="2"
|
|
|
|
data-chrome="noheader nofooter noborders noscrollbar transparent">
|
|
|
|
Recent Tweets</a>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
Twitter stream will show up here if `twitter_widget_id` is present is `_config.yml`. [Demo](http://sbamin.com)
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div class="posts">
|
|
|
|
{% for post in site.categories.featured limit:2 %}
|
|
|
|
<div class="post">
|
|
|
|
<h1 class="post-title">
|
|
|
|
<a href="{{ site.url }}{{ post.url }}">
|
|
|
|
{{ post.title }}
|
|
|
|
</a>
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
{% if post.modified.size > 2 %}<span class="post-date indexpg" itemprop="dateModified" content="{{ post.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Last updated"> {{ post.modified | date_to_string }}</i> <a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons"></i></a></span>{% else %}<span class="post-date indexpg" itemprop="datePublished" content="{{ post.date | date: "%Y-%m-%d" }}"><i class="fa fa-calendar" title="Date published"> {{ post.date | date_to_string }}</i> <a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons"></i></a></span>{% endif %}
|
|
|
|
|
|
|
|
{% if post.description.size > 140 %}{{ post.description | markdownify | remove: '<p>' | remove: '</p>' }}{% else %}{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}{% endif %} <a href="{{ site.url }}{{ post.url }}" title="Read more"><strong>Read more...</strong></a>
|
|
|
|
</div>
|
|
|
|
<hr class="transp">
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="posts">
|
|
|
|
{% for post in site.posts limit:2 %}
|
|
|
|
{% unless post.category contains "featured" %}
|
|
|
|
<div class="post">
|
|
|
|
<h1 class="post-title">
|
|
|
|
<a href="{{ site.url }}{{ post.url }}">
|
|
|
|
{{ post.title }}
|
|
|
|
</a>
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
{% if post.modified.size > 2 %}<span class="post-date indexpg" itemprop="dateModified" content="{{ post.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Last updated"> {{ post.modified | date_to_string }}</i></span>{% else %}<span class="post-date indexpg" itemprop="datePublished" content="{{ post.date | date: "%Y-%m-%d" }}"><i class="fa fa-calendar" title="Date published"> {{ post.date | date_to_string }}</i></span>{% endif %}
|
|
|
|
|
|
|
|
{% if post.description.size > 140 %}{{ post.description | markdownify | remove: '<p>' | remove: '</p>' }}{% else %}{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}{% endif %} <a href="{{ site.url }}{{ post.url }}" title="Read more"><strong>Read more...</strong></a>
|
|
|
|
</div>
|
|
|
|
{% unless forloop.last %}<hr class="transp">{% endunless %}
|
|
|
|
{% endunless %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<h3 class="post-title">
|
|
|
|
<div class="pagination" style="margin: 0.5rem;">
|
|
|
|
<a class="pagination-item older" href="{{ site.url }}/blog"><i class="fa fa-edit"> Blog</i></a>
|
|
|
|
<a class="pagination-item newer" href="{{ site.url }}/tags"><i class="fa fa-tags"> Tags</i></a>
|
|
|
|
</div>
|
|
|
|
</h3>
|