WIP:bulma:FIX: HTML-Syntax
[website] / dist / templates / layout.html
index b210c32..e94ab58 100644 (file)
@@ -33,8 +33,8 @@
         </div>
       
         <div id="navbar" class="navbar-menu">
-          <div class="navbar-start">
-            <a class="navbar-item" href="../blog/" th:href="@{${entry.value}}">Blog</a>
+          <div class="navbar-start" th:each="entry : ${_sections}">
+            <a class="navbar-item" href="../blog/" th:href="@{${entry.value}}" th:text="${_titles.get(entry.value)}">Blog</a>
             <!--/*-->
             <a class="navbar-item" href="../projects.html">Projects</a>
             <a class="navbar-item" href="../about.html">About</a>
       </div>
     </nav>
     <section class="section">
+      <div class="container">
+        <div class="columns">
+          <div class="column is-8-desktop is-offset-2-desktop breadcrumb" aria-label="breadcrumbs">
+            <strong>You are here:</strong>
+            <ul>
+              <li><a href="../index.html" th:href="@{/index.html}">Home</a></li>
+              <li th:each="crumb: ${crumbs}"><a href="../projects.html" th:href="@{${crumb}}" th:text="${_titles.get(crumb)}">Projects</a></li>
+              <!--/*-->
+              <li class="is-active"><a class="b" th:text="${title}">Fix SWF</a></li>
+              <!--*/-->
+            </ul>
+            <a href="#nav" title="Show navigation menu">Jump to navigation</a>
+          </div>
+        </div>
+      </div>
+    </section>
+    <section class="section" id="top">
       <div class="container">
         <div class="columns">
           <div class="column is-8-desktop is-offset-2-desktop">
-            <div class="content">
-              <h3>Title</h3>
+            <h1 class="title" th:include="${title}">Title</h1>
+            <div class="content" th:fragment="maincontent">
               <p>
+                <strong>Lorem ipsum</strong> dolor
+                <a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}">sit amet</a>,
+                consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
+                labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
+                <a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}">exercitation</a>
+                ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
+                irure dolor in reprehenderit in voluptate velit esse cillum dolore
+                eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+                proident, sunt in culpa qui officia deserunt mollit anim id est
+                laborum.
+              </p>
+              <h2 class="title">Duis aute irure dolor</h2>
+              <ul>
+                <li>Operators and other mathematical stuff: -+/*</li>
+                <li>
+                  Characters offten used in programming languages:
+                  {(&lt;&gt;)}@$?%*#;:&amp;/\!^&#034;&#039;`~
+                </li>
+                <li>Special german characters: ÄäÖöÜü</li>
+                <li>Other special characters: @?¢§%°</li>
+              </ul>
+              <h2 class="title">Excepteur sint occaecat cupidatat</h2>
+              <p>
+                Lorem ipsum dolor <em>sit amet</em>, consectetur adipisicing elit,
+                sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+                Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
+                nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
+                reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
+                pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+                culpa qui officia deserunt mollit anim id est laborum.
+              </p>
+              <p>
+                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
+                eiusmod tempor incididunt ut labore et dolore magna aliqua.
+                <strong>Ut enim ad minim veniam, quis nostrud <em>exercitation
+                ullamco</em> laboris nisi ut aliquip ex ea commodo consequat</strong>.
+                Duis aute irure dolor in reprehenderit in voluptate velit esse
+                cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
+                cupidatat non proident, sunt in culpa qui officia deserunt mollit
+                anim id est laborum.
               </p>
-                Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text
               <ul>
                 <li>
                   <code><a href="https://github.com/jgthms/bulma">bulma</a></code>
                 <li>
                   <p>
                     <strong>Move</strong> to this directory:
-                    <br>
+                    <br />
                     <pre><code>cd bulma-start</code></pre>
                   </p>
                 </li>
                 <li>
                   <p>
                     <strong>Install</strong> all dependencies:
-                    <br>
+                    <br />
                     <pre><code>npm install</code></pre>
                   </p>
                 </li>
                 <li>
                   <p>
                     <strong>Start</strong> the CSS and JS watchers:
-                    <br>
+                    <br />
                     <pre><code>npm start</code></pre>
                   </p>
                 </li>
                 <li>
                   <p>
                     <strong>Edit</strong> <code>_sass/main.scss</code> by adding the following rule at the <strong>end</strong> of the file:
-                    <br>
+                    <br />
                     <pre><span style="color: #22863a;">html</span> {
-  <span style="color: #005cc5;"><span style="color: #005cc5;">background-color</span></span>: <span style="color: #24292e">$green</span>;
-}</pre>
+    <span style="color: #005cc5;"><span style="color: #005cc5;">background-color</span></span>: <span style="color: #24292e">$green</span>;
+  }</pre>
                   </p>
                 </li>
               </ol>
                 For example, this page is <strong>only</strong> built with the following <strong>Bulma elements</strong>:
               </p>
             </div>
+            <!--/*-->
             <table class="table is-bordered is-fullwidth">
               <thead>
                 <tr>
                 </a>
               </p>
             </div>
+            <!--*/-->
           </div>
         </div>
       </div>
     </section>
