pages/layouts/_default/baseof.html

199 lines
7.8 KiB
HTML
Raw Normal View History

2022-03-22 00:05:10 +00:00
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2023-02-09 18:20:36 +00:00
{{ with .Description }}
2023-02-09 23:21:39 +00:00
<meta name="description" content="{{ . }}" />
2023-02-09 18:20:36 +00:00
{{ end }}
2022-03-22 00:05:10 +00:00
<title>{{ .Title }} - {{ .Site.Title }}</title>
2023-01-03 01:23:05 +00:00
{{ $twbssass := resources.Get "styles/mix-twbs.scss" | resources.ToCSS | minify | resources.PostProcess }}
<link href="{{ $twbssass.RelPermalink }}" rel="stylesheet" />
2022-03-22 00:05:10 +00:00
</head>
{{ $millironx := resources.Get "graphics/millironx.svg" }}
2023-01-03 01:23:05 +00:00
2022-03-22 00:05:10 +00:00
<body>
<div class="container-fluid">
<div class="row wrapper min-vh-100 flex-column flex-sm-row">
<aside class="col-12 col-md-3 p-0 bg-dark flex-shrink-1">
<nav
class="navbar navbar-expand-md navbar-dark bg-dark align-items-start flex-md-column flex-row"
>
<div class="container-fluid">
<a class="navbar-brand d-block d-md-none" href="#">
<object
class="d-inline-block align-text-top"
width="80"
height="24"
style="filter: invert(100%)"
data="{{ $millironx.RelPermalink }}"
2022-03-22 00:05:10 +00:00
>
<img src="{{ $millironx.RelPermalink }}" alt="Milliron X" />
2022-03-22 00:05:10 +00:00
</object>
&ensp;
<span class="font-small-caps font-serif">Milliron X</span>
</a>
<a
href
class="navbar-toggler"
data-bs-toggle="collapse"
data-bs-target=".sidebar"
>
<span class="navbar-toggler-icon"></span>
</a>
<div class="collapse navbar-collapse sidebar">
<ul
class="flex-column navbar-nav w-100 justify-content-between"
>
<li class="nav-item">
<a class="nav-link pl-0" href="/"
><i class="fad fa-home fa-fw"></i>
<span class="">Home</span></a
>
</li>
<li class="nav-item">
2023-01-11 14:16:41 +00:00
<a class="nav-link pl-0" href="/contact/"
2022-03-22 00:05:10 +00:00
><i class="fad fa-file-signature fa-fw"></i>
<span class="">Contact</span></a
>
</li>
<li class="nav-item">
2023-01-11 14:16:41 +00:00
<a class="nav-link pl-0" href="/academia/"
2022-03-22 00:05:10 +00:00
><i class="fad fa-university fa-fw"></i>
<span class="">Academia</span></a
>
</li>
<li class="nav-item">
2023-01-11 14:16:41 +00:00
<a class="nav-link pl-0" href="/ai/">
<i class="fax fa-bull-sperm"></i>
2023-01-03 01:23:05 +00:00
<span class="">Artificial Insemination</span>
2022-03-22 00:05:10 +00:00
</a>
</li>
<li class="nav-item">
2023-01-11 14:16:41 +00:00
<a class="nav-link pl-0" href="/videos/"
2022-03-22 00:05:10 +00:00
><i class="fad fa-video fa-fw"></i>
<span class="">Videos</span></a
>
</li>
<li class="nav-item">
2023-01-11 14:16:41 +00:00
<a class="nav-link pl-0" href="/websites/"
2022-03-22 00:05:10 +00:00
><i class="fad fa-browser fa-fw"></i>
<span class="">Websites</span></a
>
</li>
</ul>
</div>
</div>
</nav>
</aside>
<main class="col bg-faded py-3 gx-0">
2022-03-22 00:05:10 +00:00
<div class="container">
<header class="d-none d-sm-none d-md-block text-center">
<h1 class="font-serif font-small-caps">
<object data="{{ $millironx.RelPermalink }}">
<img src="{{ $millironx.RelPermalink }}" alt="Milliron X" />
2022-03-22 00:05:10 +00:00
</object>
&emsp; Milliron X
</h1>
</header>
</div>
{{ block "main" . }}
2023-01-03 01:23:05 +00:00
<section class="container-fluid list-main">
<div class="container px-5">
{{ .Content }}
2023-01-03 01:23:05 +00:00
</div>
</section>
{{ end }}
2023-01-05 22:01:33 +00:00
<footer class="fixed-bottom">
2023-01-03 03:11:25 +00:00
<div class="container-fluid footer-contents">
2023-01-05 22:03:43 +00:00
<div class="row justify-content-between">
<div class="col-3 align-self-center">
{{ $brandedbull := resources.Get "images/brandedbull.png" }}
{{ $brandedbullsmall := $brandedbull.Resize "x95" }}
2023-02-25 05:13:45 +00:00
<img
src="{{ $brandedbullsmall.RelPermalink }}"
height="95rem"
/>
2023-01-05 22:03:43 +00:00
</div>
<div class="col-3 align-self-center">
<div
class="btn-group float-end"
role="group"
aria-label="Other Milliron X sites"
>
<a
class="btn btn-outline-primary btn-sm"
href="https://video.millironx.com/"
data-bs-toggle="tooltip"
title="Video (Peertube)"
>
<i class="fax fa-peertube fa-fw"></i>
</a>
<a
class="btn btn-outline-primary btn-sm"
href="https://code.millironx.com/"
data-bs-toggle="tooltip"
title="Code (Gitea)"
>
<i class="fax fa-gitea fa-fw"></i>
</a>
<a
class="btn btn-outline-primary btn-sm"
href="https://nextcloud.millironx.com/"
data-bs-toggle="tooltip"
title="Files (Nextcloud)"
>
<i class="fax fa-nextcloud fa-fw"></i>
</a>
2023-01-06 00:13:02 +00:00
<button
type="button"
2023-01-05 22:03:43 +00:00
class="btn btn-outline-primary btn-sm"
2023-01-06 00:13:02 +00:00
data-bs-toggle="modal"
data-bs-target="#extras-modal"
2023-01-05 22:03:43 +00:00
title="Extras"
>
<i class="fad fa-cowbell fa-fw"></i>
2023-01-06 00:13:02 +00:00
</button>
2023-01-05 22:03:43 +00:00
</div>
</div>
</div>
2023-01-03 03:11:25 +00:00
</div>
</footer>
</main>
2022-03-22 00:05:10 +00:00
</div>
</div>
2023-02-09 23:21:39 +00:00
2022-10-05 13:52:55 +00:00
<!-- Font Awesome -->
{{ $fontawesome := resources.Get "scripts/fa-icons.js" | js.Build "js/fontawesome.js" | minify }}
<script src="{{ $fontawesome.RelPermalink }}"></script>
2022-10-05 13:52:55 +00:00
<!-- JQuery -->
{{ $jquery := resources.Get "scripts/jquery/jquery.min.js" }}
{{ $jqmaskjs := resources.Get "scripts/jquery-mask-plugin/jquery.mask.min.js" }}
{{ $fittextjs := resources.Get "scripts/fittext/jquery.fittext.js" | minify }}
{{ $scrolljs := resources.Get "scripts/scroll-effect.js" | minify }}
{{ $maskjs := resources.Get "scripts/phone-masking.js" | minify }}
{{ $jquerybundle := slice $jquery $jqmaskjs $fittextjs $scrolljs $maskjs | resources.Concat "js/jquery-bundle.js" }}
<script src="{{ $jquerybundle.RelPermalink }}"></script>
2022-10-05 13:52:55 +00:00
<!-- Bootstrap -->
{{ $popperjs := resources.Get "scripts/popper/popper.min.js" }}
{{ $twbsjs := resources.Get "scripts/bootstrap/bootstrap.min.js" }}
{{ $ttjs := resources.Get "scripts/tooltip-enable.js" | minify }}
{{ $bootstrapbundle := slice $popperjs $twbsjs $ttjs | resources.Concat "js/bootstrap-bundle.js" }}
<script src="{{ $bootstrapbundle.RelPermalink }}"></script>
2023-01-03 01:23:05 +00:00
<!-- GoatCounter -->
<script
data-goatcounter="https://millironx.goatcounter.com/count"
async
src="//gc.zgo.at/count.js"
></script>
2023-02-25 05:13:45 +00:00
2023-02-09 23:21:39 +00:00
{{ partial "extras-modal" . }}
2022-03-22 00:05:10 +00:00
</body>
</html>