aboutsummaryrefslogtreecommitdiffstats
path: root/generate.php
diff options
context:
space:
mode:
authorFrançois Kooman <fkooman@tuxed.net>2016-06-07 09:27:10 +0200
committerFrançois Kooman <fkooman@tuxed.net>2016-06-07 09:27:10 +0200
commit7c14e0018152f8d4226ed969909db49a30cfcce9 (patch)
tree3e6273521a0e33d91e3cd41693694c316923a126 /generate.php
parent552b839c8e3b93b65b723d322355faf298153a68 (diff)
downloadwww.tuxed.net-7c14e0018152f8d4226ed969909db49a30cfcce9.zip
www.tuxed.net-7c14e0018152f8d4226ed969909db49a30cfcce9.tar.gz
www.tuxed.net-7c14e0018152f8d4226ed969909db49a30cfcce9.tar.xz
update style a bit
Diffstat (limited to 'generate.php')
-rw-r--r--generate.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/generate.php b/generate.php
index f1c9c40..c7a7189 100644
--- a/generate.php
+++ b/generate.php
@@ -9,11 +9,12 @@ $postDir = sprintf('%s/posts', __DIR__);
$outputDir = sprintf('%s/output', __DIR__);
$templateDir = sprintf('%s/views', __DIR__);
-$blogTitle = "François' Weblog";
+$blogTitle = "François' Blog";
$blogDescription = 'Just another boring weblog.';
$blogUrl = 'https://www.tuxed.net/fkooman/blog/';
$blogAuthor = 'François Kooman';
$blogAuthorTwitter = 'fkooman';
+$blogAuthorGitHub = 'fkooman';
$blogAuthorMail = 'fkooman@tuxed.net';
$blogPosts = [];
@@ -70,6 +71,7 @@ $indexPage = $tpl->render(
'blogAuthor' => $blogAuthor,
'blogAuthorMail' => $blogAuthorMail,
'blogAuthorTwitter' => $blogAuthorTwitter,
+ 'blogAuthorGitHub' => $blogAuthorGitHub,
]
);
@@ -83,6 +85,7 @@ foreach ($postsList as $post) {
'blogAuthor' => $blogAuthor,
'blogAuthorMail' => $blogAuthorMail,
'blogAuthorTwitter' => $blogAuthorTwitter,
+ 'blogAuthorGitHub' => $blogAuthorGitHub,
]
);
file_put_contents($outputDir.'/'.$post['fileName'], $postPage);