-    <footer class="footer has-text-centered">
+    <nav id="nav"
+        th:include="~{::#navigation}?:_"
+        th:with="section=${crumbs != null ? crumbs[0] : null}"
+        >
+      <hr class="n"/>
+      <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
+      <h1 class="nav">Navigation</h1>
+      <h2 class="nav menu">Section-Menu</h2>
+      <ul id="menu" class="cf">
+        <li class="m blog" th:each="entry : ${_sections}" th:class="'m ' + ${entry.key}">
+          <a href="../blog/" th:href="@{${entry.value}}" class="m" th:class="${entry.value == section} ? 'm selected' : 'm'" th:text="${_titles.get(entry.value)}">Blog</a>
+        </li>
+        <!--/*-->
+        <li class="m projects"><a href="../projects.html" class="m selected">Projects</a></li>
+        <li class="m about"><a href="../about.html" class="m">About</a></li>
+        <!--*/-->
+      </ul>
+      <h2 class="nav submenu">
+        <span class="s">Submenu for section</span>
+        <a class="s selected" href="../projects.html" th:href="@{${section}}" th:text="${_titles.get(section)}">Projects</a>
+      </h2>
+      <ul th:include="${submenu}?:_"
+          th:with="
+            len=${crumbs.size()},
+            submenu=${_childs.get(section)},
+            parent=${crumbs[0]},
+            pos=1"
+          id="submenu"
+          class="s"
+          th:class="'s' + (${len == 1 or (len == 2 and _childs.get(uri) == null)} ? ' selected' : '')"
+          >
+        <li th:fragment="submenu(submenu, parent, pos)"
+            th:each="entry : ${submenu}"
+            th:with="
+                child=${pos == len},
+                selected=${!child and crumbs.get(pos) == entry},
+                sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)},
+                childs=${entry == parent ? null : _childs.get(entry)}
+                "
+            class="s sub"
+            th:class="'s' + (${childs} ? ' sub' : '') + (${selected or sibling or child} ? '' : ' off')"
+            >
+          <a  href="../potemkin/fix-swf/overview.html"
+              th:if="${entry != parent}"
+              th:href="@{${entry}}"
+              class="s selected"
+              th:class="${selected} ? 's selected' : 's'"
+              th:text="${_titles.get(entry)}"
+              >fix-swf</a>
+          <ul th:if="${selected and childs != null}"
+              class="s active"
+              th:class="'s' + (${selected &amp;&amp; pos == crumbs.size()-1} ? ' active' : '') + (${entry == uri or (len &gt; 1 and entry == crumbs.get(len-2) and _childs.get(uri) == null)} ? ' selected' : '')"
+              >
+            <li th:replace="this :: submenu(submenu=${childs}, parent=${entry}, pos=${pos + 1})"
+                class="s"
+                >
+              <strong class="s">Overview</strong>
+            </li>
+            <!--/*-->
+            <li class="s"><a href="../potemkin/fix-swf/getting-started.html" class="s">Getting Started</a></li>
+            <li class="s"><a href="#" class="s">FAQ</a></li>
+            <li class="s"><a href="#" class="s">Documentation</a></li>
+            <!--*/-->
+          </ul>
+        </li>
+        <!--/*-->
+        <li class="s sub off"><a href="#" class="s">hibernate4-maven-plugin</a></li>
+        <li class="s off"><a href="#" class="s">jquery.openx</a></li>
+        <li class="s sub off"><a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}" class="s">HTML-Experimente</a></li>
+        <li class="s sub off"><a href="#" class="s">accelerator</a></li>
+        <li class="s off"><a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}" class="s">Typography</a></li>
+        <!--*/-->
+      </ul>
+      <hr class="n"/>
+    </nav>
+    <aside class="m" th:insert="${marginalcontent}?:~{}">
+    <!--/* the following  is only visible during natural templating -->
+      <h1>Other nasty but marginal stuff</h1>
+      <p>
+        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
+        eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
+        ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
+        aliquip ex ea commodo consequat. Duis aute irure dolor in
+        reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
+        pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+        culpa qui officia deserunt mollit anim id est laborum.
+      </p>
+    </aside>
+    <aside class="m">
+      <h1>More nasty stuff</h1>
+      <p>
+        This one is really short!
+      </p>
+    <!--*/-->
+    </aside>
+    <footer class="footer">
       <div class="container">
