aboutsummaryrefslogtreecommitdiffstats
path: root/coding-now/templates
diff options
context:
space:
mode:
Diffstat (limited to 'coding-now/templates')
-rw-r--r--coding-now/templates/_includes/footer.html7
-rw-r--r--coding-now/templates/_includes/header.html10
-rw-r--r--coding-now/templates/archives.html25
-rw-r--r--coding-now/templates/article.html41
-rw-r--r--coding-now/templates/base.html58
-rw-r--r--coding-now/templates/categories.html24
-rw-r--r--coding-now/templates/category.html23
-rw-r--r--coding-now/templates/index.html44
-rw-r--r--coding-now/templates/page.html37
-rw-r--r--coding-now/templates/tag.html24
-rw-r--r--coding-now/templates/tags.html18
11 files changed, 0 insertions, 311 deletions
diff --git a/coding-now/templates/_includes/footer.html b/coding-now/templates/_includes/footer.html
deleted file mode 100644
index c2305e5..0000000
--- a/coding-now/templates/_includes/footer.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<footer class="footer">
- &copy <a href="{{ SITEURL }}/" >{{ AUTHOR }}</a>. 2016
- <br/>
- Powered by <a href="http://getpelican.com/">pelican</a>.
- Theme by <a href="http://github.com/liyuan-t/coding-now">coding-now</a>
- <br/>
-</footer>
diff --git a/coding-now/templates/_includes/header.html b/coding-now/templates/_includes/header.html
deleted file mode 100644
index 1334a16..0000000
--- a/coding-now/templates/_includes/header.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<section class="header">
- <div class="circular" style="background: url({{ HEADER }} ) no-repeat; background-position: center;"></div>
- <h2 class="title">{{ SITENAME }}</h2>
- <h4 class="subtitle">{{ SITEDESCRIPTION }}</h4>
- {% for title,url in SOCIAL %}
- <a href="{{ url }}">
- <img class="social-icon" src="{{ SITEURL }}/theme/images/{{ title }}-128.png" style="width: 64px;">
- </a>
- {% endfor %}
-</section>
diff --git a/coding-now/templates/archives.html b/coding-now/templates/archives.html
deleted file mode 100644
index fec9086..0000000
--- a/coding-now/templates/archives.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% extends 'base.html' %}
-
-{% block title %} {{ SITENAME }} - Archives {% endblock %}
-
-{% block container %}
- <section id="content">
- <header class="header">
- <h2 class="blogpost-title">Archives</h2>
- </header>
- <dl>
- {% for article in dates %}
- <dt>{{ article.locale_date }}</dt>
- <dd>
-
- <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
- </dd>
- {% endfor %}
- </dl>
- </section>
- <br/><br/><br/>
-{% endblock %}
-
-{% block footer %}
- {% include '_includes/footer.html' %}
-{% endblock %} \ No newline at end of file
diff --git a/coding-now/templates/article.html b/coding-now/templates/article.html
deleted file mode 100644
index 909ed24..0000000
--- a/coding-now/templates/article.html
+++ /dev/null
@@ -1,41 +0,0 @@
-{% extends 'base.html' %}
-
-{% block title %} {{ article.title|striptags }}{% endblock title %}
-
-{% block container %}
- <section id="content">
- <article>
- <p class="article-date">
- {{ article.date }}
- </p>
- <header class="header">
- <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title }}">
- <h2 class="blogpost-title">
- {{ article.title }}
- </h2>
- </a>
- </header>
- <div>
- {{ article.content }}
- </div>
- <div class="article-info">
- <hr/>
- <div class="article-info">
- <span><b>Category: </b><a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></span>
- <br/>
- <span><b>Publication Date: </b> {{ article.locale_date }} </span>
- <br/>
- {% for tag in article.tags %}
- <a class="label-default" href="{{ SITEURL }}/{{ tag.url }}">{{ tag.name }}</a>
- {% endfor %}
- <br/>
- </div>
- </div>
- </article>
- <br/><br/><br/>
- </section>
-{% endblock container %}
-
-{% block footer %}
- {% include '_includes/footer.html' %}
-{% endblock %} \ No newline at end of file
diff --git a/coding-now/templates/base.html b/coding-now/templates/base.html
deleted file mode 100644
index a20bf63..0000000
--- a/coding-now/templates/base.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <title>{% block title %} {{ SITENAME }}{% endblock %}</title>
-
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <meta name="description" content="{{ SITEDESCRIPTION }}">
- <meta name="author" content="{{ AUTHOR }}">
-
- <link href="{{ SITEURL }}/theme/css/fonts.css" rel="stylesheet" />
-
- <link href="{{ SITEURL }}/theme/css/normalize.css" rel="stylesheet"/>
- <link href="{{ SITEURL }}/theme/css/skeleton.css" rel="stylesheet"/>
- <link href="{{ SITEURL }}/theme/css/github-prettify-theme.css" rel="stylesheet"/>
- <link href="{{ SITEURL }}/theme/css/custom.css" rel="stylesheet"/>
- <link href="{{ SITEURL }}/theme/css/pygement.css" rel="stylesheet"/>
-
- <script src="{{ SITEURL }}/theme/js/jquery.min.js"></script>
- <script src="{{ SITEURL }}/theme/js/run_prettify.js"></script>
- <script src="{{ SITEURL }}/theme/js/site.js"></script>
-</head>
-<body class="code-snippets-visible">
-
-<div class="navbar-spacer"></div>
-<nav class="navbar">
- <div class="container">
- <ul class="navbar-list">
- <li class="navbar-item">
- <a class="navbar-link" href="{{ SITEURL }}/">
- HOME
- </a>
- </li>
- {% for page in pages|sort %}
- <li class="navbar-item">
- <a class="navbar-link" href="{{ SITEURL }}/{{ page.url }}">
- {{ page.title }}
- </a>
- </li>
- {% endfor %}
- </ul>
- <div class="navbar-link">
- <a href="{{ SITEURL }}/"><img src="{{ SITEURL }}/{{ SITEICON }}" class="site-icon"/></a>
- </div>
- </div>
-</nav>
-<div class="container">
- {% block container %}
- {% endblock %}
-</div>
-
-{% block footer %}
-{% endblock %}
-</body>
-</html>
diff --git a/coding-now/templates/categories.html b/coding-now/templates/categories.html
deleted file mode 100644
index 26396bb..0000000
--- a/coding-now/templates/categories.html
+++ /dev/null
@@ -1,24 +0,0 @@
-{% extends 'base.html' %}
-
-{% block title %} {{ SITENAME }} - Categories {% endblock %}
-
-{% block container %}
- <section id="content">
- <header class="header">
- <h2 class="blogpost-title">Categories</h2>
- </header>
- <dl>
- {% for category, articles in categories %}
- <dd>
- <a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a>({{ articles|count }})
- </dd>
- {% endfor %}
- </dl>
- </section>
- <br/><br/><br/>
-
-{% endblock %}
-
-{% block footer %}
- {% include '_includes/footer.html' %}
-{% endblock %} \ No newline at end of file
diff --git a/coding-now/templates/category.html b/coding-now/templates/category.html
deleted file mode 100644
index e5e601a..0000000
--- a/coding-now/templates/category.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{% extends 'base.html' %}
-
-{% block title %} {{ SITENAME }} - {{ category }} {% endblock %}
-
-{% block container %}
- <section id="content">
- <header class="header">
- <h2>{{ category }}</h2>
- </header>
- <dl>
- <h3>{{ category }}</h3>
- {% for article in articles|sort %}
- <dd>
- <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
- </dd>
- {% endfor %}
- </dl>
- </section>
-{% endblock %}
-
-{% block footer %}
- {% include '_includes/footer.html' %}
-{% endblock %} \ No newline at end of file
diff --git a/coding-now/templates/index.html b/coding-now/templates/index.html
deleted file mode 100644
index f388bae..0000000
--- a/coding-now/templates/index.html
+++ /dev/null
@@ -1,44 +0,0 @@
-{% extends 'base.html' %}
-
-{% block container %}
- <section class="header">
- {% include '_includes/header.html' %}
- </section>
-
- <section class="home-section">
- <h2 class="home-header">
- Recent blog posts
- </h2>
- <div>
- {% for article in articles[0:3] %}
- <div class="home-post">
- <p class="blogpost-date" style="float: right;">{{ article.locale_date }}</p>
- <h5><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h5>
- <p>
- <p>{{ article.summary }}</p>
- </div>
- <div class="row">
- <a class="button button-primary button-more" href="{{ SITEURL }}/{{ article.url }}">More...</a>
- </div>
- {% endfor %}
- </div>
- </section>
- <br/><br/><br/>
- <section class="home-section">
- <div class="row">
- <div class="">
- <h2 class="blogpost-title">Links</h2>
- <div class="home-post">
- {% for title,url in LINKS %}
- <a href="{{ url }}" target="_blank">{{ title }}</a>&nbsp; &nbsp;
- {% endfor %}
- </div>
- </div>
- </div>
- </section>
-{% endblock %}
-
-
-{% block footer %}
- {% include '_includes/footer.html' %}
-{% endblock %}
diff --git a/coding-now/templates/page.html b/coding-now/templates/page.html
deleted file mode 100644
index 6a159e5..0000000
--- a/coding-now/templates/page.html
+++ /dev/null
@@ -1,37 +0,0 @@
-{% extends 'base.html' %}
-
-{% block title %}{{ SITENAME }} - {{ page.title }} {% endblock %}
-
-{% block container %}
- {% if page.title == 'blog' %}
- <section id="content">
- <header class="header">
- <h2 class="blogpost-title">Articles in {{ AUTHOR }}'s blog</h2>
- </header>
- <dl>
- {% for category,articles in categories %}
- <h3>
- {{ category }}
- </h3>
- {% for article in articles %}
- <dd>
- <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
- </dd>
- {% endfor %}
- {% endfor %}
- </dl>
- </section>
- <br/><br/><br/>
- {% else %}
- <section id="content">
- <header class="header">
- <h2 class="blogpost-title">{{ page.title }}</h2>
- </header>
- {{ page.content }}
- </section>
- {% endif %}
-{% endblock %}
-
-{% block footer %}
- {% include '_includes/footer.html' %}
-{% endblock %}
diff --git a/coding-now/templates/tag.html b/coding-now/templates/tag.html
deleted file mode 100644
index 0131849..0000000
--- a/coding-now/templates/tag.html
+++ /dev/null
@@ -1,24 +0,0 @@
-{% extends 'base.html' %}
-
-{% block title %} {{ SITENAME }} - {{ tag }} {% endblock %}
-
-{% block container %}
- <section id="content">
- <header class="header">
- <h2 class="blogpost-title">Articles - {{ tag }}</h2>
- </header>
- <dl>
- <h3>{{ tag }}</h3>
- {% for article in articles|sort %}
-
- <dd>
- <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
- </dd>
- {% endfor %}
- </dl>
- </section>
-{% endblock %}
-
-{% block footer %}
- {% include '_includes/footer.html' %}
-{% endblock %} \ No newline at end of file
diff --git a/coding-now/templates/tags.html b/coding-now/templates/tags.html
deleted file mode 100644
index cbfd61f..0000000
--- a/coding-now/templates/tags.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends 'base.html' %}
-{% block title %} {{ SITENAME }} - Tags {% endblock %}
-
-{% block container %}
-
- <section id="tags">
- <header class="header">
- {% for tag,articles in tags|sort %}
- <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>({{ articles|count }})
- {% endfor %}
- </header>
- </section><br/><br/><br/>
-
-{% endblock %}
-
-{% block footer %}
- {% include '_includes/footer.html' %}
-{% endblock %} \ No newline at end of file