mirror of
https://github.com/there4/markdown-resume.git
synced 2024-12-03 08:59:35 -05:00
Update build to account for the pdf producers odd behavior with paths.
This commit is contained in:
parent
abc35ac94b
commit
370b936037
8
.gitignore
vendored
8
.gitignore
vendored
@ -6,3 +6,11 @@ assets/templates/default.html
|
||||
output/resume.pdf
|
||||
|
||||
output/resume.html
|
||||
|
||||
resume/craig.md
|
||||
|
||||
output/craig-pdf.html
|
||||
|
||||
output/craig.html
|
||||
|
||||
output/craig.pdf
|
||||
|
@ -63,7 +63,7 @@ $css = new AssetCollection(
|
||||
$style = $css->dump();
|
||||
|
||||
$template = file_get_contents(APPLICATION_BASE_PATH . '/assets/templates/default.html');
|
||||
$resume = file_get_contents(APPLICATION_BASE_PATH . '/resume/resume.md');
|
||||
$resume = file_get_contents($source);
|
||||
|
||||
$resume = Markdown($resume);
|
||||
$resume = SmartyPants($resume);
|
||||
@ -87,7 +87,7 @@ $rendered = $m->render(
|
||||
);
|
||||
|
||||
file_put_contents(
|
||||
APPLICATION_BASE_PATH . '/output/resume.html',
|
||||
$output,
|
||||
$rendered
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user