mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
Add About page
This commit is contained in:
@@ -1,19 +1,14 @@
|
||||
{{ define "main" }}
|
||||
<header class="py-5 border-bottom">
|
||||
<div class="container pt-md-1 pb-md-4">
|
||||
<h1 class="mt-0 bd-title">{{ .Title | markdownify }}</h1>
|
||||
<p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p>
|
||||
{{ if eq .Title "Examples" }}
|
||||
<div class="d-flex flex-column flex-sm-row">
|
||||
<a href="{{ .Site.Params.download.dist_examples }}" class="btn btn-lg btn-bd-primary" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download Examples');">Download examples</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="order-1 py-5 bd-content" id="content">
|
||||
<div class="container">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</main>
|
||||
{{ end }}
|
||||
<section class="px-4 pt-20 pb-4 dark:bg-gray-900">
|
||||
<div class="format dark:format-invert w-full mx-auto text-center">
|
||||
<div class="pb-2 kanit-bold text-5xl text-white">{{ .Title }}</div>
|
||||
<span class="kanit-regular-italic text-md">Updated on {{ .Date.Format .Site.Params.format.date }}.</span>
|
||||
</div>
|
||||
</section>
|
||||
<section class="container mx-auto px-4 py-8">
|
||||
|
||||
<section class="format lg:format-lg dark:format-invert mx-auto">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
</section>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user