Tweak theme

This commit is contained in:
Daniel Mason 2021-11-03 22:36:14 +13:00
parent 690a3ff983
commit 0994ccc1fe
Signed by: idanoo
GPG Key ID: 387387CDBC02F132
4 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,6 @@
baseURL = 'https://m2.nz/' baseURL = 'https://m2.nz/'
languageCode = 'en-us' languageCode = 'en-us'
title = 'm2.nz' title = 'Daniel Mason'
theme = "m10c" theme = "m10c"
[markup.goldmark.renderer] [markup.goldmark.renderer]

View File

@ -19,7 +19,7 @@
<body> <body>
<header class="app-header"> <header class="app-header">
<a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a> <a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a>
<h1>{{ .Site.Title }}</h1> <h1 style="font-size:1.8rem;">{{ .Site.Title }}</h1>
{{- with .Site.Menus.main }} {{- with .Site.Menus.main }}
<nav class="app-header-menu"> <nav class="app-header-menu">
{{- range $key, $item := . }} {{- range $key, $item := . }}

View File

@ -1,6 +1,6 @@
{{ define "main" }} {{ define "main" }}
<article> <article>
<h1>{{ .Title }}</h1> <h1>m2.nz</h1>
<ul class="posts-list"> <ul class="posts-list">
{{ range where .Paginator.Pages "Type" "!=" "page" }} {{ range where .Paginator.Pages "Type" "!=" "page" }}
<li class="posts-list-item"> <li class="posts-list-item">