change theme
This commit is contained in:
15
layouts/_default/simple.html
Normal file
15
layouts/_default/simple.html
Normal file
@ -0,0 +1,15 @@
|
||||
{{ define "main" }}
|
||||
<article>
|
||||
<header>
|
||||
{{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }}
|
||||
{{ partial "breadcrumbs.html" . }}
|
||||
{{ end }}
|
||||
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral text-center">
|
||||
{{ .Title | emojify }}
|
||||
</h1>
|
||||
</header>
|
||||
<section class="mt-6 prose dark:prose-invert mx-auto">
|
||||
{{ .Content | emojify }}
|
||||
</section>
|
||||
</article>
|
||||
{{ end }}
|
@ -32,10 +32,6 @@
|
||||
{{- end }}
|
||||
</p>
|
||||
|
||||
<a href="https://yesterweb.org/no-to-web3/">
|
||||
<img src="https://auzziejay.com/images/noweb32.gif" alt="No to Web3" />
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<a href="/privacy-policy" class="hidden md:block text-sm text-neutral-500 dark:text-neutral-400 mr-2 lg:mr-8">
|
||||
|
@ -1,29 +1,25 @@
|
||||
<article class="flex flex-col items-center {{ if not .Site.Params.homepage.showRecent }}
|
||||
<div class="h-full flex flex-col">
|
||||
<article
|
||||
class="flex flex-col grow items-center justify-center text-center {{ if not .Site.Params.homepage.showRecent }}
|
||||
h-full
|
||||
{{ end }}">
|
||||
<header class="flex flex-col items-center mb-8">
|
||||
{{ with .Site.Author.image }}
|
||||
{{ $authorImage := resources.Get . }}
|
||||
{{ if $authorImage }}
|
||||
{{ $authorImage := $authorImage.Fill "288x288" }}
|
||||
<img class="mb-2 rounded-full w-36 h-36" width="144" height="144" alt="Author"
|
||||
src="{{ $authorImage.RelPermalink }}" />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<h1 class="text-4xl font-extrabold">
|
||||
{{ .Site.Author.name | default .Site.Title }}
|
||||
</h1>
|
||||
{{ with .Site.Author.headline }}
|
||||
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
|
||||
{{ . }}
|
||||
</h2>
|
||||
{{ end }}
|
||||
<div class="mt-1 text-2xl">
|
||||
{{ partialCached "author-links.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
<section class="prose dark:prose-invert">{{ .Content | emojify }}</section>
|
||||
{{ end }}"
|
||||
>
|
||||
<header class="flex flex-col items-center mb-3">
|
||||
<h1 class="text-4xl font-extrabold">
|
||||
{{ .Site.Author.name | default .Site.Title }}
|
||||
</h1>
|
||||
{{ with .Site.Author.headline }}
|
||||
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
|
||||
{{ . | markdownify | emojify }}
|
||||
</h2>
|
||||
{{ end }}
|
||||
<div class="mt-1 text-2xl">
|
||||
{{ partialCached "author-links.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
<section class="prose dark:prose-invert">{{ .Content | emojify }}</section>
|
||||
</article>
|
||||
<section>
|
||||
{{ partial "recent-articles.html" . }}
|
||||
</section>
|
||||
{{ partial "recent-articles.html" . }}
|
||||
</section>
|
||||
</div>
|
Reference in New Issue
Block a user