Add default project structure

This commit is contained in:
Knoch 2019-11-26 20:17:14 +01:00
parent 0359329dab
commit 34bd4bc6a1
10 changed files with 55 additions and 9 deletions

1
onpoint/__init__.py Normal file
View File

@ -0,0 +1 @@
# Our python script goes here.

View File

@ -1,14 +1,16 @@
- lib - onpoint
- script.py - __init__.py
- test - test
- config.yml - meta.yml
- images
- slides - slides
- chapter1.en.md - chapter1.en.md
- chapter1.de.md - chapter1.de.md
- styles - styles
- style.sass - style.scss
- layouts - layouts
- - titlepage.html
- root.html
- lib - lib
- dist - dist
- project - project
@ -20,16 +22,16 @@
----------------------------------------- -----------------------------------------
- chapter1: - chapter1:
source: chapter1 source: chapter1
# implizit: chapter1.<lang>.md, # implizit: chapter1.<lang>.md,
# optional # optional
default_layout: <layout> # optional
----------------------------------------- -----------------------------------------
Config Config
----------------------------------------- -----------------------------------------
footer: default_layout: <layout> # optional
footer:
de: Fußzeile de: Fußzeile
en: footer en: footer

0
test/images/.gitkeep Normal file
View File

12
test/layouts/root.html Normal file
View File

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="@language">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>@title</title>
</head>
<body>
@slides <!-- reserved keyword -->
</body>
</html>

View File

@ -0,0 +1,2 @@
<h1>@title(inline)</h1>
<div>@content</div>

6
test/meta.yml Normal file
View File

@ -0,0 +1,6 @@
language: # available language options and their value for the html lang attribute
de: de
en: en
title:
de: Präsentation zur Demonstration
en: Presentation for Demonstration Purposes

0
test/slides.yml Normal file
View File

View File

@ -0,0 +1,10 @@
@slide(layout=titlepage)
@title
Wirklich auf den Punkt!
@content
* Stichpunkt 1
* Stichpunkt 2
* Stichpunkt 3
* Stichpunkt 4

View File

@ -0,0 +1,10 @@
@slide(layout=titlepage)
@title
OnPoint for real!
@content
* bullet point 1
* bullet point 2
* bullet point 3
* bullet point 4

3
test/styles/style.scss Normal file
View File

@ -0,0 +1,3 @@
* {
box-sizing: border-box
}