Added a blog directory for testing purposes

This commit is contained in:
maste9 2015-01-25 18:35:00 +01:00 committed by Homer S
parent 80291b0942
commit 20624d7be7
11 changed files with 107 additions and 0 deletions

View File

View File

View File

@ -0,0 +1,11 @@
# L10n for all static variables of the blog
# LANG: de
[General]
APP_NAME=picoblogger
APP_VERSION=0.1
MAIN_TITLE=Artikel
NAV_TITLE=Navigation
HOME_BUTTON=Aktuell
ARCHIVE_BUTTON=Archiv
BLOG_CHARSET=utf-8

View File

@ -0,0 +1,11 @@
# L10n for all static variables of the blog
# LANG: de
APP_NAME=picoblogger
APP_VERSION=0.1
MAIN_TITLE=Artikel
NAV_TITLE=Navigation
HOME_BUTTON=Aktuell
ARCHIVE_BUTTON=Archiv
BLOG_CHARSET=utf-8

2
picoblogger/blog/pb.conf Normal file
View File

@ -0,0 +1,2 @@
[General]
BLOG_LANG = de

View File

@ -0,0 +1 @@
BLOG_LANG=de

View File

View File

@ -0,0 +1,39 @@
<html lang="$(BLOG_LANG)">
<head>
<title><!--{BLOG_TITLE)</title>
<meta name="author" content="$(BLOG_AUTHOR)" />
<meta name="generator" content="$(APP_NAME) $(APP_VERSION)" />
<meta charset="$(BLOG_CHARSET)" />
<meta name="keywords" content="$(BLOG_KEYWORDS)" />
<meta name="description" content="$(BLOG_DESCRIPTION)" />
<meta name="language" content="$(BLOG_LANG)" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>$(BLOG_TITLE)</h1><h2>$(BLOG_SUBTITLE)</h2>
</header>
<nav>
<h1>$(NAV_TITLE)
$(TEMPLATE_NAV)
</nav>
<main>
<h1>$(MAIN_TITLE)</h1>
$(TEMPLATE_MAIN)
</main>
<aside>
$(TEMPLATE_ASIDE)
</aside>
<footer>
$(TEMPLATE_FOOTER)
</footer>
</body>
</html>

View File

@ -0,0 +1,39 @@
<html lang="<!--{BLOG_LANG}-->">
<head>
<title><!--{BLOG_TITLE}--></title>
<meta name="author" content="<!--{BLOG_AUTHOR}-->" />
<meta name="generator" content="<!--{APP_NAME}--> <!--{APP_VERSION}-->" />
<meta charset="<!--{BLOG_CHARSET}-->" />
<meta name="keywords" content="<!--{BLOG_KEYWORDS}-->" />
<meta name="description" content="<!--{BLOG_DESCRIPTION}-->" />
<meta name="language" content="<!--{BLOG_LANG}-->" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1><!--{BLOG_TITLE}--></h1><h2><!--{BLOG_SUBTITLE}--></h2>
</header>
<nav>
<h1><!--{NAV_TITLE}-->
<!--{TEMPLATE_NAV}-->
</nav>
<main>
<h1><!--{MAIN_TITLE}--></h1>
<!--{TEMPLATE_MAIN}-->
</main>
<aside>
<!--{TEMPLATE_ASIDE}-->
</aside>
<footer>
<!--{TEMPLATE_FOOTER}-->
</footer>
</body>
</html>

View File

View File

@ -0,0 +1,4 @@
<ul>
<li><a href="index.html" class="home"><!--{HOME_BUTTON}--></a></li>
<li><a href="archive/"<!--{ARCHIVE_BUTTON}--></a></li>
</ul>