Apply Prettier formatting

This commit is contained in:
Thomas A. Christensen II 2022-03-21 19:05:10 -05:00
parent 21897cc1c6
commit d7657e5e63
Signed by: millironx
GPG key ID: 139C07724802BC5D
18 changed files with 450 additions and 337 deletions

View file

@ -20,7 +20,7 @@ jobs:
- name: Setup Hugo - name: Setup Hugo
uses: peaceiris/actions-hugo@v2 uses: peaceiris/actions-hugo@v2
with: with:
hugo-version: 'latest' hugo-version: "latest"
extended: true extended: true
- name: Configure npm - name: Configure npm
run: | run: |

View file

@ -1 +1 @@
$('#phone').mask('(000) 000-0000') $("#phone").mask("(000) 000-0000");

View file

@ -1,6 +1,5 @@
$(window).scroll(function (e) { $(window).scroll(function (e) {
oVal = ($(window).scrollTop() / 170); oVal = $(window).scrollTop() / 170;
$(".blur").css("opacity", oVal); $(".blur").css("opacity", oVal);
}); });
$("#motto").fitText(); $("#motto").fitText();

View file

@ -1,4 +1,6 @@
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) var tooltipTriggerList = [].slice.call(
document.querySelectorAll('[data-bs-toggle="tooltip"]')
);
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl) return new bootstrap.Tooltip(tooltipTriggerEl);
}) });

View file

