Add default project structure
This commit is contained in:
parent
0359329dab
commit
34bd4bc6a1
1
onpoint/__init__.py
Normal file
1
onpoint/__init__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
# Our python script goes here.
|
||||||
@ -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
0
test/images/.gitkeep
Normal file
12
test/layouts/root.html
Normal file
12
test/layouts/root.html
Normal 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>
|
||||||
2
test/layouts/titlepage.html
Normal file
2
test/layouts/titlepage.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<h1>@title(inline)</h1>
|
||||||
|
<div>@content</div>
|
||||||
6
test/meta.yml
Normal file
6
test/meta.yml
Normal 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
0
test/slides.yml
Normal file
10
test/slides/chapter1.de.md
Normal file
10
test/slides/chapter1.de.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
@slide(layout=titlepage)
|
||||||
|
|
||||||
|
@title
|
||||||
|
Wirklich auf den Punkt!
|
||||||
|
|
||||||
|
@content
|
||||||
|
* Stichpunkt 1
|
||||||
|
* Stichpunkt 2
|
||||||
|
* Stichpunkt 3
|
||||||
|
* Stichpunkt 4
|
||||||
10
test/slides/chapter1.en.md
Normal file
10
test/slides/chapter1.en.md
Normal 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
3
test/styles/style.scss
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
* {
|
||||||
|
box-sizing: border-box
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user