aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SOB/License.txt13
-rw-r--r--SOB/README.md18
-rw-r--r--SOB/static/css/main.css471
-rw-r--r--SOB/static/images/icons/delicious.pngbin0 -> 958 bytes
-rw-r--r--SOB/static/images/icons/github.pngbin0 -> 346 bytes
-rw-r--r--SOB/static/images/icons/gitorious.pngbin0 -> 227 bytes
-rw-r--r--SOB/static/images/icons/gittip.pngbin0 -> 487 bytes
-rw-r--r--SOB/static/images/icons/google-plus.pngbin0 -> 527 bytes
-rw-r--r--SOB/static/images/icons/lastfm.pngbin0 -> 975 bytes
-rw-r--r--SOB/static/images/icons/linkedin.pngbin0 -> 896 bytes
-rw-r--r--SOB/static/images/icons/rss.pngbin0 -> 879 bytes
-rw-r--r--SOB/static/images/icons/twitter.pngbin0 -> 830 bytes
-rw-r--r--SOB/templates/analytics.html12
-rw-r--r--SOB/templates/archives.html17
-rw-r--r--SOB/templates/article.html21
-rw-r--r--SOB/templates/article_infos.html9
-rw-r--r--SOB/templates/article_infos_bottom.html17
-rw-r--r--SOB/templates/author.html4
-rw-r--r--SOB/templates/base.html97
-rw-r--r--SOB/templates/categories.html8
-rw-r--r--SOB/templates/category.html4
-rw-r--r--SOB/templates/comments.html3
-rw-r--r--SOB/templates/disclaimer.html6
-rw-r--r--SOB/templates/index.html59
-rw-r--r--SOB/templates/page.html14
-rw-r--r--SOB/templates/pagination.html21
-rw-r--r--SOB/templates/tag.html4
-rw-r--r--SOB/templates/tags.html16
-rw-r--r--SOB/templates/translations.html8
29 files changed, 822 insertions, 0 deletions
diff --git a/SOB/License.txt b/SOB/License.txt
new file mode 100644
index 0000000..53b1645
--- /dev/null
+++ b/SOB/License.txt
@@ -0,0 +1,13 @@
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO. \ No newline at end of file
diff --git a/SOB/README.md b/SOB/README.md
new file mode 100644
index 0000000..8b2f259
--- /dev/null
+++ b/SOB/README.md
@@ -0,0 +1,18 @@
+Son of a Bitch Theme
+=====================
+By: Goat Avenger
+
+I needed a custom theme; thusly, I hacked zurb-F5-basic.
+
+If I'm correct I made a simple theme even simpler. That's about it. Some of the more advanced functionality may or may not work.
+
+This includes - google analytics
+-It's commented out 'cause fuck google.
+ - Disqus
+-what's that? I don't know, I don't use it...
+Also added a disclaimer template. Got to have one of those...
+
+preview the theme at http://blog.goatavenger.com
+
+YOU GET NOTHING! YOU LOSE!
+
diff --git a/SOB/static/css/main.css b/SOB/static/css/main.css
new file mode 100644
index 0000000..08a3388
--- /dev/null
+++ b/SOB/static/css/main.css
@@ -0,0 +1,471 @@
+/***TODO: create variables for colors for fonts, links, background, boxes, etc...*/
+/*** this will make it easier to modify the CSS file to change such things..*/
+/***VARIABLES*********************************************************************/
+:root/*root element is first element and all other elements inherit it's properties*/
+{
+ --box-size: 640px;
+ --box-padding: 14px/*top*/ 32px/*right*/ 14px/*bottom*/ 32px/*left*/;
+
+}
+/***Body config***************************************************************/
+body
+{
+ background-color: #000000;
+ margin: 0px;
+ padding: 0px;
+ border: 0px;
+
+ font-family: DejaVu Sans Mono, arial, sans-serif;
+ font-size: 12pt; /*100% is a good <body> font-size,1em == the default setting for the browser 16px*/
+ /*line-height: 14pt; --default line height*/
+ font-style: normal; /*italic, oblique*/
+ font-weight: medium;
+ color: #DDDDDD;
+ text-align: left; /*right, center*/
+ text-decoration: none; /*overline, line-through, underline*/
+ /*text-transform: uppercase, lowercase, capitalize*/
+ /*text-indent: 50px, Xpx*/
+}
+/*****************************************************************************/
+
+
+
+/***Main tag configurations and variants**************************************/
+p
+{
+ text-align: left;
+}
+
+h1, h2, h3, h4, h5, h6
+{
+ font-weight: bold;
+ text-align: left;
+}
+
+a:link
+{
+ font-weight: bold;
+ color: #AA0000;
+ text-decoration: none;
+ text-align: left;
+
+}
+
+a:visited
+{
+ font-weight: bold;
+ color: #EE00EE;
+ text-decoration: none;
+ text-align: left;
+}
+
+a:hover, a:active
+{
+ font-weight: bold;
+ color: #FF0000;
+ text-decoration: none;
+ text-align: left;
+}
+/*****************************************************************************/
+
+
+
+
+/***container*****************************************************************/
+#container
+{
+ width: var(--box-size);
+ margin: 0px auto;
+ background-color: #000000;
+}
+/*****************************************************************************/
+
+
+
+
+/***Top, bottom, and miscelaneous spacers for centering and page structure****/
+#topspacer /*50 pixels of spacing from the top*/
+{
+ float: left;
+
+ min-width: var(--box-size);
+ margin-top: 50px;
+}
+
+#spacer100 /*100 pixels of spacing*/
+{
+ float: left;
+
+ min-width: var(--box-size);
+ margin-top: 50px;
+ margin-bottom: 50px;
+}
+#spacer50 /*50 pixels of spacing*/
+{
+ float: left;
+
+ min-width: var(--box-size);
+ margin-top: 50px;
+ margin-bottom: 50px;
+}
+#bottomspacer /*50 pixels of spacing from the bottom*/
+{
+ float: left;
+
+ min-width: var(--box-size);
+ margin-bottom: 50px;
+}
+#divpadding
+{
+ padding: 14px;
+}
+/*****************************************************************************/
+
+
+
+
+/***headers and configurations************************************/
+#header
+{
+ float: left;
+
+ min-width: var(--box-size);
+
+ padding: var(--box-padding);
+ clear: right;
+
+ border-top: 2px;
+ border-right: 2px;
+ border-bottom: 0px;
+ border-left: 2px;
+ border-style: solid;
+ border-color: #EEEEEE;
+}
+
+#headernonav /*header for pages that don't have a navigation bar*/
+{
+ float: left;
+
+ min-width: var(--box-size);
+
+ padding: var(--box-padding);
+ clear: right;
+
+ border-top: 2px;
+ border-right: 2px;
+ border-bottom: 0px;
+ border-left: 2px;
+ border-style: solid;
+ border-color: #EEEEEE;
+}
+/*****************************************************************************/
+
+
+
+
+/***This is the Main Menu Navigation at the top of every page*****************/
+/*NEEDS WORK...*/
+#nav
+{
+ float: left;
+
+ min-width: var(--box-size);
+
+ padding: var(--box-padding);
+
+ background-color: #000000;
+ border-top: 2px;
+ border-right: 2px;
+ border-bottom: 2px;
+ border-left: 2px;
+ border-style: solid;
+ border-color: #EEEEEE;
+}
+#nav ul
+{
+ margin: 0px;
+ padding: 0px;
+ list-style: none; /*no bullets*/
+ display: inline; /*horizontal instead of using a block for vertical stacking*/
+}
+
+#nav ul li
+{
+ display: inline; /*horizontal instead of vertical stacking block display*/
+}
+
+#nav ul li span
+{
+ font-family: arial, sans-serif;
+ font-weight: bold;
+ color: #FF0000;
+
+ padding: 7px 10px 7px 10px;
+}
+
+#nav ul li a:link, #nav ul li a:visited
+{
+ background-color: #000000;
+
+ font-family: arial, sans-serif;
+ font-size: 12pt;
+ font-style: normal;
+ font-weight: bold;
+ color: #AA0000;
+ text-decoration: none;
+
+ padding: 7px 10px 7px 10px;
+}
+
+#nav ul li a:hover, #nav ul li a:active
+{
+ background-color: #303030;
+
+ font-family: arial, sans-serif;
+ font-size: 12pt;
+ font-style: normal;
+ font-weight: bold;
+ color: #FF0000;
+ text-decoration: none;
+
+ padding: 7px 10px 7px 10px;
+}
+/*****************************************************************************/
+
+
+
+
+
+/***Other navigation**********************************************************/
+/*NEEDS WORK*/
+a:link.nomenu
+{
+ font-family: arial, sans-serif;
+ font-size: 12pt;
+ font-style: normal;
+ font-weight: medium;
+ color: #CCCCCC;
+
+ text-decoration: none;
+
+ text-align: left;
+}
+
+a:visited.nomenu
+{
+ font-family: arial, sans-serif;
+ font-size: 12pt;
+ font-style: normal;
+ font-weight: medium;
+ color: #3FAAAA;
+
+ text-decoration: none;
+
+ text-align: left;
+}
+a:hover.nomenu, a:active.nomenu
+{
+ font-family: arial, sans-serif;
+ font-size: 12pt;
+ font-style: normal;
+ font-weight: medium;
+ color: #3FFFFF;
+
+ text-decoration: none;
+
+ text-align: left;
+}
+/*****************************************************************************/
+
+
+
+
+/***Used to create content squares in a vertical block pattern****************/
+#content
+{
+ float: left;
+
+ min-width: var(--box-size);
+
+ padding: var(--box-padding);
+ margin: 0px;
+
+ border-top: 0px;
+ border-right: 2px;
+ border-bottom: 2px;
+ border-left: 2px;
+ border-style: solid;
+ border-color: #EEEEEE;
+}
+
+#content-noborder
+{
+ float: left;
+
+ padding: var(--box-padding);
+ min-width: var(--box-size);
+
+ padding: 0px;
+ margin: 0px;
+ border: 0px;
+}
+/*****************************************************************************/
+
+
+
+
+/***Creative Commons Attribution styling**************************************/
+span.CC p
+{
+ font-family: DejaVu Sans Mono, arial, sans-serif;
+ font-size: 8pt;
+ font-style: italic;
+ font-weight: medium;
+ color: #CC00CC;
+ text-align: left;
+}
+span.CC a:link
+{
+ font-weight: bold;
+ color: #00CC00;
+ text-decoration: none;
+ text-align: left;
+
+}
+
+span.CC a:visited
+{
+ font-weight: bold;
+ color: #00AA00;
+ text-decoration: none;
+ text-align: left;
+}
+
+span.CC a:hover, span.CC a:active
+{
+ font-weight: bold;
+ color: #00FF00;
+ text-decoration: none;
+ text-align: left;
+}
+/*****************************************************************************/
+
+
+
+
+/***Miscellaneous font adjustments********************************************/
+h1.date, h2.date, h3.date, h4.date, h5.date, h6.date, td.date
+{
+ font-weight: bold;
+ color: #00DDCC;
+ text-decoration: none;
+ text-align: left;
+}
+
+
+
+
+
+
+
+
+/***EVERYTHING BELOW HAS NOT BEEN EDITED FOR USE, YET***/
+
+/***Spcialization of fonts and settings for the Files Page***/
+/*
+span.file a:link
+{
+ font-family: arial, sans-serif;
+ text-decoration: none;
+ font-size: 12pt;
+ line-height: 14pt;
+ font-style: normal;
+ font-weight: medium;
+ color: #00CC00;
+}
+span.file a:hover
+{
+ font-family: arial, sans-serif;
+ text-decoration: none;
+ font-size: 12pt;
+ line-height: 14pt;
+ font-style: normal;
+ font-weight: medium;
+ color: #00FF00;
+}
+span.file a:active
+{
+ font-family: arial, sans-serif;
+ text-decoration: none;
+ font-size: 12pt;
+ line-height: 14pt;
+ font-style: normal;
+ font-weight: medium;
+ color: #00FF00;
+}
+span.file a:visited
+{
+ font-family: arial, sans-serif;
+ text-decoration: none;
+ font-size: 12pt;
+ line-height: 14pt;
+ font-style: normal;
+ font-weight: medium;
+ color: #60CC00;
+}
+
+span.file ul
+{
+ list-style: none; //no bullets
+}
+span.file li
+{
+ display: block;
+
+ font-family: arial, sans-serif;
+ font-size: 12pt;
+ font-style: normal;
+ font-weight: bold;
+ color: #00AFAF;
+
+ text-align: left;
+ line-height: 14pt;
+}
+span.file h1
+{
+ display: block;
+
+ font-family: arial, sans-serif;
+ font-size: 14pt;
+ font-style: normal;
+ font-weight: bold;
+ color: #CC0000;
+
+ text-align: left;
+ line-height: 14pt;
+}
+
+span.file h2
+{
+ display: block;
+
+ font-family: arial, sans-serif;
+ font-size: 14pt;
+ font-style: normal;
+ font-weight: medium;
+ color: #CC6600;
+
+ text-align: left;
+ line-height: 16pt;
+}
+*/
+/*****************************************************/
+
+
+
+
+
+
+
+
+
diff --git a/SOB/static/images/icons/delicious.png b/SOB/static/images/icons/delicious.png
new file mode 100644
index 0000000..3dccdd8
--- /dev/null
+++ b/SOB/static/images/icons/delicious.png
Binary files differ
diff --git a/SOB/static/images/icons/github.png b/SOB/static/images/icons/github.png
new file mode 100644
index 0000000..6c52b48
--- /dev/null
+++ b/SOB/static/images/icons/github.png
Binary files differ
diff --git a/SOB/static/images/icons/gitorious.png b/SOB/static/images/icons/gitorious.png
new file mode 100644
index 0000000..3eeb3ec
--- /dev/null
+++ b/SOB/static/images/icons/gitorious.png
Binary files differ
diff --git a/SOB/static/images/icons/gittip.png b/SOB/static/images/icons/gittip.png
new file mode 100644
index 0000000..af94962
--- /dev/null
+++ b/SOB/static/images/icons/gittip.png
Binary files differ
diff --git a/SOB/static/images/icons/google-plus.png b/SOB/static/images/icons/google-plus.png
new file mode 100644
index 0000000..3c6b743
--- /dev/null
+++ b/SOB/static/images/icons/google-plus.png
Binary files differ
diff --git a/SOB/static/images/icons/lastfm.png b/SOB/static/images/icons/lastfm.png
new file mode 100644
index 0000000..3a6c626
--- /dev/null
+++ b/SOB/static/images/icons/lastfm.png
Binary files differ
diff --git a/SOB/static/images/icons/linkedin.png b/SOB/static/images/icons/linkedin.png
new file mode 100644
index 0000000..d29c120
--- /dev/null
+++ b/SOB/static/images/icons/linkedin.png
Binary files differ
diff --git a/SOB/static/images/icons/rss.png b/SOB/static/images/icons/rss.png
new file mode 100644
index 0000000..7862c65
--- /dev/null
+++ b/SOB/static/images/icons/rss.png
Binary files differ
diff --git a/SOB/static/images/icons/twitter.png b/SOB/static/images/icons/twitter.png
new file mode 100644
index 0000000..d0ef3cc
--- /dev/null
+++ b/SOB/static/images/icons/twitter.png
Binary files differ
diff --git a/SOB/templates/analytics.html b/SOB/templates/analytics.html
new file mode 100644
index 0000000..3e1636c
--- /dev/null
+++ b/SOB/templates/analytics.html
@@ -0,0 +1,12 @@
+{#FUCK GOOGLE{% if GOOGLE_ANALYTICS %}
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', '{{GOOGLE_ANALYTICS}}']);
+ _gaq.push(['_trackPageview']);
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+{% endif %}#} \ No newline at end of file
diff --git a/SOB/templates/archives.html b/SOB/templates/archives.html
new file mode 100644
index 0000000..1770aae
--- /dev/null
+++ b/SOB/templates/archives.html
@@ -0,0 +1,17 @@
+ {% extends "base.html" %}
+ {% block content %}
+ <div id="content">
+ <h3>Archives</h3>
+ <table>
+ <tbody>
+ {% for article in dates %}
+ <tr>
+
+ <td class="date">{{ article.locale_date }}</td>
+ <td><a href='{{ article.url }}'>{{ article.title }}</a></td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+ </div>
+ {% endblock %}
diff --git a/SOB/templates/article.html b/SOB/templates/article.html
new file mode 100644
index 0000000..090bbab
--- /dev/null
+++ b/SOB/templates/article.html
@@ -0,0 +1,21 @@
+ {% extends "base.html" %}
+ {% block title %}
+ {{ article.title|striptags }}
+ {% endblock %}
+ {% block content %}
+ <div id="content">
+ <h3><a href="{{ SITEURL }}/{{ article.url }}"
+ title="Permalink to {{ article.title|striptags }}">{{ article.title}}</a></h3>
+{#fuck twitter{% include 'twitter.html' %}#}
+
+
+ {% include 'article_infos.html' %}
+ {{ article.content }}
+ {% include 'article_infos_bottom.html' %}
+
+ {% if DISQUS_SITENAME and SITEURL and article.status != "draft" %}
+ <h4>Comments</h4>
+ {% include 'disqus_script.html' %}
+ {% endif %}
+ </div>
+ {% endblock %} \ No newline at end of file
diff --git a/SOB/templates/article_infos.html b/SOB/templates/article_infos.html
new file mode 100644
index 0000000..05ff0a7
--- /dev/null
+++ b/SOB/templates/article_infos.html
@@ -0,0 +1,9 @@
+ <h3 class="date" title="{{ article.date.isoformat() }}">{{ article.locale_date }}
+ {# {% if article.author %}
+By <a href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
+ {% endif %} #}
+ </h3>
+
+ {% import 'translations.html' as translations with context %}
+ {{ translations.translations_for(article) }}
+
diff --git a/SOB/templates/article_infos_bottom.html b/SOB/templates/article_infos_bottom.html
new file mode 100644
index 0000000..3ebb64a
--- /dev/null
+++ b/SOB/templates/article_infos_bottom.html
@@ -0,0 +1,17 @@
+ Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
+
+ {% if article.tags %}
+ <br/>
+ Tagged:
+ {% for tag in article.tags %}
+ <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }} </a>
+ {% endfor %}
+ {% endif %}
+
+ {% if PDF_PROCESSOR %}
+ <p><a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">PDF</a></p>
+ {% endif %}
+
+ {% import 'translations.html' as translations with context %}
+ {{ translations.translations_for(article) }}
+
diff --git a/SOB/templates/author.html b/SOB/templates/author.html
new file mode 100644
index 0000000..484e8b1
--- /dev/null
+++ b/SOB/templates/author.html
@@ -0,0 +1,4 @@
+ {% extends "index.html" %}
+ {% block title %}
+ {{ SITENAME }} - {{ author }}
+ {% endblock %}
diff --git a/SOB/templates/base.html b/SOB/templates/base.html
new file mode 100644
index 0000000..33f97bb
--- /dev/null
+++ b/SOB/templates/base.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="description"
+ content="Main page.">
+ <meta name="keywords"
+ content="sassafrass">
+ <meta name="author"
+ content="YOU">
+ <link rel="stylesheet"
+ type="text/css"
+ href="{{ SITEURL }}/theme/css/main.css">
+ <!--<link rel="icon"
+ type="image/png"
+ href=".png"> -->
+ <title>
+ {% block title %}{{ SITENAME }}
+ {%endblock%}
+ </title>
+ </head>
+
+ <body>
+ <div id="container">
+ <div id="topspacer">
+ </div>
+ <div id="header">
+ <h1 style="text-align: center"><a href="{{ SITEURL }}">{{ SITENAME }}</a></h1>
+ </div>
+ <div id="nav">
+ <ul>
+ {% for title, link in MENUITEMS %}
+ <li><a href="{{ link }}">{{ title }}</a></li>
+ {% endfor %}
+
+ {% if DISPLAY_PAGES_ON_MENU %}
+ {% for page in PAGES %}
+ <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
+ {% endfor %}
+ {% endif %}
+ </ul>
+ </div>
+ <div id="content">
+ <p>
+Return to <a href="http://somewhere32132132.com">somewhere32132132.com</a>
+ </p>
+ </div>
+
+ {% block content %}
+ {% endblock %}
+
+
+ <div id="content">
+ <ul>
+ <li><a href="{{ SITEURL }}/archives.html">Archives</a>
+ <li><a href="{{ SITEURL }}/tags.html">Tags</a>
+ </ul>
+ </div>
+ {% if categories %}
+ <div id="content">
+ <h3 style="text-align: center">Categories</h3>
+ <p>
+ {% for cat, null in categories %}
+ <a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a>,
+ {% endfor %}
+ </p>
+ </div>
+ {% endif %}
+
+ {% if LINKS %}
+ <div id="content">
+ <h5>Links</h5>
+ <ul>
+ {% for name, link in LINKS %}
+ <li><a href="{{ link }}">{{ name }}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+ {% endif %}
+
+ {% if SOCIAL %}
+ <div id="content">
+ <h5>Social</h5>
+ <ul>
+ {% for name, link in SOCIAL %}
+ <li><a href="{{ link }}">{{ name }}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+ {% endif %}
+ {% include "disclaimer.html" %}
+ <div id="bottomspacer">
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/SOB/templates/categories.html b/SOB/templates/categories.html
new file mode 100644
index 0000000..e311dfc
--- /dev/null
+++ b/SOB/templates/categories.html
@@ -0,0 +1,8 @@
+ {% extends "base.html" %}
+ {% block content %}
+ <ul>
+ {% for category, articles in categories %}
+ <li><a href="{{ category.url }}">{{ category }}</a></li>
+ {% endfor %}
+ </ul>
+ {% endblock %} \ No newline at end of file
diff --git a/SOB/templates/category.html b/SOB/templates/category.html
new file mode 100644
index 0000000..dd22dca
--- /dev/null
+++ b/SOB/templates/category.html
@@ -0,0 +1,4 @@
+ {% extends "index.html" %}
+ {% block title %}
+ {{ SITENAME }} - {{ category }}
+ {% endblock %}
diff --git a/SOB/templates/comments.html b/SOB/templates/comments.html
new file mode 100644
index 0000000..c06f007
--- /dev/null
+++ b/SOB/templates/comments.html
@@ -0,0 +1,3 @@
+ {% if DISQUS_SITENAME %}
+ <p><a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">comments</a></p>
+ {% endif %}
diff --git a/SOB/templates/disclaimer.html b/SOB/templates/disclaimer.html
new file mode 100644
index 0000000..a5c73be
--- /dev/null
+++ b/SOB/templates/disclaimer.html
@@ -0,0 +1,6 @@
+ <div id="content">
+ <h3 style="text-align: center">DISCLAIMER</h3>
+ <p>
+The data and information provided on this website is for informational purposes only. The views or positions expressed on this website are the owner's alone. The content on this website is subject to change at any time at the owner's discretion. The owner of this website makes no representations as to the accuracy, completeness, currentness, suitability, validity, or humor of any information provided on this site. The owner assumes no liability for any errors, omissions, delays or any losses, injuries, damages, or lack of amusement arising from the downloading, displaying, or using of any information provided on this site. The owner of this site may lose his/her shit after writing this damn thing and gives a mean grumpy if my swearing bothers you.
+ </p>
+ </div> \ No newline at end of file
diff --git a/SOB/templates/index.html b/SOB/templates/index.html
new file mode 100644
index 0000000..6d2f77b
--- /dev/null
+++ b/SOB/templates/index.html
@@ -0,0 +1,59 @@
+ {% extends "base.html" %}
+ {% block content_title %}
+ {% endblock %}
+ {% block content %}
+ {% if articles %}
+ {% for article in articles_page.object_list %}
+
+ {# First item #}
+ {% if loop.first and not articles_page.has_previous() %}
+ <div id="content">
+
+ <a href="{{ SITEURL }}/{{ article.url }}"><h3>{{ article.title }}</h3></a>
+ {% include 'article_infos.html' %}
+{{ article.content }}
+ {% include 'article_infos_bottom.html' %}{% include 'comments.html' %}
+
+ </div>
+ {% if loop.length == 1 %}
+ {% include 'pagination.html' %}
+ {% endif %}
+
+ {% if loop.length > 1 %}
+
+ {% endif %}
+
+ {# other items #}
+ {% else %}
+ <div id="content">
+
+ <a href="{{ SITEURL }}/{{ article.url }}"><h3>{{ article.title }}</h3></a>
+ {% include 'article_infos.html' %}
+ {{ article.summary }}
+ {% include 'article_infos_bottom.html' %}
+ {% include 'comments.html' %}
+ <p>
+ <a href="{{ SITEURL }}/{{ article.url }}">Read More</a>
+ </p>
+
+
+ </div>
+ {% endif %}
+
+ {% if loop.last %}
+ <!-- /#posts-list -->
+ {% if loop.last and (articles_page.has_previous() or not articles_page.has_previous() and loop.length > 1) %}
+ {% include 'pagination.html' %}
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+
+ {% else %}
+
+ <h3>Pages</h3>
+ {% for page in PAGES %}
+ <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
+ {% endfor %}
+
+ {% endif %}
+ {% endblock content %}
diff --git a/SOB/templates/page.html b/SOB/templates/page.html
new file mode 100644
index 0000000..b303ad5
--- /dev/null
+++ b/SOB/templates/page.html
@@ -0,0 +1,14 @@
+ {% extends "base.html" %}
+ {% block title %}
+ {{ page.title }}
+ {% endblock %}
+
+ {% block content %}
+ <h3>{{ page.title }}</h3>
+ {% import 'translations.html' as translations with context %}
+ {{ translations.translations_for(page) }}
+ {% if PDF_PROCESSOR %}
+ <a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">PDF</a>
+ {% endif %}
+ {{ page.content }}
+ {% endblock %}
diff --git a/SOB/templates/pagination.html b/SOB/templates/pagination.html
new file mode 100644
index 0000000..1ccfc3d
--- /dev/null
+++ b/SOB/templates/pagination.html
@@ -0,0 +1,21 @@
+ {% if DEFAULT_PAGINATION %}
+ <div id="content">
+ <div class="pagination-centered">
+ <h6 class="subheader">Page {{ articles_page.number }} of {{ articles_paginator.num_pages }}</h6>
+
+ <p>
+ {% if articles_page.has_previous() %}
+ {% if articles_page.previous_page_number() == 1 %}
+ <a href="{{ SITEURL }}/{{ page_name }}.html">&laquo; Prev</a>
+ {% else %}
+ <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">&laquo; Prev</a>
+ {% endif %}
+ {% endif %}
+
+ {% if articles_page.has_next() %}
+ <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">Next &raquo;</a>
+ {% endif %}
+ </p>
+ </div>
+ </div>
+ {% endif %}
diff --git a/SOB/templates/tag.html b/SOB/templates/tag.html
new file mode 100644
index 0000000..5d6f0d2
--- /dev/null
+++ b/SOB/templates/tag.html
@@ -0,0 +1,4 @@
+ {% extends "index.html" %}
+ {% block title %}
+ {{ SITENAME }} - {{ tag }}
+ {% endblock %}
diff --git a/SOB/templates/tags.html b/SOB/templates/tags.html
new file mode 100644
index 0000000..769363d
--- /dev/null
+++ b/SOB/templates/tags.html
@@ -0,0 +1,16 @@
+ {% extends "base.html" %}
+ {% block content %}
+ <div id="content">
+ <ul>
+ {% for tag, articles in tags|sort %}
+ <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
+ <ul class="square">
+
+ {% for article in articles|sort %}
+ <li><a href="{{ SITEURL }}/{{ article.url }}"><small>{{ article.title }}</small></li>
+ {% endfor %}
+ </ul>
+ {% endfor %}
+ </ul>
+ </div>
+ {% endblock %} \ No newline at end of file
diff --git a/SOB/templates/translations.html b/SOB/templates/translations.html
new file mode 100644
index 0000000..48f4d64
--- /dev/null
+++ b/SOB/templates/translations.html
@@ -0,0 +1,8 @@
+ {% macro translations_for(article) %}
+ {% if article.translations %}
+ Translations:
+ {% for translation in article.translations %}
+ <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
+ {% endfor %}
+ {% endif %}
+ {% endmacro %}