fix template stuff

This commit is contained in:
Astro 2016-07-06 19:48:52 +02:00
parent 06526c4d75
commit 31818009e0
3 changed files with 11 additions and 7 deletions

View File

@ -1,6 +1,10 @@
ALL: $(patsubst dates/%.yaml, dates/%, $(wildcard dates/*.yaml))
TARGETS=$(patsubst dates/%.yaml, dates/%, $(wildcard dates/*.yaml))
ALL: clean ${TARGETS}
dates/%: dates/%.yaml
clean:
rm -rf ${TARGETS}
dates/%:
mkdir -p $@
./generate.rb $< $@
./generate.rb $@.yaml $@
make -C $@

View File

@ -1,5 +1,5 @@
title: Digitale Selbstverteidigung
author: Marius
presenters: Marius
organization: Chaos Computer Club Dresden
date: 22.06.2016

View File

@ -21,9 +21,9 @@
\pgfsetlayers{main,foreground}
\logo{\pgfputat{\pgfxy(-1,0)}{\pgfbox[center,base]{\pgfuseimage{c3d2logo}}}}
\title{<%= @title %>}
\author{\small <%= @presenters %> \\\large Chaos Computer Club Dresden}
\date{<%= @date %>}
\title{<%= lecture['title'] %>}
\author{\small <%= lecture['presenters'] %> \\\large <%= lecture['organization'] %>}
\date{<%= lecture['date'] %>}
\begin{document}
\maketitle