Commit 9116e9a3 authored by d-asnaghi's avatar d-asnaghi
Browse files

[HUGO] base example format

parent da80a9e0
......@@ -12,7 +12,7 @@
</div>
<div class="content">
<div class="inner">
<h1>{{ .Title }}</h1>
<h1>{{ .Title | default "Title" }}</h1>
{{ if .Params.description }}
<p>
{{ .Params.description }}
......@@ -37,12 +37,14 @@
<div id="main">
{{ range .Pages }}
{{if .Content}}
<article id="{{ .Title | urlize }}">
<h2 class="major">{{ .Title }}</h2>
<span class="image main"><img src="{{ .Params.image }}" alt="" /></span>
{{ .Content }}
</article>
{{if .Content }}
{{if .Title }}
<article id="{{ .Title | urlize }}">
<h2 class="major">{{ .Title }}</h2>
<span class="image main"><img src="{{ .Params.image }}" alt="" /></span>
{{ .Content }}
</article>
{{ end }}
{{ end }}
{{ end }}
......
<!DOCTYPE html>
<html>
<head>
<title>{{ .Params.Title }}</title>
<title>{{ .Params.Title | default "Title" }}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href={{ "assets/css/main.css" | absURL }}/>
......
......@@ -5,7 +5,7 @@ description = "A port of HTML5's dimension theme, optimized for markdown based C
homepage = "https://github.com/your-identity/hugo-theme-dimension/"
tags = ["blog", "clean", "customizable", "dark", "highlighting", "minimal", "personal", "responsive", "simple", "responsive"]
features = ["blog", "syntax highlighting"]
min_version = 0.59.0
min_version = 0.57
[author]
name = "d-asnaghi"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment