Struktur
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de-DE" dir="ltr">
|
||||
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
@@ -11,8 +11,8 @@
|
||||
<meta name="author" content="Ivenee Janz, Thomas Sindt" />
|
||||
|
||||
|
||||
<link rel="canonical" href="http://localhost:1313/posts/creating-a-new-theme/">
|
||||
<meta property="og:url" content="http://localhost:1313/posts/creating-a-new-theme/">
|
||||
<link rel="canonical" href="https://thomassindt.de/ivi/posts/creating-a-new-theme/">
|
||||
<meta property="og:url" content="https://thomassindt.de/ivi/posts/creating-a-new-theme/">
|
||||
<meta property="og:site_name" content="Ivis Homepage">
|
||||
<meta property="og:title" content="Creating a New Theme">
|
||||
<meta property="og:description" content="Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme.
|
||||
@@ -22,20 +22,20 @@ We’ll start with creating a new site with a very basic template. Then we’ll
|
||||
<meta property="article:section" content="posts">
|
||||
<meta property="article:published_time" content="2014-09-28T00:00:00+00:00">
|
||||
<meta property="article:modified_time" content="2014-09-28T00:00:00+00:00">
|
||||
<meta property="og:image" content="http://localhost:1313/posts/creating-a-new-theme/nyc.jpg">
|
||||
<meta property="og:image" content="https://thomassindt.de/ivi/posts/creating-a-new-theme/nyc.jpg">
|
||||
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:image" content="http://localhost:1313/posts/creating-a-new-theme/nyc.jpg">
|
||||
<meta name="twitter:image" content="https://thomassindt.de/ivi/posts/creating-a-new-theme/nyc.jpg">
|
||||
<meta name="twitter:title" content="Creating a New Theme">
|
||||
<meta name="twitter:description" content="Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme.
|
||||
We’ll start with creating a new site with a very basic template. Then we’ll add in a few pages and posts. With small variations on that, you will be able to create many different types of web sites.">
|
||||
|
||||
|
||||
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@id":"http://localhost:1313/#person","@type":"Person","homeLocation":{"@type":"Place","name":"Heidehof"},"image":"http://localhost:1313/headshot.jpg","jobTitle":"Körperpsychotherapeutin","name":"Ivenee Janz, Thomas Sindt","sameAs":["https://github.com/","https://instagram.com/","https://linkedin.com/","https://patreon.com/","https://youtube.com/"],"url":"http://localhost:1313/"},{"@id":"http://localhost:1313/posts/creating-a-new-theme/","@type":"BlogPosting","author":{"@id":"http://localhost:1313/#person"},"dateModified":"2014-09-28T00:00:00Z","datePublished":"2014-09-28T00:00:00Z","description":"Ivis Homepage für Euch","headline":"Creating a New Theme","image":"http://localhost:1313/posts/creating-a-new-theme/nyc.jpg","inLanguage":"de-DE","isPartOf":{"@id":"http://localhost:1313/#website"},"mainEntityOfPage":"http://localhost:1313/posts/creating-a-new-theme/","name":"Creating a New Theme","publisher":{"@id":"http://localhost:1313/#person"},"url":"http://localhost:1313/posts/creating-a-new-theme/"}]}</script>
|
||||
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@id":"https://thomassindt.de/ivi/#person","@type":"Person","homeLocation":{"@type":"Place","name":"Heidehof"},"image":"https://thomassindt.de/ivi/ivi.jpg","jobTitle":"Körperpsychotherapeutin","name":"Ivenee Janz, Thomas Sindt","sameAs":["https://github.com/","https://instagram.com/","https://linkedin.com/","https://patreon.com/","https://youtube.com/"],"url":"https://thomassindt.de/ivi/"},{"@id":"https://thomassindt.de/ivi/posts/creating-a-new-theme/","@type":"BlogPosting","author":{"@id":"https://thomassindt.de/ivi/#person"},"dateModified":"2014-09-28T00:00:00Z","datePublished":"2014-09-28T00:00:00Z","description":"Ivis Homepage für Euch","headline":"Creating a New Theme","image":"https://thomassindt.de/ivi/posts/creating-a-new-theme/nyc.jpg","inLanguage":"de-DE","isPartOf":{"@id":"https://thomassindt.de/ivi/#website"},"mainEntityOfPage":"https://thomassindt.de/ivi/posts/creating-a-new-theme/","name":"Creating a New Theme","publisher":{"@id":"https://thomassindt.de/ivi/#person"},"url":"https://thomassindt.de/ivi/posts/creating-a-new-theme/"}]}</script>
|
||||
|
||||
|
||||
<link href="/css/katex.min.9e0577d7101023e29eacd62ce616012cadc4d9f4f9c5ea0543ca5f32c2e00da8.css" rel="stylesheet" integrity="sha256-ngV31xAQI+KerNYs5hYBLK3E2fT5xeoFQ8pfMsLgDag=" crossorigin="anonymous">
|
||||
<link href="/ivi/css/katex.min.9e0577d7101023e29eacd62ce616012cadc4d9f4f9c5ea0543ca5f32c2e00da8.css" rel="stylesheet" integrity="sha256-ngV31xAQI+KerNYs5hYBLK3E2fT5xeoFQ8pfMsLgDag=" crossorigin="anonymous">
|
||||
<meta name="theme-color" content="#f7f3eb" media="(prefers-color-scheme: light)">
|
||||
<meta name="theme-color" content="#20201d" media="(prefers-color-scheme: dark)">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
@@ -44,7 +44,7 @@ We’ll start with creating a new site with a very basic template. Then we’ll
|
||||
|
||||
|
||||
|
||||
<link href="/css/noesis.min.38d798e1fe17d82ca96fb225efb02b30fff54c360db27974e5dce8dc3b20c987.css" rel="stylesheet" integrity="sha256-ONeY4f4X2Cypb7Il77ArMP/1TDYNsnl05dzo3DsgyYc=" crossorigin="anonymous">
|
||||
<link href="/ivi/css/noesis.min.38d798e1fe17d82ca96fb225efb02b30fff54c360db27974e5dce8dc3b20c987.css" rel="stylesheet" integrity="sha256-ONeY4f4X2Cypb7Il77ArMP/1TDYNsnl05dzo3DsgyYc=" crossorigin="anonymous">
|
||||
|
||||
|
||||
|
||||
@@ -55,18 +55,18 @@ We’ll start with creating a new site with a very basic template. Then we’ll
|
||||
<nav class="nav-bar side-padding" aria-label="Primary navigation">
|
||||
|
||||
|
||||
<p class="nav-header"><a href="/" class="nav-text">Ivenee Janz</a></p>
|
||||
<p class="nav-header"><a href="/ivi/" class="nav-text">Ivenee Janz</a></p>
|
||||
<ul class="nav-links">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/about/">über mich</a></li>
|
||||
<li><a href="/ivi/">Home</a></li>
|
||||
<li><a href="/ivi/about/">über mich</a></li>
|
||||
|
||||
<li><a href="/categories/development/">Development</a></li>
|
||||
<li><a href="/ivi/categories/development/">Development</a></li>
|
||||
|
||||
<li><a href="/categories/features/">Features</a></li>
|
||||
<li><a href="/ivi/categories/features/">Features</a></li>
|
||||
|
||||
<li><a href="/categories/golang/">Golang</a></li>
|
||||
<li><a href="/ivi/categories/golang/">Golang</a></li>
|
||||
|
||||
<li><a href="/categories/web/">Web</a></li>
|
||||
<li><a href="/ivi/categories/web/">Web</a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
@@ -82,16 +82,16 @@ We’ll start with creating a new site with a very basic template. Then we’ll
|
||||
<span></span>
|
||||
</div>
|
||||
<ul id="menu" class="hamburger-menu-overlay">
|
||||
<li><a href="/" class="hamburger-menu-overlay-link">Home</a></li>
|
||||
<li><a href="/about/" class="hamburger-menu-overlay-link">über mich</a></li>
|
||||
<li><a href="/ivi/" class="hamburger-menu-overlay-link">Home</a></li>
|
||||
<li><a href="/ivi/about/" class="hamburger-menu-overlay-link">über mich</a></li>
|
||||
|
||||
<li><a href="/categories/development/" class="hamburger-menu-overlay-link">Development</a></li>
|
||||
<li><a href="/ivi/categories/development/" class="hamburger-menu-overlay-link">Development</a></li>
|
||||
|
||||
<li><a href="/categories/features/" class="hamburger-menu-overlay-link">Features</a></li>
|
||||
<li><a href="/ivi/categories/features/" class="hamburger-menu-overlay-link">Features</a></li>
|
||||
|
||||
<li><a href="/categories/golang/" class="hamburger-menu-overlay-link">Golang</a></li>
|
||||
<li><a href="/ivi/categories/golang/" class="hamburger-menu-overlay-link">Golang</a></li>
|
||||
|
||||
<li><a href="/categories/web/" class="hamburger-menu-overlay-link">Web</a></li>
|
||||
<li><a href="/ivi/categories/web/" class="hamburger-menu-overlay-link">Web</a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
@@ -109,9 +109,9 @@ We’ll start with creating a new site with a very basic template. Then we’ll
|
||||
</header>
|
||||
<figure class="post-figure">
|
||||
<picture>
|
||||
<source type="image/webp" srcset="/posts/creating-a-new-theme/nyc_hu_aa22032a9c73e958.webp 711w" sizes="(min-width: 711px) 711px, 100vw">
|
||||
<source srcset="/posts/creating-a-new-theme/nyc_hu_e2b77df621ede46.jpg 711w" sizes="(min-width: 711px) 711px, 100vw">
|
||||
<img src="/posts/creating-a-new-theme/nyc_hu_e2b77df621ede46.jpg" width="711" height="474" alt="The New York City skyline" loading="eager" decoding="async">
|
||||
<source type="image/webp" srcset="/ivi/posts/creating-a-new-theme/nyc_hu_aa22032a9c73e958.webp 711w" sizes="(min-width: 711px) 711px, 100vw">
|
||||
<source srcset="/ivi/posts/creating-a-new-theme/nyc_hu_e2b77df621ede46.jpg 711w" sizes="(min-width: 711px) 711px, 100vw">
|
||||
<img src="/ivi/posts/creating-a-new-theme/nyc_hu_e2b77df621ede46.jpg" width="711" height="474" alt="The New York City skyline" loading="eager" decoding="async">
|
||||
</picture>
|
||||
|
||||
</figure>
|
||||
@@ -926,7 +926,7 @@ $ vi themes/zafta/layouts/_default/single.html
|
||||
|
||||
</main>
|
||||
<nav class="end-nav side-padding" aria-label="Article navigation">
|
||||
<a href="/posts/goisforlovers/" class="card blog-card bc-next blog-card-text-only" rel="bookmark" aria-label="Next article: (Hu)go Template Primer">
|
||||
<a href="/ivi/posts/goisforlovers/" class="card blog-card bc-next blog-card-text-only" rel="bookmark" aria-label="Next article: (Hu)go Template Primer">
|
||||
|
||||
<article class="card-body">
|
||||
<div class="card-subtext muted-text">
|
||||
@@ -946,34 +946,34 @@ This document is a brief primer on using Go templates. The Go docs provide more
|
||||
|
||||
<p class="footer-brand">Ivenee Janz</p>
|
||||
<nav class="footer-links" aria-label="Footer navigation">
|
||||
<a href="/">Home</a>
|
||||
<a href="/about/">über mich</a>
|
||||
<a href="/ivi/">Home</a>
|
||||
<a href="/ivi/about/">über mich</a>
|
||||
|
||||
<a href="/categories/development/">Development</a>
|
||||
<a href="/ivi/categories/development/">Development</a>
|
||||
|
||||
<a href="/categories/features/">Features</a>
|
||||
<a href="/ivi/categories/features/">Features</a>
|
||||
|
||||
<a href="/categories/golang/">Golang</a>
|
||||
<a href="/ivi/categories/golang/">Golang</a>
|
||||
|
||||
<a href="/categories/web/">Web</a>
|
||||
<a href="/ivi/categories/web/">Web</a>
|
||||
|
||||
</nav>
|
||||
<div class="social-links footer-social-links"><a href="mailto:author@example.com" aria-label="Email" title="Email" style="--social-icon: url('/icons/email.svg'); --social-icon-dark: url('/icons/email.svg');">
|
||||
<div class="social-links footer-social-links"><a href="mailto:author@example.com" aria-label="Email" title="Email" style="--social-icon: url('/ivi/icons/email.svg'); --social-icon-dark: url('/ivi/icons/email.svg');">
|
||||
<span class="social-icon" aria-hidden="true"></span>
|
||||
<span class="sr-only">Email</span>
|
||||
</a><a href="https://github.com/" target="_blank" rel="noopener noreferrer" aria-label="GitHub" title="GitHub" style="--social-icon: url('/icons/github.svg'); --social-icon-dark: url('/icons/github.svg');">
|
||||
</a><a href="https://github.com/" target="_blank" rel="noopener noreferrer" aria-label="GitHub" title="GitHub" style="--social-icon: url('/ivi/icons/github.svg'); --social-icon-dark: url('/ivi/icons/github.svg');">
|
||||
<span class="social-icon" aria-hidden="true"></span>
|
||||
<span class="sr-only">GitHub</span>
|
||||
</a><a href="https://instagram.com/" target="_blank" rel="noopener noreferrer" aria-label="Instagram" title="Instagram" style="--social-icon: url('/icons/instagram.svg'); --social-icon-dark: url('/icons/instagram.svg');">
|
||||
</a><a href="https://instagram.com/" target="_blank" rel="noopener noreferrer" aria-label="Instagram" title="Instagram" style="--social-icon: url('/ivi/icons/instagram.svg'); --social-icon-dark: url('/ivi/icons/instagram.svg');">
|
||||
<span class="social-icon" aria-hidden="true"></span>
|
||||
<span class="sr-only">Instagram</span>
|
||||
</a><a href="https://linkedin.com/" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn" title="LinkedIn" style="--social-icon: url('/icons/linkedin.svg'); --social-icon-dark: url('/icons/linkedin.svg');">
|
||||
</a><a href="https://linkedin.com/" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn" title="LinkedIn" style="--social-icon: url('/ivi/icons/linkedin.svg'); --social-icon-dark: url('/ivi/icons/linkedin.svg');">
|
||||
<span class="social-icon" aria-hidden="true"></span>
|
||||
<span class="sr-only">LinkedIn</span>
|
||||
</a><a href="https://patreon.com/" target="_blank" rel="noopener noreferrer" aria-label="Patreon" title="Patreon" style="--social-icon: url('/icons/patreon.svg'); --social-icon-dark: url('/icons/patreon.svg');">
|
||||
</a><a href="https://patreon.com/" target="_blank" rel="noopener noreferrer" aria-label="Patreon" title="Patreon" style="--social-icon: url('/ivi/icons/patreon.svg'); --social-icon-dark: url('/ivi/icons/patreon.svg');">
|
||||
<span class="social-icon" aria-hidden="true"></span>
|
||||
<span class="sr-only">Patreon</span>
|
||||
</a><a href="https://youtube.com/" target="_blank" rel="noopener noreferrer" aria-label="YouTube" title="YouTube" style="--social-icon: url('/icons/youtube.svg'); --social-icon-dark: url('/icons/youtube.svg');">
|
||||
</a><a href="https://youtube.com/" target="_blank" rel="noopener noreferrer" aria-label="YouTube" title="YouTube" style="--social-icon: url('/ivi/icons/youtube.svg'); --social-icon-dark: url('/ivi/icons/youtube.svg');">
|
||||
<span class="social-icon" aria-hidden="true"></span>
|
||||
<span class="sr-only">YouTube</span>
|
||||
</a></div>
|
||||
@@ -982,14 +982,14 @@ This document is a brief primer on using Go templates. The Go docs provide more
|
||||
|
||||
|
||||
|
||||
<script defer src="/js/katex.min.e9822c57638322efdd9ede0164169216682eb5f5c90fb0d04d1d6014bab3a8ea.js" integrity="sha256-6YIsV2ODIu/dnt4BZBaSFmgutfXJD7DQTR1gFLqzqOo=" crossorigin="anonymous"></script>
|
||||
<script defer src="/ivi/js/katex.min.e9822c57638322efdd9ede0164169216682eb5f5c90fb0d04d1d6014bab3a8ea.js" integrity="sha256-6YIsV2ODIu/dnt4BZBaSFmgutfXJD7DQTR1gFLqzqOo=" crossorigin="anonymous"></script>
|
||||
|
||||
|
||||
|
||||
<script defer src="/js/contrib/auto-render.min.e5372d199bcdae8b4de71d0f7ceba72a4ba12774a27c60a6f1f77d03b3228ee4.js" integrity="sha256-5TctGZvNrotN5x0PfOunKkuhJ3SifGCm8fd9A7MijuQ=" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
|
||||
<script defer src="/ivi/js/contrib/auto-render.min.e5372d199bcdae8b4de71d0f7ceba72a4ba12774a27c60a6f1f77d03b3228ee4.js" integrity="sha256-5TctGZvNrotN5x0PfOunKkuhJ3SifGCm8fd9A7MijuQ=" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
|
||||
|
||||
|
||||
<script defer src="/js/core.min.f2db9fdefe6b9087ea561d6ef6b78b1e4e58c03586d262b1b17de4753f301471.js" integrity="sha256-8tuf3v5rkIfqVh1u9reLHk5YwDWG0mKxsX3kdT8wFHE=" crossorigin="anonymous"></script>
|
||||
<script defer src="/ivi/js/core.min.f2db9fdefe6b9087ea561d6ef6b78b1e4e58c03586d262b1b17de4753f301471.js" integrity="sha256-8tuf3v5rkIfqVh1u9reLHk5YwDWG0mKxsX3kdT8wFHE=" crossorigin="anonymous"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user