diff options
| Commit | f1a15c793b1a04aebd2eb2e90de176b8d387d78c (patch) | |
|---|---|---|
| Author | 2018-09-15 16:37:30 +0300 | |
| Committer | 2018-09-15 18:25:01 +0300 | |
| Files | 8b6fbffd67adf5e15c576c174eb271e913068181 /website | |
| IPL-f1a15c793b1a04aebd2eb2e90de176b8d387d78c.tar IPL-f1a15c793b1a04aebd2eb2e90de176b8d387d78c.tar.gz IPL-f1a15c793b1a04aebd2eb2e90de176b8d387d78c.zip | ||
| Parent | 1df22a637e5c5ac090f7d90c5c666da1b22964d5 (diff) | |
Moved slide template
2 files changed, 12 insertions, 2 deletions
| -rw-r--r-- | website/README.md | 6 | ||||
| -rw-r--r-- | website/content/slides/template/_index.md (renamed from website/content/slides/_index.md) | 8 |
diff --git a/website/README.md b/website/README.md index 8ad0142..319d6fb 100644 --- a/website/README.md +++ b/website/README.md @@ -34,11 +34,13 @@ The normal hugo way of creating new posts applies hugo new content/posts/post.md
hugo new content/page/page.md
+#### Creating new slides
+
Creating new slides requires using a different template. You can use the
*content/slides* as boilerplate.
- cp -R content/slides content/myslides
- edit content/myslides/_index.md
+ cp -R content/slides/template content/slides/myslides
+ edit content/slides/myslides/_index.md
### Checking out changes
diff --git a/website/content/slides/_index.md b/website/content/slides/template/_index.md index e14fb36..46f559f 100644 --- a/website/content/slides/_index.md +++ b/website/content/slides/template/_index.md @@ -16,4 +16,12 @@ outputs: ["Reveal"] FMI course stuff. +--- + + void f(int x) { + if (x) { + } + } + +--- |
