mirror of
https://github.com/Noratrieb/website.git
synced 2026-01-15 01:15:02 +01:00
switch templating to tera
This commit is contained in:
parent
2d2c820510
commit
fa7baa71cc
8 changed files with 603 additions and 151 deletions
|
|
@ -16,8 +16,8 @@ pub fn build(config: &SlidesConfig, slides: &Path, dist: &Path) -> Result<()> {
|
|||
utils::cp_r(&slides.join("plugin"), &dist.join("plugin")).wrap_err("copying reveal.js dist")?;
|
||||
|
||||
for talk in &config.talks {
|
||||
let path = slides.join(talk.dirname());
|
||||
let dist = dist.join(talk.dirname());
|
||||
let path = slides.join(talk.dir_name());
|
||||
let dist = dist.join(talk.dir_name());
|
||||
|
||||
utils::cp_r(&path, &dist).wrap_err("copying slide data")?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue