189 lines
9.4 KiB
HTML
189 lines
9.4 KiB
HTML
<!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>
|
|
<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">
|
|
<title>Golang · Ivis Homepage</title>
|
|
|
|
|
|
<meta name="description" content="Posts about Golang by Ivis Homepage." />
|
|
<meta name="author" content="Ivenee Janz, Thomas Sindt" />
|
|
|
|
|
|
<link rel="canonical" href="http://localhost:1313/categories/golang/">
|
|
<meta property="og:url" content="http://localhost:1313/categories/golang/">
|
|
<meta property="og:site_name" content="Ivis Homepage">
|
|
<meta property="og:title" content="Golang">
|
|
<meta property="og:description" content="Ivis Homepage für Euch">
|
|
<meta property="og:locale" content="de_DE">
|
|
<meta property="og:type" content="website">
|
|
|
|
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="twitter:title" content="Golang">
|
|
<meta name="twitter:description" content="Ivis Homepage für Euch">
|
|
|
|
|
|
<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/"}]}</script>
|
|
|
|
|
|
<link href="/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">
|
|
|
|
|
|
|
|
|
|
|
|
<link href="/css/noesis.min.38d798e1fe17d82ca96fb225efb02b30fff54c360db27974e5dce8dc3b20c987.css" rel="stylesheet" integrity="sha256-ONeY4f4X2Cypb7Il77ArMP/1TDYNsnl05dzo3DsgyYc=" crossorigin="anonymous">
|
|
<link rel="alternate" type="application/rss+xml" href="/categories/golang/index.xml" title="Ivis Homepage" />
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body class="list-body">
|
|
<a class="skip-link" href="#main-content">Skip to content</a>
|
|
<nav class="nav-bar side-padding" aria-label="Primary navigation">
|
|
|
|
|
|
<p class="nav-header"><a href="/" 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="/categories/development/">Development</a></li>
|
|
|
|
<li><a href="/categories/features/">Features</a></li>
|
|
|
|
<li><a href="/categories/golang/" aria-current="page">Golang</a></li>
|
|
|
|
<li><a href="/categories/web/">Web</a></li>
|
|
|
|
|
|
</ul>
|
|
<div class="hamburger-menu">
|
|
<input class="hamburger-menu-button" type="checkbox"
|
|
onclick="hamburgerMenuPressed.call(this)"
|
|
aria-label="Open navigation menu"
|
|
aria-expanded="false"
|
|
aria-controls="menu"
|
|
>
|
|
<div class="hamburger-menu-icon" aria-hidden="true">
|
|
<span></span>
|
|
<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="/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="/categories/golang/" class="hamburger-menu-overlay-link" aria-current="page">Golang</a></li>
|
|
|
|
<li><a href="/categories/web/" class="hamburger-menu-overlay-link">Web</a></li>
|
|
|
|
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
<main id="main-content" class="site-main list-main side-gutter" tabindex="-1">
|
|
<header class="list-header">
|
|
<p class="section-kicker">Topic</p>
|
|
<h1 class="list-header-title">Golang</h1>
|
|
<p class="list-header-count">2 articles</p>
|
|
</header>
|
|
|
|
<div class="post-list"><a href="/posts/goisforlovers/" class="card blog-card blog-card-text-only" rel="bookmark" aria-label="(Hu)go Template Primer">
|
|
|
|
<article class="card-body">
|
|
<div class="card-subtext muted-text">
|
|
<p><time datetime="2014-04-02">Apr 2, 2014</time></p>
|
|
<p>Development, golang</p>
|
|
</div>
|
|
<h2 class="card-title">(Hu)go Template Primer</h2>
|
|
<p class="card-text">Hugo uses the excellent Go html/template library for its template engine. It is an extremely lightweight engine that provides a very small amount of logic. In our experience that it is just the right amount of logic to be able to create a good static website. If you have used other template systems from different languages or frameworks you will find a lot of similarities in Go templates.
|
|
This document is a brief primer on using Go templates. The Go docs provide more details.
|
|
</p>
|
|
<span class="card-read-more">Read</span>
|
|
</article>
|
|
</a>
|
|
<a href="/posts/hugoisforlovers/" class="card blog-card blog-card-text-only" rel="bookmark" aria-label="Getting Started with Hugo">
|
|
|
|
<article class="card-body">
|
|
<div class="card-subtext muted-text">
|
|
<p><time datetime="2014-04-02">Apr 2, 2014</time></p>
|
|
<p>Development, golang</p>
|
|
</div>
|
|
<h2 class="card-title">Getting Started with Hugo</h2>
|
|
<p class="card-text">Step 1. Install Hugo Go to Hugo releases and download the appropriate version for your OS and architecture.
|
|
Save it somewhere specific as we will be using it in the next step.
|
|
More complete instructions are available at Install Hugo
|
|
Step 2. Build the Docs Hugo has its own example site which happens to also be the documentation site you are reading right now.
|
|
Follow the following steps:
|
|
Clone the Hugo repository Go into the repo Run hugo in server mode and build the docs Open your browser to http://localhost:1313 Corresponding pseudo commands:
|
|
</p>
|
|
<span class="card-read-more">Read</span>
|
|
</article>
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
<footer class="site-footer side-padding">
|
|
|
|
<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="/categories/development/">Development</a>
|
|
|
|
<a href="/categories/features/">Features</a>
|
|
|
|
<a href="/categories/golang/">Golang</a>
|
|
|
|
<a href="/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');">
|
|
<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');">
|
|
<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');">
|
|
<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');">
|
|
<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');">
|
|
<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');">
|
|
<span class="social-icon" aria-hidden="true"></span>
|
|
<span class="sr-only">YouTube</span>
|
|
</a></div>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<script defer src="/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="/js/core.min.f2db9fdefe6b9087ea561d6ef6b78b1e4e58c03586d262b1b17de4753f301471.js" integrity="sha256-8tuf3v5rkIfqVh1u9reLHk5YwDWG0mKxsX3kdT8wFHE=" crossorigin="anonymous"></script>
|
|
|
|
</body>
|
|
</html>
|