2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 17:10:29 +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"> <html lang="en">
<head> <head>
<title>offen - Test Page</title> <title></title>
<link rel="stylesheet" type="text/css" href="/theme/style.css"> <link rel="stylesheet" type="text/css" href="/css/style.css">
</head> </head>
<body> <body>
@ -11,13 +11,20 @@
<div class="wrapper"> <div class="wrapper">
<header> <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> </header>
<h1>Test Page</h1>
<section>
<h2>
<strong>offen</strong> is a free analysis software for websites and web applications that allows a fair handling of data.
</h2>
<p>This is a test page.</p> THIS IS THE DEEP DIVE PAGE
<p><a href="/index.html" class="btn">Overview</a></p>
</section>
<footer> <footer>
@ -29,7 +36,7 @@ May 2019
<a href="https://github.com/offen" title="Offen GitHub" target="_blank">GitHub</a> <a href="https://github.com/offen" title="Offen GitHub" target="_blank">GitHub</a>
</li> </li>
<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> </li>
</ul> </ul>
</footer> </footer>

View File

@ -3,7 +3,7 @@
<head> <head>
<title></title> <title></title>
<link rel="stylesheet" type="text/css" href="/theme/style.css"> <link rel="stylesheet" type="text/css" href="/css/style.css">
</head> </head>
<body> <body>
@ -11,7 +11,7 @@
<div class="wrapper"> <div class="wrapper">
<header> <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> </header>
@ -19,15 +19,10 @@
<h2> <h2>
<strong>offen</strong> is a free analysis software for websites and web applications that allows a fair handling of data. <strong>offen</strong> is a free analysis software for websites and web applications that allows a fair handling of data.
</h2> </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><a href="/deepdive.html" class="btn">Deep Dive</a></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>
</section> </section>
@ -41,7 +36,7 @@ May 2019
<a href="https://github.com/offen" title="Offen GitHub" target="_blank">GitHub</a> <a href="https://github.com/offen" title="Offen GitHub" target="_blank">GitHub</a>
</li> </li>
<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> </li>
</ul> </ul>
</footer> </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 #!/usr/bin/env python
# -*- coding: utf-8 -*- # # -*- coding: utf-8 -*- #
from __future__ import unicode_literals from __future__ import unicode_literals
import logging
AUTHOR = 'offen' AUTHOR = 'offen'
SITENAME = 'offen' SITENAME = 'offen'
SITEURL = '' SITEURL = ''
PATH = 'content' PATH = 'content'
TIMEZONE = 'Europe/Berlin' TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = 'en' DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing # 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 # Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True #RELATIVE_URLS = True
# added configs ----------------------------------------------
THEME = 'offen' 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'
}