mirror of
https://github.com/safing/web
synced 2025-04-23 20:39:09 +00:00
Remove the blog
This commit is contained in:
parent
f4fc8530a6
commit
d668d681c2
5 changed files with 0 additions and 176 deletions
|
@ -1,7 +1,3 @@
|
|||
# Welcome to Jekyll!
|
||||
#
|
||||
# This config file is meant for settings that affect your whole blog, values
|
||||
# which you are expected to set up once and rarely need to edit after that.
|
||||
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||
# 'jekyll serve'. If you change this file, please restart the server process.
|
||||
|
||||
|
@ -24,8 +20,6 @@ github_username: Safing
|
|||
markdown: kramdown
|
||||
highlightjs_theme: "monokai_sublime"
|
||||
|
||||
paginate: 10
|
||||
paginate_path: "blog/page:num"
|
||||
excerpt_separator: "<!--break-->"
|
||||
inter_post_navigation: false
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
title: Re-Launched.
|
||||
tags: wohoo
|
||||
---
|
||||
We have relaunched this website!
|
||||
|
||||
Re-launching the blog is a bit of a work in progress ;)
|
|
@ -1,34 +0,0 @@
|
|||
---
|
||||
layout: page_column
|
||||
title: "Blog"
|
||||
heading: "Blog"
|
||||
subheading: "sorted by date"
|
||||
---
|
||||
|
||||
<div class="padding-top-40 padding-bottom-80">
|
||||
<table class="post-list table table-condensed">
|
||||
{% for post in site.posts %}
|
||||
{% assign postyear = post.date | date: "%Y" %}
|
||||
<tr class="post">
|
||||
{% ifchanged postyear %}
|
||||
<td class="no-border">
|
||||
<h2 class="padding-top-20">{{ postyear }}</h2>
|
||||
</td>
|
||||
<td class="no-border"></td>
|
||||
<td class="no-border"></td>
|
||||
</tr>
|
||||
<tr class="post no-border">
|
||||
{% endifchanged %}
|
||||
<td><a href="{{ site.base_url }}{{ post.url | replace_first: '/', '' }}" class="stealth-href">{{ post.title }}</a></td>
|
||||
<td>
|
||||
<span class="tags">
|
||||
{% for tag in post.tags %}
|
||||
<a href="{{ site.base_url }}blog/tags/#{{ tag }}" class="stealth-href"><i class="fa fa-tag fa-flip-horizontal"></i> {{ tag }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-right">{{ post.date | date: "%-d %b %Y" }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
|
@ -1,87 +0,0 @@
|
|||
---
|
||||
layout: page_column
|
||||
title: "Blog"
|
||||
heading: "Blog"
|
||||
subheading: "Announcements and things we'd like to share"
|
||||
---
|
||||
|
||||
<p style="text-align: center; margin-top: -40px;">For announcements, please check <a href="/blog/tags/#announcement">here</a>.</p>
|
||||
|
||||
<div class="post-list">
|
||||
{% for post in site.posts limit:10 %}
|
||||
{% unless post.tags contains "announcement" %}
|
||||
<div class="post">
|
||||
{% include page_divider.html %}
|
||||
|
||||
<h3 class="padding-top-20"><a href="{{ site.base_url }}{{ post.url | replace_first: '/', '' }}" class="stealth-href">{{ post.title }}</a></h3>
|
||||
<div class="date">
|
||||
<a href="{{ site.base_url }}blog/all/#{{ post.date | date: "%Y" }}" class="stealth-href">{{ post.date | date: "%-d %b %Y" }}</a>
|
||||
</div>
|
||||
<div class="tags">
|
||||
{% for tag in post.tags %}
|
||||
<a href="{{ site.base_url }}blog/tags/#{{ tag }}" class="stealth-href"><i class="fa fa-tag fa-flip-horizontal"></i> {{ tag }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="content padding-top-20">
|
||||
{{ post.excerpt }}
|
||||
|
||||
{% capture content_words %}
|
||||
{{ post.content | number_of_words }}
|
||||
{% endcapture %}
|
||||
{% capture excerpt_words %}
|
||||
{{ post.excerpt | number_of_words }}
|
||||
{% endcapture %}
|
||||
{% if excerpt_words != content_words %}
|
||||
<p>
|
||||
<a href="{{ site.base_url }}{{ post.url | replace_first: '/', '' }}#continue" class="pull-right">continue reading <i class="fa fa-arrow-right main-color-l1"></i></a>
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<nav class="pagination" role="navigation">
|
||||
<p>
|
||||
{% if paginator.next_page %}
|
||||
<a class="newer-posts" href="{{ site.base_url }}blog/page{{paginator.next_page}}">
|
||||
<span class="fa-stack fa-lg">
|
||||
<i class="fa fa-square fa-stack-2x"></i>
|
||||
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
</a>
|
||||
{% else %}
|
||||
<span class="fa-stack fa-lg">
|
||||
<i class="fa fa-square fa-stack-2x"></i>
|
||||
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
<span class="page-number">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
|
||||
{% if paginator.previous_page %}
|
||||
{% if paginator.page == 2 %}
|
||||
<a class="newer-posts" href="{% if site.base_url %}{{ site.base_url }}{% endif %}/">
|
||||
<span class="fa-stack fa-lg">
|
||||
<i class="fa fa-square fa-stack-2x"></i>
|
||||
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
</a>
|
||||
{% else %}
|
||||
<a class="newer-posts" href="{{ site.base_url }}blog/page{{paginator.previous_page}}">
|
||||
<span class="fa-stack fa-lg">
|
||||
<i class="fa fa-square fa-stack-2x"></i>
|
||||
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<span class="fa-stack fa-lg">
|
||||
<i class="fa fa-square fa-stack-2x"></i>
|
||||
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
{% endif %}
|
||||
</p>
|
||||
</nav>
|
|
@ -1,42 +0,0 @@
|
|||
---
|
||||
layout: page_column
|
||||
title: "Blog"
|
||||
heading: "Blog"
|
||||
subheading: "sorted by tags"
|
||||
---
|
||||
|
||||
|
||||
<div class="padding-top-40 padding-bottom-80">
|
||||
<table class="post-list table table-condensed">
|
||||
{% for tag in site.tags %}
|
||||
{% assign t = tag | first %}
|
||||
{% assign posts = tag | last %}
|
||||
|
||||
{% for post in posts %}
|
||||
{% if post.tags contains t %}
|
||||
<tr class="post">
|
||||
{% ifchanged t %}
|
||||
<a name="{{ t }}">
|
||||
<td class="no-border">
|
||||
<h2 class="padding-top-20"><i class="fa fa-tag fa-flip-horizontal"></i> {{ t }}</h2>
|
||||
</td>
|
||||
<td class="no-border"></td>
|
||||
<td class="no-border"></td>
|
||||
</tr>
|
||||
<tr class="post no-border">
|
||||
{% endifchanged %}
|
||||
<td><a href="{{ site.base_url }}{{ post.url | replace_first: '/', '' }}" class="stealth-href">{{ post.title }}</a></td>
|
||||
<td>
|
||||
<span class="tags">
|
||||
{% for tag in post.tags %}
|
||||
<a href="#{{ tag }}" class="stealth-href"><i class="fa fa-tag fa-flip-horizontal"></i> {{ tag }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-right"><a href="{{ site.base_url }}blog/all/#{{ post.date | date: "%Y" }}" class="stealth-href">{{ post.date | date: "%-d %b %Y" }}</a></td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
Loading…
Add table
Reference in a new issue