2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 21:30:22 +01:00

add static site settings

This commit is contained in:
Hendrik Niefeld 2019-05-24 09:17:16 +02:00
parent b9ddac5fe6
commit 040ea464e6
12 changed files with 44 additions and 176 deletions

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

5
content/index.md Normal file
View File

@ -0,0 +1,5 @@
Title: Welcome to My Site
URL:
save_as: index2.html
Thank you for visiting. Welcome!

View File

@ -1,3 +0,0 @@
Title: Test Page
This is a test page.

View File

@ -1,39 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>offen - Archives</title>
<link rel="stylesheet" type="text/css" href="/theme/style.css">
</head>
<body>
<div class="wrapper">
<header>
<a href="/" title="offen home page" alt="offen home page"><img src="/theme/logo.svg" alt="offen logo" width="165" height="102" class="logo"></a>
</header>
<h1>Archives for offen</h1>
<dl>
</dl>
<footer>
<ul class="footer-list">
<li>
May 2019
</li>
<li>
<a href="https://github.com/offen" title="Offen GitHub" target="_blank">GitHub</a>
</li>
<li>
<a href="mailto:mail@offen.dev" title="Offen Contact" target="_blank">Contakt</a>
</li>
</ul>
</footer>
</div>
</body>
</html>

View File

@ -1,38 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>offen - Authors</title>
<link rel="stylesheet" type="text/css" href="/theme/style.css">
</head>
<body>
<div class="wrapper">
<header>
<a href="/" title="offen home page" alt="offen home page"><img src="/theme/logo.svg" alt="offen logo" width="165" height="102" class="logo"></a>
</header>
<h1>Authors on offen</h1>
<ul>
</ul>
<footer>
<ul class="footer-list">
<li>
May 2019
</li>
<li>
<a href="https://github.com/offen" title="Offen GitHub" target="_blank">GitHub</a>
</li>
<li>
<a href="mailto:mail@offen.dev" title="Offen Contact" target="_blank">Contakt</a>
</li>
</ul>
</footer>
</div>
</body>
</html>

View File

@ -1,38 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>offen - Categories</title>
<link rel="stylesheet" type="text/css" href="/theme/style.css">
</head>
<body>
<div class="wrapper">
<header>
<a href="/" title="offen home page" alt="offen home page"><img src="/theme/logo.svg" alt="offen logo" width="165" height="102" class="logo"></a>
</header>
<h1>Categories on offen</h1>
<ul>
</ul>
<footer>
<ul class="footer-list">
<li>
May 2019
</li>
<li>
<a href="https://github.com/offen" title="Offen GitHub" target="_blank">GitHub</a>
</li>
<li>
<a href="mailto:mail@offen.dev" title="Offen Contact" target="_blank">Contakt</a>
</li>
</ul>
</footer>
</div>
</body>
</html>

View File

@ -2,8 +2,8 @@
<html lang="en">
<head>
<title>offen - Test Page</title>
<link rel="stylesheet" type="text/css" href="/theme/style.css">
<title></title>
<link rel="stylesheet" type="text/css" href="/css/style.css">
</head>
<body>
@ -11,13 +11,20 @@
<div class="wrapper">
<header>
<a href="/" title="offen home page" alt="offen home page"><img src="/theme/logo.svg" alt="offen logo" width="165" height="102" class="logo"></a>
<a href="/" title="offen home page" alt="offen home page"><img src="/img/logo.svg" alt="offen logo" width="165" height="102" class="logo"></a>
</header>
<h1>Test Page</h1>
<p>This is a test page.</p>
<section>
<h2>
<strong>offen</strong> is a free analysis software for websites and web applications that allows a fair handling of data.
</h2>
THIS IS THE DEEP DIVE PAGE
<p><a href="/index.html" class="btn">Overview</a></p>
</section>
<footer>
@ -29,7 +36,7 @@ May 2019
<a href="https://github.com/offen" title="Offen GitHub" target="_blank">GitHub</a>
</li>
<li>
<a href="mailto:mail@offen.dev" title="Offen Contact" target="_blank">Contakt</a>
<a href="mailto:mail@offen.dev" title="Offen Contact" target="_blank">Contact</a>
</li>
</ul>
</footer>

View File

@ -3,7 +3,7 @@
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="/theme/style.css">
<link rel="stylesheet" type="text/css" href="/css/style.css">
</head>
<body>
@ -11,7 +11,7 @@
<div class="wrapper">
<header>
<a href="/" title="offen home page" alt="offen home page"><img src="/theme/logo.svg" alt="offen logo" width="165" height="102" class="logo"></a>
<a href="/" title="offen home page" alt="offen home page"><img src="/img/logo.svg" alt="offen logo" width="165" height="102" class="logo"></a>
</header>
@ -19,15 +19,10 @@
<h2>
<strong>offen</strong> is a free analysis software for websites and web applications that allows a fair handling of data.
</h2>
<p><strong>offen</strong> not only allows operators to access the analysis data, <em>but also gives users access to the data points</em> assigned to them.</p>
<p>All metrics contain explanations about their meaning and use. What is not collected <em>is clearly recognizable.</em> Data can be deleted or the <em>recording can be stopped completely</em> by users.</p>
THIS IS THE INDEX PAGE
<p>Our goal is to provide users and operators with <em>full transparency</em> and thus encourage everybody involved to make independent decisions regarding the use of their data.</p>
<p><strong>offen</strong> open is currently in the concept phase and is applying for various development funds.</p>
<p><a href="/deep-dive" class="btn">Deep Dive</a></p>
<p><a href="/deepdive.html" class="btn">Deep Dive</a></p>
</section>
@ -41,7 +36,7 @@ May 2019
<a href="https://github.com/offen" title="Offen GitHub" target="_blank">GitHub</a>
</li>
<li>
<a href="mailto:mail@offen.dev" title="Offen Contact" target="_blank">Contakt</a>
<a href="mailto:mail@offen.dev" title="Offen Contact" target="_blank">Contact</a>
</li>
</ul>
</footer>

View File

@ -1,38 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>offen - Tags</title>
<link rel="stylesheet" type="text/css" href="/theme/style.css">
</head>
<body>
<div class="wrapper">
<header>
<a href="/" title="offen home page" alt="offen home page"><img src="/theme/logo.svg" alt="offen logo" width="165" height="102" class="logo"></a>
</header>
<h1>Tags for offen</h1>
<ul>
</ul>
<footer>
<ul class="footer-list">
<li>
May 2019
</li>
<li>
<a href="https://github.com/offen" title="Offen GitHub" target="_blank">GitHub</a>
</li>
<li>
<a href="mailto:mail@offen.dev" title="Offen Contact" target="_blank">Contakt</a>
</li>
</ul>
</footer>
</div>
</body>
</html>

View File

@ -1,15 +1,13 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import logging
AUTHOR = 'offen'
SITENAME = 'offen'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
@ -25,4 +23,23 @@ DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
# added configs ----------------------------------------------
THEME = 'offen'
# Delete the output directory before generating new files.
DELETE_OUTPUT_DIRECTORY = True
# List of templates that are used directly to render content.
DIRECT_TEMPLATES = ['index','deepdive']
# The static paths you want to have accessible on the output path “static”.
STATIC_PATHS = ['img', 'css']
# The default metadata you want to use for all articles and pages.
DEFAULT_METADATA = {
'description': 'A brief description of your site',
'status': 'draft'
}