feat: Switch sidebar to use Hugo menu
This commit is contained in:
parent
da20f247f2
commit
948cc7a19a
7 changed files with 51 additions and 35 deletions
|
@ -4,6 +4,12 @@ cardImage: charolette
|
||||||
motto: <small>My name is Thomas Christensen</small><br />I am Milliron X
|
motto: <small>My name is Thomas Christensen</small><br />I am Milliron X
|
||||||
description: The homepage of Thomas A. Christensen II
|
description: The homepage of Thomas A. Christensen II
|
||||||
layout: _default/list
|
layout: _default/list
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
params:
|
||||||
|
prefix: fad
|
||||||
|
icon: fa-home
|
||||||
|
weight: -1000
|
||||||
---
|
---
|
||||||
|
|
||||||
<h2>What is a "Milliron X"?</h2>
|
<h2>What is a "Milliron X"?</h2>
|
||||||
|
|
|
@ -3,6 +3,13 @@ title: Academic Publications and Presentations
|
||||||
motto: Publications and Presentations
|
motto: Publications and Presentations
|
||||||
cardImage: library
|
cardImage: library
|
||||||
decription: A list of my academic publications
|
decription: A list of my academic publications
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
name: Academia
|
||||||
|
params:
|
||||||
|
prefix: fad
|
||||||
|
icon: fa-university
|
||||||
|
weight: 20
|
||||||
---
|
---
|
||||||
|
|
||||||
### Academic Papers
|
### Academic Papers
|
||||||
|
|
|
@ -4,6 +4,12 @@ cardImage: Ai-calf
|
||||||
motto: Artificial Insemination
|
motto: Artificial Insemination
|
||||||
description:
|
description:
|
||||||
Advertising page to try and sell my artificial insemination services
|
Advertising page to try and sell my artificial insemination services
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
params:
|
||||||
|
prefix: fax
|
||||||
|
icon: fa-bull-sperm
|
||||||
|
weight: 30
|
||||||
---
|
---
|
||||||
|
|
||||||
I am licensed in the Great State of Wyoming as a food animal artificial
|
I am licensed in the Great State of Wyoming as a food animal artificial
|
||||||
|
|
|
@ -3,6 +3,13 @@ title: Contact Me
|
||||||
cardImage: venice-mailbox
|
cardImage: venice-mailbox
|
||||||
motto: Contact Me
|
motto: Contact Me
|
||||||
description: Contact form to get ahold of me
|
description: Contact form to get ahold of me
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
name: Contact
|
||||||
|
params:
|
||||||
|
prefix: fad
|
||||||
|
icon: fa-file-signature
|
||||||
|
weight: 1
|
||||||
---
|
---
|
||||||
|
|
||||||
<form
|
<form
|
||||||
|
|
|
@ -3,6 +3,11 @@ title: Videos
|
||||||
cardImage: camera
|
cardImage: camera
|
||||||
motto: Videography Portfolio
|
motto: Videography Portfolio
|
||||||
description: Showcase of my own videos
|
description: Showcase of my own videos
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
params:
|
||||||
|
prefix: fad
|
||||||
|
icon: fa-video
|
||||||
---
|
---
|
||||||
|
|
||||||
> ### The culmination of all art forms is that of film.
|
> ### The culmination of all art forms is that of film.
|
||||||
|
|
|
@ -3,6 +3,12 @@ title: My Websites
|
||||||
cardImage: eclipse
|
cardImage: eclipse
|
||||||
motto: Websites
|
motto: Websites
|
||||||
description: List of websites that I have worked on
|
description: List of websites that I have worked on
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
name: Websites
|
||||||
|
params:
|
||||||
|
prefix: fad
|
||||||
|
icon: fa-browser
|
||||||
---
|
---
|
||||||
|
|
||||||
I do occasionally build websites for myself and other people. Here is a list of
|
I do occasionally build websites for myself and other people. Here is a list of
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{{ $millironx := resources.Get "graphics/millironx.svg" }}
|
{{ $millironx := resources.Get "graphics/millironx.svg" }}
|
||||||
|
{{ $currentPage := . }}
|
||||||
<aside class="col-12 col-md-3 p-0 bg-dark flex-shrink-1">
|
<aside class="col-12 col-md-3 p-0 bg-dark flex-shrink-1">
|
||||||
<nav
|
<nav
|
||||||
class="navbar navbar-expand-md navbar-dark bg-dark align-items-start flex-md-column flex-row"
|
class="navbar navbar-expand-md navbar-dark bg-dark align-items-start flex-md-column flex-row"
|
||||||
|
@ -27,41 +28,19 @@
|
||||||
</a>
|
</a>
|
||||||
<div class="collapse navbar-collapse sidebar">
|
<div class="collapse navbar-collapse sidebar">
|
||||||
<ul class="flex-column navbar-nav w-100 justify-content-between">
|
<ul class="flex-column navbar-nav w-100 justify-content-between">
|
||||||
<li class="nav-item">
|
{{ range .Site.Menus.main }}
|
||||||
<a class="nav-link pl-0" href="/"
|
<li class="nav-item">
|
||||||
><i class="fad fa-home fa-fw"></i> <span class="">Home</span></a
|
<a
|
||||||
>
|
class="nav-link pl-0 {{ if $currentPage.IsMenuCurrent "main" . }}
|
||||||
</li>
|
active
|
||||||
<li class="nav-item">
|
{{ end }}"
|
||||||
<a class="nav-link pl-0" href="/contact/"
|
href="{{ .URL }}"
|
||||||
><i class="fad fa-file-signature fa-fw"></i>
|
>
|
||||||
<span class="">Contact</span></a
|
<i class="{{ .Params.prefix }} {{ .Params.icon }} fa-fw"></i>
|
||||||
>
|
{{ .Name }}
|
||||||
</li>
|
</a>
|
||||||
<li class="nav-item">
|
</li>
|
||||||
<a class="nav-link pl-0" href="/academia/"
|
{{ end }}
|
||||||
><i class="fad fa-university fa-fw"></i>
|
|
||||||
<span class="">Academia</span></a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link pl-0" href="/ai/">
|
|
||||||
<i class="fax fa-bull-sperm"></i>
|
|
||||||
<span class="">Artificial Insemination</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link pl-0" href="/videos/"
|
|
||||||
><i class="fad fa-video fa-fw"></i>
|
|
||||||
<span class="">Videos</span></a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link pl-0" href="/websites/"
|
|
||||||
><i class="fad fa-browser fa-fw"></i>
|
|
||||||
<span class="">Websites</span></a
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue