From 67c5b83e3033206cc22aead401d4a9ec796c5158 Mon Sep 17 00:00:00 2001 From: Ahmad Nazir Raja Date: Fri, 16 May 2014 00:07:39 +0200 Subject: [PATCH] Using the bootswatch 'readable' template. --- src/Resume/Command/HtmlCommand.php | 3 +++ templates/readable/description.txt | 1 + templates/readable/links/bootswatch | 1 + 3 files changed, 5 insertions(+) create mode 100644 templates/readable/description.txt create mode 100644 templates/readable/links/bootswatch diff --git a/src/Resume/Command/HtmlCommand.php b/src/Resume/Command/HtmlCommand.php index 86e6d6e..a88ffe1 100644 --- a/src/Resume/Command/HtmlCommand.php +++ b/src/Resume/Command/HtmlCommand.php @@ -119,6 +119,8 @@ class HtmlCommand extends Command $style = $this->generateContent($templatePath, 'css'); + $links = $this->generateContent($templatePath, 'links'); + $templateContent = file_get_contents($templateIndexPath); $resumeContent = file_get_contents($source); @@ -139,6 +141,7 @@ class HtmlCommand extends Command $rendered = $m->render($templateContent, array( 'title' => $title, 'style' => $style, + 'links' => $links, 'resume' => $resumeHtml, 'reload' => (bool) $refresh, 'refresh_rate' => $refresh diff --git a/templates/readable/description.txt b/templates/readable/description.txt new file mode 100644 index 0000000..ab3adfa --- /dev/null +++ b/templates/readable/description.txt @@ -0,0 +1 @@ +Bootswatch 'readable' theme diff --git a/templates/readable/links/bootswatch b/templates/readable/links/bootswatch new file mode 100644 index 0000000..d8b18ac --- /dev/null +++ b/templates/readable/links/bootswatch @@ -0,0 +1 @@ +