@ -12,7 +12,7 @@
font-size: 76px; font-size: 76px;
font-weight: 600; font-weight: 600;
text-align: center; text-align: center;
text-shadow: 0 0 10px rgba(0, 0, 0, .33); text-shadow: 0 0 10px rgba(0, 0, 0, 0.33);
text-transform: uppercase; text-transform: uppercase;
top: 7.5vh; top: 7.5vh;
z-index: 3; z-index: 3;
@ -20,7 +20,7 @@
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
width: 60%; width: 60%;
height: 0 height: 0;
} }
.motto h1 { .motto h1 {
@ -72,7 +72,7 @@ main {
} }
.text-align-left { .text-align-left {
text-align: left text-align: left;
} }
.text-align-right { .text-align-right {

View file

@ -3,4 +3,5 @@ title: Academic Publications and Presentations
motto: Academic Publications and Presentations motto: Academic Publications and Presentations
cardImage: library cardImage: library
--- ---
### Academic Papers ### Academic Papers

View file

@ -13,7 +13,7 @@ keywords:
type: thesis type: thesis
authors: authors:
- Thomas A. Christensen II - Thomas A. Christensen II
link: 'https://hdl.handle.net/20.500.11919/3817' link: "https://hdl.handle.net/20.500.11919/3817"
journal: "University of Wyoming Honors Program" journal: "University of Wyoming Honors Program"
location: "Laramie, Wyoming" location: "Laramie, Wyoming"
--- ---

View file

@ -10,5 +10,5 @@ authors:
journal: "Idaho INBRE Summer Research Conference" journal: "Idaho INBRE Summer Research Conference"
location: "Moscow, Idaho" location: "Moscow, Idaho"
awards: awards:
- '3rd Place Fast-Pitch Science Presentation Contest' - "3rd Place Fast-Pitch Science Presentation Contest"
--- ---

View file

@ -15,11 +15,11 @@ authors:
- Kathy J. Austin - Kathy J. Austin
- Kristi M. Cammack - Kristi M. Cammack
- Hannah C. Cunningham-Hollinger - Hannah C. Cunningham-Hollinger
link: '/academia/metagenomics/metagenomics_analysis_of_rumen_populations.pdf' link: "/academia/metagenomics/metagenomics_analysis_of_rumen_populations.pdf"
journal: "Westion Section American Society of Animal Science Annual Meeting" journal: "Westion Section American Society of Animal Science Annual Meeting"
location: "Boise, Idaho" location: "Boise, Idaho"
awards: awards:
- '1st Place Undergraduate Poster Competition' - "1st Place Undergraduate Poster Competition"
--- ---
Early colonization of the rumen microbiome is critical to host health and long Early colonization of the rumen microbiome is critical to host health and long

View file

@ -21,7 +21,7 @@ authors:
journal: "AIChE Annual Meeting" journal: "AIChE Annual Meeting"
location: "Pittsburgh, Pennsylvania" location: "Pittsburgh, Pennsylvania"
awards: awards:
- '3rd Place Environmental III Division Undergraduate Poster Competition' - "3rd Place Environmental III Division Undergraduate Poster Competition"
link: /academia/pva-aiche/measuring_diffusion_of_trichloroethylene.pdf link: /academia/pva-aiche/measuring_diffusion_of_trichloroethylene.pdf
--- ---

View file

@ -13,7 +13,7 @@ keywords:
type: thesis type: thesis
authors: authors:
- Thomas A. Christensen II - Thomas A. Christensen II
link: 'https://www.proquest.com/dissertations-theses/polyoxometalate-incorporation-effects-on-proton/docview/2502214356/se-2' link: "https://www.proquest.com/dissertations-theses/polyoxometalate-incorporation-effects-on-proton/docview/2502214356/se-2"
journal: "University of Idaho" journal: "University of Idaho"
location: "Moscow, Idaho" location: "Moscow, Idaho"
--- ---

View file

@ -4,46 +4,84 @@ cardImage: venice-mailbox
motto: Contact Me motto: Contact Me
--- ---
<form class="form-horizontal" <form
class="form-horizontal"
action="https://usebasin.com/f/787df7bfd22e" action="https://usebasin.com/f/787df7bfd22e"
method="post"> method="post"
>
<fieldset> <fieldset>
<legend>Contact Me</legend> <legend>Contact Me</legend>
<input type="hidden" name="_gotcha"> <input type="hidden" name="_gotcha" />
<div class="form-group"> <div class="form-group">
<label for="name" class="col-lg-2 control-label">Name</label> <label for="name" class="col-lg-2 control-label">Name</label>
<div class="col-lg-10"> <div class="col-lg-10">
<input type="text" class="form-control" id="name" name="name" placeholder="Jay Lush" required> <input
type="text"
class="form-control"
id="name"
name="name"
placeholder="Jay Lush"
required
/>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="email" class="col-lg-2 control-label">Email</label> <label for="email" class="col-lg-2 control-label">Email</label>
<div class="col-lg-10"> <div class="col-lg-10">
<input type="email" class="form-control" id="email" name="email" placeholder="jlush@iastate.edu" required> <input
type="email"
class="form-control"
id="email"
name="email"
placeholder="jlush@iastate.edu"
required
/>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="phone" class="col-lg-2 control-label">Phone number</label> <label for="phone" class="col-lg-2 control-label">Phone number</label>
<div class="col-lg-10"> <div class="col-lg-10">
<input type="tel" class="form-control" id="phone" name="phone" placeholder="(515) 294-2160"> <input
type="tel"
class="form-control"
id="phone"
name="phone"
placeholder="(515) 294-2160"
/>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="subject" class="col-lg-2 control-label">Subject</label> <label for="subject" class="col-lg-2 control-label">Subject</label>
<div class="col-lg-10"> <div class="col-lg-10">
<input type="text" class="form-control" id="subject" name="subject" placeholder="Beef genetics" required> <input
type="text"
class="form-control"
id="subject"
name="subject"
placeholder="Beef genetics"
required
/>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="message" class="col-lg-2 control-label">Message</label> <label for="message" class="col-lg-2 control-label">Message</label>
<div class="col-lg-10"> <div class="col-lg-10">
<textarea rows="5" class="form-control font-sans" id="message" name="body" required style="min-height: 72pt;"></textarea> <textarea
rows="5"
class="form-control font-sans"
id="message"
name="body"
required
style="min-height: 72pt;"
></textarea>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="col-lg-10 col-lg-offset-2"> <div class="col-lg-10 col-lg-offset-2">
<button type="reset" class="btn btn-default">Cancel</button> <button type="reset" class="btn btn-default">Cancel</button>
<button type="submit" class="btn btn-primary pageclip-form__submit"><span>Submit</span></button> <button type="submit" class="btn btn-primary pageclip-form__submit">
<span>Submit</span>
</button>
</div> </div>
</div> </div>
</fieldset> </fieldset>

View file

@ -1,7 +1,6 @@
<!doctype html> <!DOCTYPE html>
<html class="no-js" lang="en"> <html class="no-js" lang="en">
<head>
<head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -11,69 +10,108 @@
{{ $mycss := resources.Get "styles/main.css" }} {{ $mycss := resources.Get "styles/main.css" }}
{{ $allcss := slice $twbscss $mycss | resources.Concat "css/bundle.css" }} {{ $allcss := slice $twbscss $mycss | resources.Concat "css/bundle.css" }}
{{ $allcsspure := $allcss | resources.PostCSS (dict "nomap" true) | minify | fingerprint | resources.PostProcess }} {{ $allcsspure := $allcss | resources.PostCSS (dict "nomap" true) | minify | fingerprint | resources.PostProcess }}
<link href="{{ $allcsspure.Permalink }}" rel="stylesheet"> <link href="{{ $allcsspure.Permalink }}" rel="stylesheet" />
</head> </head>
{{ $millironx := resources.Get "graphics/millironx.svg" }} {{ $millironx := resources.Get "graphics/millironx.svg" }}
<body>
<body>
<div class="container-fluid"> <div class="container-fluid">
<div class="row wrapper min-vh-100 flex-column flex-sm-row"> <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"> <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"> <nav
class="navbar navbar-expand-md navbar-dark bg-dark align-items-start flex-md-column flex-row"
>
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand d-block d-md-none" href="#"> <a class="navbar-brand d-block d-md-none" href="#">
<object class="d-inline-block align-text-top" width="80" height="24" <object
style="filter: invert(100%)" data="{{ $millironx.Permalink }}"> class="d-inline-block align-text-top"
width="80"
height="24"
style="filter: invert(100%)"
data="{{ $millironx.Permalink }}"
>
<img src="{{ $millironx.Permalink }}" alt="Milliron X" /> <img src="{{ $millironx.Permalink }}" alt="Milliron X" />
</object> </object>
&ensp; &ensp;
<span class="font-small-caps font-serif">Milliron X</span> <span class="font-small-caps font-serif">Milliron X</span>
</a> </a>
<a href class="navbar-toggler" data-bs-toggle="collapse" data-bs-target=".sidebar"> <a
href
class="navbar-toggler"
data-bs-toggle="collapse"
data-bs-target=".sidebar"
>
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</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"> <li class="nav-item">
<a class="nav-link pl-0" href="/"><i class="fad fa-home fa-fw"></i> <span <a class="nav-link pl-0" href="/"
class="">Home</span></a> ><i class="fad fa-home fa-fw"></i>
<span class="">Home</span></a
>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link pl-0" href="/contact"><i class="fad fa-file-signature fa-fw"></i> <a class="nav-link pl-0" href="/contact"
<span class="">Contact</span></a> ><i class="fad fa-file-signature fa-fw"></i>
<span class="">Contact</span></a
>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link pl-0" href="/academia"><i class="fad fa-university fa-fw"></i> <a class="nav-link pl-0" href="/academia"
<span class="">Academia</span></a> ><i class="fad fa-university fa-fw"></i>
<span class="">Academia</span></a
>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link pl-0" href="/ai"> <a class="nav-link pl-0" href="/ai">
<svg class="svg-inline--fa fa-bull-sperm fa-w-16 fa-fw" aria-hidden="true" <svg
focusable="false" data-prefix="fax" data-icon="bull-sperm" class="svg-inline--fa fa-bull-sperm fa-w-16 fa-fw"
viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"
xmlns:svg="http://www.w3.org/2000/svg"> focusable="false"
data-prefix="fax"
data-icon="bull-sperm"
viewBox="0 0 16 16"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
>
<g class="fa-group"> <g class="fa-group">
<path class="fa-primary" <path
d="M 3.5703125,2.4296875 3,3 3.027344,3.035156 c 0.6672785,0.8340906 2.1989965,2.6989965 3.0039063,3.5039062 0.2603117,0.2603118 0.7323765,0.5088896 1.3046876,0.7597657 0.572311,0.250876 1.2443878,0.5020473 1.9003908,0.7519531 0.656002,0.2499058 1.2960693,0.499573 1.8007813,0.7480469 0.504713,0.2484742 0.871301,0.5004142 0.984375,0.7265622 0.203727,0.407454 0.827125,1.4043489 1.527344,2.4921879 0.697482,1.083588 1.468428,2.251372 1.96875,3.001953 6.04e-4,9.07e-4 0.0013,0.003 0.002,0.0039 0.0014,0.002 0.0045,0.0058 0.0059,0.0078 l 0.08789,-0.04687 C 15.279548,14.150066 14.72944,12.851269 14.16211,11.658203 13.59478,10.465137 13.016294,9.3834813 12.601563,8.96875 12.083886,8.4510728 10.835937,7.9570307 9.5859377,7.4570312 8.3359397,6.9570317 7.0838844,6.4510718 6.6015626,5.9687499 5.8064739,5.1736613 4.271529,3.3052239 3.6054688,2.4726562 Z m -0.00781,0.1484375 c 0.6795628,0.848261 2.1735202,2.6657076 2.9687501,3.4609374 0.5176771,0.5176772 1.7656261,1.0117193 3.0156261,1.5117188 1.2499993,0.4999995 2.5020533,1.0059594 2.9843753,1.4882811 0.385268,0.385268 0.973068,1.4718527 1.539062,2.6621097 0.473804,0.996385 0.879487,1.969868 1.21289,2.78125 C 14.797797,13.7506 14.217753,12.873589 13.632813,11.964844 12.933033,10.877685 12.307602,9.8749683 12.111329,9.4824223 11.974403,9.2085713 11.59099,8.9605099 11.080079,8.7089843 10.569167,8.4574587 9.9279807,8.2071249 9.2714847,7.9570312 8.6149887,7.7069375 7.9433137,7.4581078 7.3749997,7.2089843 6.8066872,6.9598609 6.3412503,6.7084377 6.1015626,6.4687499 5.3141197,5.6813071 3.8108277,3.8499544 3.1347657,3.0058593 Z" /> class="fa-primary"
d="M 3.5703125,2.4296875 3,3 3.027344,3.035156 c 0.6672785,0.8340906 2.1989965,2.6989965 3.0039063,3.5039062 0.2603117,0.2603118 0.7323765,0.5088896 1.3046876,0.7597657 0.572311,0.250876 1.2443878,0.5020473 1.9003908,0.7519531 0.656002,0.2499058 1.2960693,0.499573 1.8007813,0.7480469 0.504713,0.2484742 0.871301,0.5004142 0.984375,0.7265622 0.203727,0.407454 0.827125,1.4043489 1.527344,2.4921879 0.697482,1.083588 1.468428,2.251372 1.96875,3.001953 6.04e-4,9.07e-4 0.0013,0.003 0.002,0.0039 0.0014,0.002 0.0045,0.0058 0.0059,0.0078 l 0.08789,-0.04687 C 15.279548,14.150066 14.72944,12.851269 14.16211,11.658203 13.59478,10.465137 13.016294,9.3834813 12.601563,8.96875 12.083886,8.4510728 10.835937,7.9570307 9.5859377,7.4570312 8.3359397,6.9570317 7.0838844,6.4510718 6.6015626,5.9687499 5.8064739,5.1736613 4.271529,3.3052239 3.6054688,2.4726562 Z m -0.00781,0.1484375 c 0.6795628,0.848261 2.1735202,2.6657076 2.9687501,3.4609374 0.5176771,0.5176772 1.7656261,1.0117193 3.0156261,1.5117188 1.2499993,0.4999995 2.5020533,1.0059594 2.9843753,1.4882811 0.385268,0.385268 0.973068,1.4718527 1.539062,2.6621097 0.473804,0.996385 0.879487,1.969868 1.21289,2.78125 C 14.797797,13.7506 14.217753,12.873589 13.632813,11.964844 12.933033,10.877685 12.307602,9.8749683 12.111329,9.4824223 11.974403,9.2085713 11.59099,8.9605099 11.080079,8.7089843 10.569167,8.4574587 9.9279807,8.2071249 9.2714847,7.9570312 8.6149887,7.7069375 7.9433137,7.4581078 7.3749997,7.2089843 6.8066872,6.9598609 6.3412503,6.7084377 6.1015626,6.4687499 5.3141197,5.6813071 3.8108277,3.8499544 3.1347657,3.0058593 Z"
/>
<path <path
d="m 1.1347657,4.0058593 3,2 c 1.6,-0.4 2,-1.5 2,-2 -0.5,-0.83333 -1.6,-2.599999 -2,-2.999999 -0.4,-0.4 -0.83333,-0.166667 -1,0 l -2,1.999999 c -0.4,0.4 -0.16667,0.83333 0,1 z" d="m 1.1347657,4.0058593 3,2 c 1.6,-0.4 2,-1.5 2,-2 -0.5,-0.83333 -1.6,-2.599999 -2,-2.999999 -0.4,-0.4 -0.83333,-0.166667 -1,0 l -2,1.999999 c -0.4,0.4 -0.16667,0.83333 0,1 z"
class="fa-secondary" /> class="fa-secondary"
<path class="fa-secondary" />
d="M 5.1699219 3.6699219 C 4.8273748 3.6757699 4.4699016 3.7918219 4.1953125 4.0664062 C 3.6095225 4.6521963 3.7442456 5.6153394 4.1347656 6.0058594 C 4.4723646 6.343467 4.8913189 6.1421875 5.3769531 5.703125 L 5.4394531 5.7832031 C 5.5501001 5.9212009 5.73261 6.114669 5.9101562 6.2910156 C 6.0877025 6.4673623 6.2608252 6.6259792 6.3554688 6.6914062 C 6.7810362 6.9856007 7.3620792 7.2480832 8.8789062 7.8300781 C 10.621074 8.4985346 11.180619 8.7450547 11.634766 9.0488281 C 11.910763 9.2334399 12.020961 9.3454178 12.123047 9.546875 C 12.359388 10.013272 13.240145 11.405131 14.951172 14.017578 C 15.027822 14.134605 15.097837 14.241121 15.150391 14.316406 C 15.176671 14.354046 15.199204 14.383707 15.214844 14.404297 C 15.222644 14.414587 15.227532 14.422214 15.232422 14.427734 C 15.234822 14.430534 15.237834 14.431594 15.240234 14.433594 L 15.242188 14.435547 L 15.244141 14.4375 C 15.244353 14.437593 15.251853 14.439453 15.251953 14.439453 C 15.25203 14.439453 15.255759 14.4376 15.255859 14.4375 C 15.25592 14.437477 15.261619 14.435647 15.261719 14.435547 C 15.261812 14.435454 15.263572 14.431741 15.263672 14.431641 C 15.263745 14.431501 15.265525 14.427934 15.265625 14.427734 C 15.26573 14.427361 15.265566 14.425128 15.265625 14.423828 C 15.265743 14.421228 15.265952 14.418316 15.265625 14.416016 C 15.264973 14.411416 15.263419 14.406921 15.261719 14.400391 C 15.258219 14.387401 15.253424 14.368616 15.246094 14.347656 C 15.231524 14.305736 15.210507 14.249736 15.185547 14.189453 C 14.646531 12.887809 14.133918 11.758902 13.6875 10.880859 C 13.241082 10.002816 12.86081 9.3769733 12.585938 9.0800781 C 12.203115 8.6665849 11.464949 8.2925655 9.4238281 7.4765625 C 8.0908226 6.9436517 7.4670466 6.6589029 7.0214844 6.3789062 C 6.6814573 6.1652292 6.5633438 6.0615979 6.1699219 5.6289062 L 5.828125 5.2519531 C 6.269809 4.7645445 6.4733361 4.3444212 6.1347656 4.0058594 C 5.9273019 3.7983903 5.5581419 3.6632941 5.1699219 3.6699219 z " /> <path
class="fa-secondary"
d="M 5.1699219 3.6699219 C 4.8273748 3.6757699 4.4699016 3.7918219 4.1953125 4.0664062 C 3.6095225 4.6521963 3.7442456 5.6153394 4.1347656 6.0058594 C 4.4723646 6.343467 4.8913189 6.1421875 5.3769531 5.703125 L 5.4394531 5.7832031 C 5.5501001 5.9212009 5.73261 6.114669 5.9101562 6.2910156 C 6.0877025 6.4673623 6.2608252 6.6259792 6.3554688 6.6914062 C 6.7810362 6.9856007 7.3620792 7.2480832 8.8789062 7.8300781 C 10.621074 8.4985346 11.180619 8.7450547 11.634766 9.0488281 C 11.910763 9.2334399 12.020961 9.3454178 12.123047 9.546875 C 12.359388 10.013272 13.240145 11.405131 14.951172 14.017578 C 15.027822 14.134605 15.097837 14.241121 15.150391 14.316406 C 15.176671 14.354046 15.199204 14.383707 15.214844 14.404297 C 15.222644 14.414587 15.227532 14.422214 15.232422 14.427734 C 15.234822 14.430534 15.237834 14.431594 15.240234 14.433594 L 15.242188 14.435547 L 15.244141 14.4375 C 15.244353 14.437593 15.251853 14.439453 15.251953 14.439453 C 15.25203 14.439453 15.255759 14.4376 15.255859 14.4375 C 15.25592 14.437477 15.261619 14.435647 15.261719 14.435547 C 15.261812 14.435454 15.263572 14.431741 15.263672 14.431641 C 15.263745 14.431501 15.265525 14.427934 15.265625 14.427734 C 15.26573 14.427361 15.265566 14.425128 15.265625 14.423828 C 15.265743 14.421228 15.265952 14.418316 15.265625 14.416016 C 15.264973 14.411416 15.263419 14.406921 15.261719 14.400391 C 15.258219 14.387401 15.253424 14.368616 15.246094 14.347656 C 15.231524 14.305736 15.210507 14.249736 15.185547 14.189453 C 14.646531 12.887809 14.133918 11.758902 13.6875 10.880859 C 13.241082 10.002816 12.86081 9.3769733 12.585938 9.0800781 C 12.203115 8.6665849 11.464949 8.2925655 9.4238281 7.4765625 C 8.0908226 6.9436517 7.4670466 6.6589029 7.0214844 6.3789062 C 6.6814573 6.1652292 6.5633438 6.0615979 6.1699219 5.6289062 L 5.828125 5.2519531 C 6.269809 4.7645445 6.4733361 4.3444212 6.1347656 4.0058594 C 5.9273019 3.7983903 5.5581419 3.6632941 5.1699219 3.6699219 z "
/>
</g> </g>
</svg> </svg>
<!--<i class="fax fa-bull-sperm"></i> Font Awesome-like--><span <!--<i class="fax fa-bull-sperm"></i> Font Awesome-like--><span
class="">Artificial Insemination</span> class=""
>Artificial Insemination</span
>
</a> </a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link pl-0" href="/videos"><i class="fad fa-video fa-fw"></i> <span <a class="nav-link pl-0" href="/videos"
class="">Videos</span></a> ><i class="fad fa-video fa-fw"></i>
<span class="">Videos</span></a
>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link pl-0" href="/websites"><i class="fad fa-browser fa-fw"></i> <span <a class="nav-link pl-0" href="/websites"
class="">Websites</span></a> ><i class="fad fa-browser fa-fw"></i>
<span class="">Websites</span></a
>
</li> </li>
</ul> </ul>
</div> </div>
@ -83,10 +121,11 @@
<div class="col bg-faded py-3 gx-0"> <div class="col bg-faded py-3 gx-0">
<div class="container"> <div class="container">
<header class="d-none d-sm-none d-md-block text-center"> <header class="d-none d-sm-none d-md-block text-center">
<h1 class="font-serif font-small-caps"><object data="{{ $millironx.Permalink }}"> <h1 class="font-serif font-small-caps">
<img src="{{ $millironx.Permalink }}" alt="Milliron X" /></object> <object data="{{ $millironx.Permalink }}">
&emsp; <img src="{{ $millironx.Permalink }}" alt="Milliron X" />
Milliron X </object>
&emsp; Milliron X
</h1> </h1>
</header> </header>
</div> </div>
@ -99,8 +138,14 @@
{{ $imgsrc := print "images/" (.Param "cardImage") ".jpg" }} {{ $imgsrc := print "images/" (.Param "cardImage") ".jpg" }}
{{ $mainimg := resources.Get $imgsrc }} {{ $mainimg := resources.Get $imgsrc }}
{{ $blurimg := $mainimg.Filter (images.GaussianBlur 100) }} {{ $blurimg := $mainimg.Filter (images.GaussianBlur 100) }}
<div class="img-src" style="background-image: url('{{ $mainimg.RelPermalink }}');"></div> <div
<div class="img-src blur" style="background-image: url('{{ $blurimg.RelPermalink }}');"></div> class="img-src"
style="background-image: url('{{ $mainimg.RelPermalink }}');"
></div>
<div
class="img-src blur"
style="background-image: url('{{ $blurimg.RelPermalink }}');"
></div>
</div> </div>
<br /> <br />
<main class="container-fluid"> <main class="container-fluid">
@ -122,8 +167,7 @@
{{ $maskjs := resources.Get "scripts/phone-masking.js" }} {{ $maskjs := resources.Get "scripts/phone-masking.js" }}
{{ $ttjs := resources.Get "scripts/tooltip-enable.js" }} {{ $ttjs := resources.Get "scripts/tooltip-enable.js" }}
{{ $alljs := slice $jqueryjs $popperjs $twbsjs $fajs $fittextjs $scrolljs $jqmaskjs $maskjs $ttjs | resources.Concat {{ $alljs := slice $jqueryjs $popperjs $twbsjs $fajs $fittextjs $scrolljs $jqmaskjs $maskjs $ttjs | resources.Concat
"js/bundle.js" | minify | fingerprint }} "js/bundle.js" | minify | fingerprint
<script src="{{ $alljs.Permalink }}"></script> }} <script src="{{ $alljs.Permalink }}"></script>
</body> </body>
</html> </html>

View file

@ -1,12 +1,36 @@
<div class="d-flex py-2"> <div class="d-flex py-2">
<div class="px-2"> <div class="px-2">
<h3> <h3>
{{ if eq .Params.type "poster" }}<i class="fad fa-presentation" data-bs-toggle="tooltip" title="Poster"></i>{{ end }} {{ if eq .Params.type "poster" }}
{{ if eq .Params.type "thesis" }}<i class="fad fa-graduation-cap" data-bs-toggle="tooltip" title="Thesis"></i>{{ end }} <i
{{ if eq .Params.type "presentation" }}<i class="fad fa-podium" data-bs-toggle="tooltip" title="Presentation"></i>{{ end }} class="fad fa-presentation"
data-bs-toggle="tooltip"
title="Poster"
></i>
{{ end }}
{{ if eq .Params.type "thesis" }}
<i
class="fad fa-graduation-cap"
data-bs-toggle="tooltip"
title="Thesis"
></i>
{{ end }}
{{ if eq .Params.type "presentation" }}
<i
class="fad fa-podium"
data-bs-toggle="tooltip"
title="Presentation"
></i>
{{ end }}
</h3> </h3>
{{ with .Params.link }} {{ with .Params.link }}
<a class="btn btn-secondary dogear" href="{{ . }}" data-bs-toggle="tooltip" title="Full text"><i class="fad fa-file-alt"></i></a> <a
class="btn btn-secondary dogear"
href="{{ . }}"
data-bs-toggle="tooltip"
title="Full text"
><i class="fad fa-file-alt"></i
></a>
{{ end }} {{ end }}
</div> </div>
<div class="flex-grow-1 px-2"> <div class="flex-grow-1 px-2">
@ -28,7 +52,8 @@
{{- end }} {{- end }}
{{ end }} {{ end }}
<br /> <br />
{{ .Params.journal }}: {{ .Params.location }} ({{ dateFormat "02 Jan 2006" .Params.date }}) {{ .Params.journal }}: {{ .Params.location }}
({{ dateFormat "02 Jan 2006" .Params.date }})
<br /> <br />
{{ with .Params.keywords }} {{ with .Params.keywords }}
Keywords: Keywords:

View file

@ -1,11 +1,16 @@
{{ define "main" }} {{ define "main" }}
{{ .Content }} {{ .Content }}
<div class="row"> <div class="row">
{{ range .Pages }} {{ range .Pages }}
<div class="col-sm-4"> <div class="col-sm-4">
<a href="{{ .Permalink }}"> <a href="{{ .Permalink }}">
<img class="img-fluid img-thumbnail rounded" src="{{ .Params.thumbnail }}" alt="Thumbnail of {{ .Title }}" /> <img
class="img-fluid img-thumbnail rounded"
src="{{ .Params.thumbnail }}"
alt="Thumbnail of {{ .Title }}"
/>
<h4>{{ .Title }}</h4> <h4>{{ .Title }}</h4>
</a> </a>
</div> </div>

View file

@ -15,7 +15,8 @@
<iframe <iframe
src="{{ .Scratch.Get "embedLink" }}" src="{{ .Scratch.Get "embedLink" }}"
title="{{ .Title }}" title="{{ .Title }}"
allowfullscreen> allowfullscreen
>
</iframe> </iframe>
</div> </div>
</div> </div>

View file

@ -1,13 +1,11 @@
const purgecss = require('postcss-purgecss')({ const purgecss = require("postcss-purgecss")({
content: ['./hugo_stats.json'], content: ["./hugo_stats.json"],
defaultExtractor: (content) => { defaultExtractor: (content) => {
let els = JSON.parse(content).htmlElements; let els = JSON.parse(content).htmlElements;
return els.tags.concat(els.classes, els.ids); return els.tags.concat(els.classes, els.ids);
} },
}); });
module.exports = { module.exports = {
plugins: [ plugins: [purgecss],
purgecss };
]
}