Version 0.2.2

This commit is contained in:
mmk2410 2015-05-13 20:46:32 +02:00
parent 37ef385af6
commit 52005b1235
5 changed files with 52 additions and 12 deletions

View File

@ -3,23 +3,25 @@
// Every line has an description about what you can change here. Don't delete any strings. You can set your value after the '=' sign and between the apostrophes.
// Make sure that every line ends with an semicolon (';').
// Blog Title - Set here an individual title of your blog by replacing pBlog with it.
$blogtitle = 'Rangitaki';
$blogtitle = 'Rangitaki Blog';
// Blog Author - Set here your name
$blogauthor = 'Marcel Kapfer';
// Blog description
$blogdescription = 'Rangitaki - A php blog engine without any database dependency';
// Blog favicon - enter here the path to your favicon
$blogfavicon = '../res/favicon.png';
// Home - set yes if you want to link to your homepage and no if not
$bloghome = 'yes';
// Home URL - Set here the url to your main page. Either relative (e.g. '../') or absolute ('http://github.com')
$bloghomeurl = '../';
// Home name - Set here an individual name for your main page
$bloghomename = 'Home';
// Intro - set yes if you have a blog intro and no if you don't hve one
// Intro - set yes if you have a blog intro and no if you don't have one
$blogintro = 'yes';
// Disqus - to enable disqus set this one to yes and provide your shortname
$blogdisqus = 'no';
// Disqus shortname - Provide here your Disqus shortname. Without one, this won't work
$blogdisqusname = '';
// Disqus - Provide here your Disqus shortname. Leave empty if you don't want to use it.
$blogdisqus = 'rangitaki';
// Google Analytics - Provide here your Google Analytics Tracking-ID. Leave emoty if you don't want to use it.
$bloganalytics = 'UA-41767647-3';
// Footer - set here the text for your footer (e.g. a copyright info). You can replace the whole text after the '=' with your own one.
$blogfooter = 'Rangitaki' . date("Y") . ' <a href="https://github.com/mmk2410/Rangitaki" target="blank">github.com/mmk2410/Rangitaki</a>';
$blogfooter = 'Rangitaki ' . date("Y") . ' <a href="https://github.com/mmk2410/Rangitaki" target="blank">github.com/mmk2410/Rangitaki</a>';
?>

View File

@ -38,7 +38,7 @@ THE SOFTWARE.
<!--CSS no change needed-->
<link rel="stylesheet" type="text/css" href="res/blog.css" />
<link href='http://fonts.googleapis.com/css?family=Roboto:400,500,700,300,400italic,100,100italic,900' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" href="res/favicon.png">
<link rel="shortcut icon" href="<?php echo $blogfavicon; ?>">
</head>
<body>
@ -151,11 +151,11 @@ THE SOFTWARE.
<?php } ?>
</p>
<?php include 'res/SocialBar.php'; ?>
<?php if($blogdisqus == 'yes' && $blogdisqusname != ''){ ?>
<?php if($blogdisqus){ ?>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = '<?php echo $blogdisqusname; ?>';
var disqus_shortname = '<?php echo $blogdisqus; ?>';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
@ -258,5 +258,21 @@ THE SOFTWARE.
<?php echo $blogfooter ?>
</p>
</div>
<?php
if($bloganalytics){
?>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '<?php echo $bloganalytics; ?>', 'auto');
ga('send', 'pageview');
</script>
<?php
}
?>
</body>
</html>

View File

@ -2,7 +2,7 @@ This is the Blog of the Blog Engine **Rangitaki**
Rangitaki is based on PHP, XML and Markdown. It is easy to install and to configure.
The latest Version of the 0.2 series is **0.2.1**
The latest Version of the 0.2 series is **0.2.2**
The latest Version of the development stream isn' ready yet.

View File

@ -46,7 +46,6 @@ img{
margin-right: auto;
}
.header{
position: absolute;
top: 0;
@ -73,6 +72,15 @@ img{
z-index: 10;
color: rgba(0, 0, 0, 0.87);
}
a{
text-decoration: none;
}
a:hover{
text-decoration: underline;
}
.text a{
font-family: 'Roboto', sans-serif;
font-size: 14px;

View File

@ -1,5 +1,19 @@
<?xml version='1.0' standalone='yes'?>
<posts>
<post>
<title>Version 0.2.2</title>
<pubdate>13 May 2015</pubdate>
<content>
Today I release a small new version to the new 0.2 series, which includes following changes:
- Links are now underlined, when you hover over them
- Simplified it to add the disqus comments
- Added and configuration option for setting a favicon
- Added the option to use Google Analytics
When you updating you installation make sure that your nor overriding your existing configuration. Check on GitHub what are the differences between the two versions.
</content>
</post>
<post>
<title>From pBlog to Rangitaki</title>
<pubdate>12 May 2015</pubdate>