Version 0.2.2
This commit is contained in:
parent
37ef385af6
commit
52005b1235
5 changed files with 52 additions and 12 deletions
16
config.php
16
config.php
|
@ -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.
|
// 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 (';').
|
// Make sure that every line ends with an semicolon (';').
|
||||||
// Blog Title - Set here an individual title of your blog by replacing pBlog with it.
|
// 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
|
// Blog Author - Set here your name
|
||||||
$blogauthor = 'Marcel Kapfer';
|
$blogauthor = 'Marcel Kapfer';
|
||||||
// Blog description
|
// Blog description
|
||||||
$blogdescription = 'Rangitaki - A php blog engine without any database dependency';
|
$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
|
// Home - set yes if you want to link to your homepage and no if not
|
||||||
$bloghome = 'yes';
|
$bloghome = 'yes';
|
||||||
// Home URL - Set here the url to your main page. Either relative (e.g. '../') or absolute ('http://github.com')
|
// Home URL - Set here the url to your main page. Either relative (e.g. '../') or absolute ('http://github.com')
|
||||||
$bloghomeurl = '../';
|
$bloghomeurl = '../';
|
||||||
// Home name - Set here an individual name for your main page
|
// Home name - Set here an individual name for your main page
|
||||||
$bloghomename = 'Home';
|
$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';
|
$blogintro = 'yes';
|
||||||
// Disqus - to enable disqus set this one to yes and provide your shortname
|
// Disqus - Provide here your Disqus shortname. Leave empty if you don't want to use it.
|
||||||
$blogdisqus = 'no';
|
$blogdisqus = 'rangitaki';
|
||||||
// Disqus shortname - Provide here your Disqus shortname. Without one, this won't work
|
// Google Analytics - Provide here your Google Analytics Tracking-ID. Leave emoty if you don't want to use it.
|
||||||
$blogdisqusname = '';
|
$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.
|
// 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>';
|
||||||
?>
|
?>
|
||||||
|
|
22
index.php
22
index.php
|
@ -38,7 +38,7 @@ THE SOFTWARE.
|
||||||
<!--CSS no change needed-->
|
<!--CSS no change needed-->
|
||||||
<link rel="stylesheet" type="text/css" href="res/blog.css" />
|
<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 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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -151,11 +151,11 @@ THE SOFTWARE.
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</p>
|
</p>
|
||||||
<?php include 'res/SocialBar.php'; ?>
|
<?php include 'res/SocialBar.php'; ?>
|
||||||
<?php if($blogdisqus == 'yes' && $blogdisqusname != ''){ ?>
|
<?php if($blogdisqus){ ?>
|
||||||
<div id="disqus_thread"></div>
|
<div id="disqus_thread"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* * * CONFIGURATION VARIABLES * * */
|
/* * * CONFIGURATION VARIABLES * * */
|
||||||
var disqus_shortname = '<?php echo $blogdisqusname; ?>';
|
var disqus_shortname = '<?php echo $blogdisqus; ?>';
|
||||||
|
|
||||||
/* * * DON'T EDIT BELOW THIS LINE * * */
|
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||||
(function() {
|
(function() {
|
||||||
|
@ -258,5 +258,21 @@ THE SOFTWARE.
|
||||||
<?php echo $blogfooter ?>
|
<?php echo $blogfooter ?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -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.
|
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.
|
The latest Version of the development stream isn' ready yet.
|
||||||
|
|
||||||
|
|
10
res/blog.css
10
res/blog.css
|
@ -46,7 +46,6 @@ img{
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.header{
|
.header{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -73,6 +72,15 @@ img{
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
color: rgba(0, 0, 0, 0.87);
|
color: rgba(0, 0, 0, 0.87);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a{
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover{
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
.text a{
|
.text a{
|
||||||
font-family: 'Roboto', sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
|
@ -1,5 +1,19 @@
|
||||||
<?xml version='1.0' standalone='yes'?>
|
<?xml version='1.0' standalone='yes'?>
|
||||||
<posts>
|
<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>
|
<post>
|
||||||
<title>From pBlog to Rangitaki</title>
|
<title>From pBlog to Rangitaki</title>
|
||||||
<pubdate>12 May 2015</pubdate>
|
<pubdate>12 May 2015</pubdate>
|
||||||
|
|
Reference in a new issue