]> git.openfl.eu Git - yampl.git/commitdiff
extend project details
authorFl_GUI <flor.guilini@hotmail.com>
Sun, 26 Jan 2025 16:45:41 +0000 (17:45 +0100)
committerFl_GUI <flor.guilini@hotmail.com>
Sun, 26 Jan 2025 16:45:41 +0000 (17:45 +0100)
compose.yaml
examples/templates/yampl/main.html
examples/toml/yampl.toml
static/style.css

index 2b584ec3775351705bcc1d84f766da746cfbe942..2fb2a450959da95c660a3250c397aea4fcbaf430 100644 (file)
@@ -9,13 +9,8 @@ services:
     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:
index d9559c58702c133cc0f9e284ffbf2baf4bb9f2ec..83bc12991380f7cc224d3192dc5ee4fc1e425e57 100644 (file)
@@ -7,8 +7,9 @@
   <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/>
index bb4bd89480a124222fd1342ad248144e0d0ffc69..da27d244a7ebd27647c604e66386e835670cbaff 100644 (file)
@@ -1,9 +1,11 @@
 [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"
index 936cbf1e25fc41b300109f7d11a18707a22a7931..220232d9494c0304152cdd48f9242d942cfc34b3 100644 (file)
@@ -1,10 +1,11 @@
 body {
-  background-color: white;
   display: flex;
   justify-content: center;
   font-family: monospace;
   background-color: blanchedalmond;
+  font-size: xxx-large;
 }
+
 .column {
   max-width: 50%;
 }
@@ -38,4 +39,4 @@ h2.centered  {
 
 .grayscale {
   filter: grayscale(100%);
-}
\ No newline at end of file
+}