mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
INITIAL COMMIT
This commit is contained in:
6
layouts/_default/404.html
Normal file
6
layouts/_default/404.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{ define "body_override" }}<body class="d-flex flex-column min-vh-100">{{ end }}
|
||||
{{ define "main" }}
|
||||
<main class="p-5 my-auto" id="content">
|
||||
{{ .Content }}
|
||||
</main>
|
||||
{{ end }}
|
||||
18
layouts/_default/baseof.html
Normal file
18
layouts/_default/baseof.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!doctype html>
|
||||
<html lang="en" class="">
|
||||
|
||||
<head>
|
||||
{{ partial "header" . }}
|
||||
</head>
|
||||
{{ block "body_override" . }}
|
||||
|
||||
<body class="{{ if .Params.white_bg }}bg-white dark:bg-gray-900{{ else }}bg-gray-50 dark:bg-gray-800{{ end }}">{{ end }}
|
||||
{{ partial "skippy" . }}
|
||||
{{ partial "nav" . }}
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ partial "scripts" . }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
5
layouts/_default/clean.html
Normal file
5
layouts/_default/clean.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ end }}
|
||||
8
layouts/_default/list.html
Normal file
8
layouts/_default/list.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "header" . }}
|
||||
{{ partial "nav" . }}
|
||||
<main class="w-full antialiased">
|
||||
{{ .Content }}
|
||||
</main>
|
||||
|
||||
{{ end }}
|
||||
11
layouts/_default/main.html
Normal file
11
layouts/_default/main.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ partial "navbar" . }}
|
||||
|
||||
<main class="w-full antialiased">
|
||||
{{ .Content }}
|
||||
</main>
|
||||
|
||||
{{ if .Params.footer }} {{ partial "footer" . }} {{ end }}
|
||||
|
||||
{{ end }}
|
||||
1
layouts/_default/redirect.html
Normal file
1
layouts/_default/redirect.html
Normal file
@@ -0,0 +1 @@
|
||||
{{ partial "redirect" (.Page.Params.redirect | absURL) }}
|
||||
19
layouts/_default/single.html
Normal file
19
layouts/_default/single.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ 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 }}
|
||||
Reference in New Issue
Block a user