]> juplo.de Git - website/commitdiff
Shortcode für Auflistung der letzten Blog-Beiträge
authorKai Moritz <kai@juplo.de>
Sat, 18 Apr 2026 14:43:52 +0000 (16:43 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 18 Apr 2026 14:44:29 +0000 (16:44 +0200)
exampleSite/content/_index.html [deleted file]
exampleSite/content/_index.md [new file with mode: 0644]
layouts/_shortcodes/recent-posts.html [new file with mode: 0644]

diff --git a/exampleSite/content/_index.html b/exampleSite/content/_index.html
deleted file mode 100644 (file)
index edc7f1f..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
----
-title: "Home"
-layout: article
----
-      <div class="pack bg cf">
-        <div class="p right">
-          <h2>Work In Progress…</h2>
-          <p>This page is under heavy construction.</p>
-          <p style="text-align: center"><img alt="Man bashing his head on a computer-keyboard" src="/img/wip.gif"></p>
-          <p>So, please be patiance with us…</p>
-        </div>
-        <div class="p left">
-          <h2>About juplo</h2>
-          <ul>
-            <li><a href="/about.html" title="Visit my about-pag">More about juplo</a></li>
-            <li><a href="/blog" title="(Hopefully) helpful stuff">Blog</a></li>
-            <li><a href="/projects.html" title="All current projects">Projects</a></li>
-            <li><a href="/contact.html" title="All contact-information on a glance">Contact</a></li>
-          </ul>
-        </div>
-      </div>
-      <div class="single">
-        <h1>Hibernate Maven Plugin</h1>
-        <p><strong>A simple Plugin for generating a Database-Schema from Hibernate Mappings</strong></p>
-        <p>hibernate-maven-plugin is a plugin for generating a database-schema from your Hibernate mappings and create or update your database accordingly. Its main usage is to automatically create and populate a test-database for unit-tests in cooperation with the dbunit-maven-plugin.</p>
-        <p><a href="/hibernate-maven-plugin/index.html" title="Visit the plugin-documentation">Learn more...</a></p>
-      </div>
-      <div class="widget widget_recent_entries">
-        <h2 class="widgettitle">Recent Posts</h2>
-        <ul>
-          <li><a href="http://juplo.de/show-spring-boot-auto-configuration-report-when-running-via-mvn-spring-boot-run/">Show Spring-Boot Auto-Configuration-Report When Running Via “mvn spring-boot:run”</a></li>
-          <li><a href="http://juplo.de/parsing-json-from-facebooks-graph-api-using-jackson-2-x-and-javas-new-time-api/">Parsing JSON From Facebooks Graph-API Using Jackson 2.x And Java’s New Time-API</a></li>
-          <li><a href="http://juplo.de/problems-deploying-a-spring-boot-app-as-war/">Problems Deploying A Spring-Boot-App As WAR</a></li>
-          <li><a href="http://juplo.de/hibernate-maven-plugin-2-0-0-released/">hibernate-maven-plugin 2.0.0 released!</a></li>
-          <li><a href="http://juplo.de/release-of-a-maven-plugin-to-maven-central-fails-with-error-unknown-tag-goal/">Release Of A Maven-Plugin to Maven Central Fails With “error: unknown tag: goal”</a></li>
-        </ul>
-      </div>
diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md
new file mode 100644 (file)
index 0000000..0a06a39
--- /dev/null
@@ -0,0 +1,50 @@
+---
+_edit_last: "3"
+author: tortenheber
+date: "2014-03-11T17:38:46+00:00"
+guid: http://juplo.de/?page_id=271
+parent_post_id: null
+post_id: "271"
+title: Home
+url: /
+
+---
+<div class="pack bg cf">
+  <div class="p right">
+    <h2>Hibernate Maven Plugin</h2>
+    <p><strong>A simple Plugin for generating a Database-Schema from Hibernate Mappings</strong></p>
+    <p>hibernate-maven-plugin is a plugin for generating a database-schema from your Hibernate mappings and create or update your database accordingly. Its main usage is to automatically create and populate a test-database for unit-tests in cooperation with the dbunit-maven-plugin.</p>
+    <p><a href="/hibernate-maven-plugin/index.html" title="Visit the plugin-documentation">Learn more...</a></p>
+  </div>
+  <div class="p left">
+    <h2>Work In Progress…</h2>
+    <p>This page is under heavy construction.</p>
+    <p style="text-align: center"><img alt="Man bashing his head on a computer-keyboard" src="/img/wip.gif"></p>
+    <p>So, please be patiance with us…</p>
+  </div>
+</div>
+<div class="single">
+  <h2 class="widgettitle">Recent Posts</h2>
+  {{< recent-posts >}}
+  </ul>
+</div>
+{{< marginalcontent-md >}}
+## About juplo
+
+- [More about juplo](/about.html "Visit my about-pag")
+- [Blog](/blog/ "(Hopefully) helpful stuff")
+- [Projects](/projects/ "All current projects")
+- [Contact](/contact.html "All contact-information on a glance")
+{{< /marginalcontent-md >}}
+{{< marginalcontent-md >}}
+## Funded by the Europian Union
+
+As partner of the company
+[yourSHOUTER UG (haftungsbeschränkt)](http://yourshouter.com "Visit the Homepage of the company")
+we publish results of a
+[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
+that is funded by the European Union and the federal state Northrhine-Westphalia.
+
+[<img alt="Europäische Union: Investitionen in unsere Zukunft - Europäischer Fonds für regionale Entwicklung" src="/img/EFRE_Foerderhinweis_deutsch_farbig.svg" width="100%"><img alt="EFRE.NRW 2014-2020: Invesitionen in Wachstum und Beschäftigung" src="/img/Ziel2NRW_4c_1809_eps.svg" width="100%">](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
+{{< /marginalcontent-md >}}
+
diff --git a/layouts/_shortcodes/recent-posts.html b/layouts/_shortcodes/recent-posts.html
new file mode 100644 (file)
index 0000000..fc09249
--- /dev/null
@@ -0,0 +1,5 @@
+<ul>
+{{ range first 5 (where .Site.RegularPages "Section" "in" "blog") }}
+   <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
+{{ end }}
+</ul>