ports:
- "8080:8080"
volumes:
- - static:/app/static
- - templates:/app/templates
- - toml:/app/toml
+ - ./static:/app/static
+ - ./examples/templates/yampl:/app/templates
+ - ./examples/toml/:/app/toml
command:
/app/toml/yampl.toml
-
-volumes:
- static:
- templates:
- toml:
<body>
<div class="column">
{{ with .Project }}
- <h1> {{ .projectname }} </h1>
- <p> {{ .projectdescription }} </p>
+ <h1> {{ .name }} </h1>
+ <p> {{ .description }} </p>
+ <a href="{{ .source }}" > git </a>
{{ end }}
<h2 class="centered"> backlog </h2>
<hr/>
[project]
-projectname = "yampl"
-projectdescription = '''
+name = "yampl"
+description = '''
A toml-to-html site generator for project management.
You are looking at it right now!
+The name was originally chosen as a combination of yaml and templates, but I switched to toml files.
'''
+source="https://git.openfl.eu/?p=yampl.git"
[[items]]
name = "hello world"
body {
- background-color: white;
display: flex;
justify-content: center;
font-family: monospace;
background-color: blanchedalmond;
+ font-size: xxx-large;
}
+
.column {
max-width: 50%;
}
.grayscale {
filter: grayscale(100%);
-}
\ No newline at end of file
+}