parent
2662c63c6c
commit
a357477aaa
22 changed files with 92 additions and 109 deletions
@ -1,5 +1,5 @@ |
||||
--- |
||||
title: "{{ replace .TranslationBaseName "-" " " | title }}" |
||||
date: {{ dateFormat "2006-01-02" .Date }} |
||||
description: "" |
||||
draft: true |
||||
--- |
||||
|
||||
@ -0,0 +1,11 @@ |
||||
--- |
||||
title: About |
||||
description: What is Hugo? |
||||
--- |
||||
|
||||
Hugo is a fast and modern static site generator written in Go, and designed to make website creation fun again. |
||||
Hugo is a general-purpose website framework. Technically speaking, Hugo is a static site generator. Unlike systems that dynamically build a page with each visitor request, Hugo builds pages when you create or update your content. Since websites are viewed far more often than they are edited, Hugo is designed to provide an optimal viewing experience for your website’s end users and an ideal writing experience for website authors. |
||||
|
||||
Websites built with Hugo are extremely fast and secure. Hugo sites can be hosted anywhere, including Netlify, Heroku, GoDaddy, DreamHost, GitHub Pages, GitLab Pages, Surge, Aerobatic, Firebase, Google Cloud Storage, Amazon S3, Rackspace, Azure, and CloudFront and work well with CDNs. Hugo sites run without the need for a database or dependencies on expensive runtimes like Ruby, Python, or PHP. |
||||
|
||||
We think of Hugo as the ideal website creation tool with nearly instant build times, able to rebuild whenever a change is made. |
||||
@ -1,15 +1,10 @@ |
||||
{{ partial "header" . }} |
||||
|
||||
<main> |
||||
|
||||
<div class="intro"> |
||||
|
||||
<h1>¯\_(ツ)_/¯</h1> |
||||
|
||||
<h2>Page not found</h2> |
||||
|
||||
<h2>Nothing here</h2> |
||||
</div> |
||||
|
||||
</main> |
||||
|
||||
{{ partial "footer" . }} |
||||
|
||||
@ -1,22 +1,12 @@ |
||||
{{ partial "header" . }} |
||||
|
||||
<main> |
||||
|
||||
<div class="intro"> |
||||
|
||||
{{ with .Site.Params.profilePic }} <img class="profile" src="{{ . }}"> {{ end }} |
||||
|
||||
<h1>{{ .Site.Title }}</h1> |
||||
|
||||
<h2>{{ markdownify .Site.Params.Description }}</h2> |
||||
|
||||
{{ with .Content }} |
||||
<div class="homepage-content text-justify"> |
||||
{{ . }} |
||||
</div> |
||||
{{ end }} |
||||
{{ with .Content }} <div class="homepage-content text-justify">{{ . }}</div> {{ end }} |
||||
</div> |
||||
|
||||
</main> |
||||
|
||||
{{ partial "footer" . }} |
||||
|
||||
@ -1,11 +0,0 @@ |
||||
{{ partial "header" . }} |
||||
|
||||
<main> |
||||
|
||||
<h2>{{ .Title }}</h2> |
||||
|
||||
<br> <div class="text-justify">{{ .Content }}</div> |
||||
|
||||
</main> |
||||
|
||||
{{ partial "footer.html" . }} |
||||
@ -1,2 +1,2 @@ |
||||
<!-- Intentionally left empty. Override this partial in your website to insert code just after the |
||||
opening <body> tag. For example, to install Google Analytics. --> |
||||
<!-- Intentionally left empty. Override this partial in your website to insert code |
||||
just after the opening <body> tag. For example, to install Google Analytics. --> |
||||
|
||||
@ -1,9 +1,7 @@ |
||||
<footer> |
||||
|
||||
<p class="copyright text-muted">{{ .Site.Params.copyright | default "© All rights reserved. Powered by [Hugo](https://gohugo.io) and [Minimal](https://github.com/calintat/minimal)" | markdownify }}</p> |
||||
|
||||
<p class="copyright text-muted">{{ .Site.Params.copyright | default "© All rights reserved. Powered by [Hugo](https://gohugo.io) and [Minimal](https://github.com/calintat/minimal)." | markdownify }}</p> |
||||
</footer> |
||||
|
||||
|
||||
</body> |
||||
|
||||
</html> |
||||
|
||||
@ -1,2 +1,2 @@ |
||||
<!-- Intentionally left empty. Override this partial in your website to insert code just after the |
||||
opening <head> tag. For example, to install Google Tag Manager. --> |
||||
<!-- Intentionally left empty. Override this partial in your website to insert code |
||||
just after the opening <head> tag. For example, to install Google Tag Manager. --> |
||||
|
||||
@ -0,0 +1,3 @@ |
||||
{{ range .Params.tags }} |
||||
<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}"><kbd class="item-tag">{{ . }}</kbd></a> |
||||
{{ end }} |
||||
@ -0,0 +1,28 @@ |
||||
{{ partial "header" . }} |
||||
|
||||
<main> |
||||
|
||||
<div class="item"> |
||||
<h2>{{ .Title }}</h2> |
||||
<h5>{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006") }}</h5> |
||||
{{ partial "tags" . }} |
||||
</div> |
||||
|
||||
<br> <div class="text-justify">{{ .Content }}</div> |
||||
|
||||
<!-- Related posts --> |
||||
{{ $related := first 3 (where (where (where .Site.Pages.ByDate.Reverse ".Type" "==" "post") ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }} |
||||
{{ if $related }} |
||||
<h4 class="page-header">Related</h4> |
||||
{{ range $related }} {{ partial "list-item" . }} {{ end }} |
||||
{{ end }} |
||||
|
||||
<!-- Disquis comments --> |
||||
{{ if and .Site.DisqusShortname (not .Params.disableComments) }} |
||||
<h4 class="page-header">Comments</h4> |
||||
{{ template "_internal/disqus.html" . }} |
||||
{{ end }} |
||||
|
||||
</main> |
||||
|
||||
{{ partial "footer" . }} |
||||
Loading…
Reference in new issue