Templatize title

This commit is contained in:
Jérôme Petazzoni
2017-10-24 17:44:05 +02:00
parent f56262bee0
commit 2a176edfb4
5 changed files with 8 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ exclude:
- elk-manual
- prom-manual
title: "Swarm: from Zero to Hero (DC17EU)"
chapters:
- |
class: title

View File

@@ -4,13 +4,15 @@ exclude:
chat: "[Gitter](https://gitter.im/jpetazzo/workshop-20171026-prague)"
title: "Deploying and Scaling Microservices with Docker and Kubernetes"
chapters:
- |
class: title
.small[
Deploying and scaling microservices <br/> with Docker and Kubernetes
Deploying and Scaling Microservices <br/> with Docker and Kubernetes
.small[.small[

View File

@@ -78,6 +78,7 @@ def generatefromyaml(manifest):
html = html.replace("@@MARKDOWN@@", markdown)
html = html.replace("@@EXCLUDE@@", exclude)
html = html.replace("@@CHAT@@", manifest["chat"])
html = html.replace("@@TITLE@@", manifest["title"])
return html

View File

@@ -3,6 +3,8 @@ exclude:
chat: FIXME
title: Docker Orchestration Workshop
chapters:
- |
class: title

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Docker Orchestration Workshop</title>
<title>@@TITLE@@</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="workshop.css">
</head>