Add separate header file with pandoc metadata

This commit is contained in:
Josh Stewart 2023-07-13 13:22:37 +10:00
parent 2cce610397
commit 6ee57a3ad1
3 changed files with 17 additions and 8 deletions

15
header.md Normal file
View File

@ -0,0 +1,15 @@
---
title: Speeduino Manual
description: The Speeduino documentation manual
published: true
date: 2023-07-12T23:46:25.501Z
tags: header
editor: markdown
dateCreated: 2020-01-05T22:26:30.455Z
titlepage: true
titlepage-rule-height: 2
titlepage-rule-color: 360049
titlepage-background: offline/background1.pdf
titlepage-logo: offline/logo.png
logo-width: 350pt
---

View File

@ -6,12 +6,6 @@ date: 2023-07-12T23:46:25.501Z
tags: home
editor: markdown
dateCreated: 2020-01-05T22:26:30.455Z
titlepage: true
titlepage-rule-height: 2
titlepage-rule-color: 360049
titlepage-background: offline/background1.pdf
logo: offline/logo.png
logo-width: 350
---
# Introduction

View File

@ -51,8 +51,8 @@ do
done
echo ${PANDOC_PATH}pandoc ${ARGS} ${METADATA_ARGS} ${PDF_ARGS} -o ${OUTPUT_FILENAME} ${CHAPTERS}
${PANDOC_PATH}pandoc ${ARGS} ${METADATA_ARGS} ${PDF_ARGS} -o ${OUTPUT_FILENAME} ${CHAPTERS}
echo ${PANDOC_PATH}pandoc ${ARGS} ${METADATA_ARGS} ${PDF_ARGS} -o ${OUTPUT_FILENAME} header.md ${CHAPTERS}
${PANDOC_PATH}pandoc ${ARGS} ${METADATA_ARGS} ${PDF_ARGS} -o ${OUTPUT_FILENAME} header.md ${CHAPTERS}
#Copy the produced PDF back to the main directory
#cp ${OUTPUT_FILENAME} ${CUR_PATH}/offline