-         <div class="columns">
+        <div class="columns">
           <div class="column is-8-desktop is-offset-2-desktop">
-            <p>
-              <strong class="has-text-weight-semibold">
-                <a href="https://www.npmjs.com/package/bulma-start">bulma-start@0.0.4</a>
-              </strong>
-            </p>
-            <p>
-              <small>
-                Source code licensed <a href="http://opensource.org/licenses/mit-license.php">MIT</a>
-              </small>
-            </p>
-            <p style="margin-top: 1rem;">
-              <a href="http://bulma.io">
-                <img src="made-with-bulma.png" alt="Made with Bulma" width="128" height="24">
-              </a>
-            </p>
+            <div class="level">
+              <div class="level-left">
+                <span class="level-item">© <strong>mo</strong> 2021</span>
+              </div>
+              <div class="level-right" id="footerlinks" th:include="~{::#links}?:_">
+                <a class="level-item" href="../impressum.html" th:href="@{/impressum.html}">Impressum</a>
+                <a class="level-item" href="../datenschutz.html" th:href="@{/datenschutz.html}">Datenschutz</a>
+              </div>
+            </div>
           </div>
         </div>
       </div>
     </footer>
-    <div id="page" class="cf">
-      <header id="header"><!-- TODO: Vereinfachung -> für uri == index.html a gegen strong ausstauschen -->
-        <hr class="h" />
-      </header>
-      <div id="breadcrumb">
-        <strong class="b title">You are here:</strong>
-        <ol class="b" th:include="~{::#crumbs}?:_">
-          <li class="b"><a class="b" href="../index.html" th:href="@{/index.html}">Home</a></li>
-          <li class="b" th:each="crumb: ${crumbs}">
-            <a class="b" href="../projects.html" th:href="@{${crumb}}" th:text="${_titles.get(crumb)}">Projects</a>
-          </li>
-          <!--/*-->
-          <li class="b"><strong class="b" th:text="${title}">Fix SWF</strong></li>
-          <!--*/-->
-        </ol>
-        <a class="hide" href="#nav" title="Show navigation menu">Jump to navigation</a>
-        <hr class="b" />
-      </div>
-      <main class="content cf">
-        <article id="content" class="main" th:include="${maincontent}">
-          <header><h1 th:include="${title}">juplo - BASISTEMPLATE</h1></header>
-          <div th:fragment="maincontent">
-            <p>
-              <strong>Lorem ipsum</strong> dolor
-              <a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}">sit amet</a>,
-              consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
-              labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
-              <a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}">exercitation</a>
-              ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
-              irure dolor in reprehenderit in voluptate velit esse cillum dolore
-              eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
-              proident, sunt in culpa qui officia deserunt mollit anim id est
-              laborum.
-            </p>
-            <h2>Duis aute irure dolor</h2>
-            <ul>
-              <li>Operators and other mathematical stuff: -+/*</li>
-              <li>
-                Characters offten used in programming languages:
-                {(&lt;&gt;)}@$?%*#;:&amp;/\!^&#034;&#039;`~
-              </li>
-              <li>Special german characters: ÄäÖöÜü</li>
-              <li>Other special characters: @?¢§%°</li>
-            </ul>
-            <h2>Excepteur sint occaecat cupidatat</h2>
-            <p>
-              Lorem ipsum dolor <em>sit amet</em>, consectetur adipisicing elit,
-              sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-              Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
-              nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
-              reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
-              pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
-              culpa qui officia deserunt mollit anim id est laborum.
-            </p>
-            <p>
-              Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
-              eiusmod tempor incididunt ut labore et dolore magna aliqua.
-              <strong>Ut enim ad minim veniam, quis nostrud <em>exercitation
-              ullamco</em> laboris nisi ut aliquip ex ea commodo consequat</strong>.
-              Duis aute irure dolor in reprehenderit in voluptate velit esse
-              cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
-              cupidatat non proident, sunt in culpa qui officia deserunt mollit
-              anim id est laborum.
-            </p>
-          </div>
-        </article>
-        <div class="marginal">
-          <nav id="nav"
-              th:include="~{::#navigation}?:_"
-              th:with="section=${crumbs != null ? crumbs[0] : null}"
-              >
-            <hr class="n"/>
-            <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
-            <h1 class="nav">Navigation</h1>
-            <h2 class="nav menu">Section-Menu</h2>
-            <ul id="menu" class="cf">
-              <li class="m blog" th:each="entry : ${_sections}" th:class="'m ' + ${entry.key}">
-                <a href="../blog/" th:href="@{${entry.value}}" class="m" th:class="${entry.value == section} ? 'm selected' : 'm'" th:text="${_titles.get(entry.value)}">Blog</a>
-              </li>
-              <!--/*-->
-              <li class="m projects"><a href="../projects.html" class="m selected">Projects</a></li>
-              <li class="m about"><a href="../about.html" class="m">About</a></li>
-              <!--*/-->
-            </ul>
-            <h2 class="nav submenu">
-              <span class="s">Submenu for section</span>
-              <a class="s selected" href="../projects.html" th:href="@{${section}}" th:text="${_titles.get(section)}">Projects</a>
-            </h2>
-            <ul th:include="${submenu}?:_"
-                th:with="
-                  len=${crumbs.size()},
-                  submenu=${_childs.get(section)},
-                  parent=${crumbs[0]},
-                  pos=1"
-                id="submenu"
-                class="s"
-                th:class="'s' + (${len == 1 or (len == 2 and _childs.get(uri) == null)} ? ' selected' : '')"
-                >
-              <li th:fragment="submenu(submenu, parent, pos)"
-                  th:each="entry : ${submenu}"
-                  th:with="
-                      child=${pos == len},
-                      selected=${!child and crumbs.get(pos) == entry},
-                      sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)},
-                      childs=${entry == parent ? null : _childs.get(entry)}
-                      "
-                  class="s sub"
-                  th:class="'s' + (${childs} ? ' sub' : '') + (${selected or sibling or child} ? '' : ' off')"
-                  >
-                <a  href="../potemkin/fix-swf/overview.html"
-                    th:if="${entry != parent}"
-                    th:href="@{${entry}}"
-                    class="s selected"
-                    th:class="${selected} ? 's selected' : 's'"
-                    th:text="${_titles.get(entry)}"
-                    >fix-swf</a>
-                <ul th:if="${selected and childs != null}"
-                    class="s active"
-                    th:class="'s' + (${selected &amp;&amp; pos == crumbs.size()-1} ? ' active' : '') + (${entry == uri or (len &gt; 1 and entry == crumbs.get(len-2) and _childs.get(uri) == null)} ? ' selected' : '')"
-                    >
-                  <li th:replace="this :: submenu(submenu=${childs}, parent=${entry}, pos=${pos + 1})"
-                      class="s"
-                      >
-                    <strong class="s">Overview</strong>
-                  </li>
-                  <!--/*-->
-                  <li class="s"><a href="../potemkin/fix-swf/getting-started.html" class="s">Getting Started</a></li>
-                  <li class="s"><a href="#" class="s">FAQ</a></li>
-                  <li class="s"><a href="#" class="s">Documentation</a></li>
-                  <!--*/-->
-                </ul>
-              </li>
-              <!--/*-->
-              <li class="s sub off"><a href="#" class="s">hibernate4-maven-plugin</a></li>
-              <li class="s off"><a href="#" class="s">jquery.openx</a></li>
-              <li class="s sub off"><a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}" class="s">HTML-Experimente</a></li>
-              <li class="s sub off"><a href="#" class="s">accelerator</a></li>
-              <li class="s off"><a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}" class="s">Typography</a></li>
-              <!--*/-->
-            </ul>
-            <hr class="n"/>
-          </nav>
-          <aside class="m" th:insert="${marginalcontent}?:~{}">
-          <!--/* the following  is only visible during natural templating -->
-            <h1>Other nasty but marginal stuff</h1>
-            <p>
-              Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
-              eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
-              ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
-              aliquip ex ea commodo consequat. Duis aute irure dolor in
-              reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
-              pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
-              culpa qui officia deserunt mollit anim id est laborum.
-            </p>
-          </aside>
-          <aside class="m">
-            <h1>More nasty stuff</h1>
-            <p>
-              This one is really short!
-            </p>
-          <!--*/-->
-          </aside>
-        </div>
-      </main>
-      <footer id="footer">
-        <hr class="f" />
-        <ul id="footerlinks" th:include="~{::#links}?:_">
-          <li class="f" id="copyright">© <strong>mo</strong> 2013</li>
-          <li class="f"><a class="f" href="../impressum.html" th:href="@{/impressum.html}">Impressum</a></li>
-          <li class="f"><a class="f" href="../datenschutz.html" th:href="@{/datenschutz.html}">Datenschutz</a></li>
-        </ul>
-      </footer>
     </div>
   </body>
 </html>