Apply Prettier formatting
This commit is contained in:
parent
21897cc1c6
commit
d7657e5e63
18 changed files with 450 additions and 337 deletions
4
.github/workflows/build-site.yml
vendored
4
.github/workflows/build-site.yml
vendored
|
@ -2,7 +2,7 @@ name: Build and Deploy Site
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -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: |
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
$('#phone').mask('(000) 000-0000')
|
$("#phone").mask("(000) 000-0000");
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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);
|
||||||
})
|
});
|
||||||
|
|
|
@ -1,115 +1,115 @@
|
||||||
.blurred-container {
|
.blurred-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 35vh;
|
min-height: 35vh;
|
||||||
height: 350px;
|
height: 350px;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blurred-container .motto {
|
.blurred-container .motto {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
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;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 60%;
|
width: 60%;
|
||||||
height: 0
|
height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.motto h1 {
|
.motto h1 {
|
||||||
background: #0000007d;
|
background: #0000007d;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blurred-container .img-src {
|
.blurred-container .img-src {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 35vh;
|
min-height: 35vh;
|
||||||
height: 350px;
|
height: 350px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blur {
|
.blur {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Gives me greater control over fonts */
|
/* Gives me greater control over fonts */
|
||||||
.font-serif {
|
.font-serif {
|
||||||
font-family: Georgia, "Times New Roman", Times, serif;
|
font-family: Georgia, "Times New Roman", Times, serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.font-sans {
|
.font-sans {
|
||||||
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.font-mono {
|
.font-mono {
|
||||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
.font-small-caps {
|
.font-small-caps {
|
||||||
font-variant-caps: small-caps;
|
font-variant-caps: small-caps;
|
||||||
}
|
}
|
||||||
|
|
||||||
.strikethrough {
|
.strikethrough {
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sfTable {
|
.sfTable {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-align-left {
|
.text-align-left {
|
||||||
text-align: left
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-align-right {
|
.text-align-right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.float-left {
|
.float-left {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.float-right {
|
.float-right {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.media-object {
|
.media-object {
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.pull-left {
|
.pull-left {
|
||||||
max-width: 25%;
|
max-width: 25%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 small {
|
h1 small {
|
||||||
font-size: 60%;
|
font-size: 60%;
|
||||||
color: #9a9a9a;
|
color: #9a9a9a;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
margin: 30px 0 15px;
|
margin: 30px 0 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dogear {
|
.dogear {
|
||||||
clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 25%, 75% 0);
|
clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 25%, 75% 0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
---
|
---
|
||||||
|
|
|
@ -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"
|
||||||
---
|
---
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
---
|
---
|
||||||
|
|
|
@ -4,47 +4,85 @@ cardImage: venice-mailbox
|
||||||
motto: Contact Me
|
motto: Contact Me
|
||||||
---
|
---
|
||||||
|
|
||||||
<form class="form-horizontal"
|
<form
|
||||||
action="https://usebasin.com/f/787df7bfd22e"
|
class="form-horizontal"
|
||||||
method="post">
|
action="https://usebasin.com/f/787df7bfd22e"
|
||||||
<fieldset>
|
method="post"
|
||||||
<legend>Contact Me</legend>
|
>
|
||||||
<input type="hidden" name="_gotcha">
|
<fieldset>
|
||||||
<div class="form-group">
|
<legend>Contact Me</legend>
|
||||||
<label for="name" class="col-lg-2 control-label">Name</label>
|
<input type="hidden" name="_gotcha" />
|
||||||
<div class="col-lg-10">
|
<div class="form-group">
|
||||||
<input type="text" class="form-control" id="name" name="name" placeholder="Jay Lush" required>
|
<label for="name" class="col-lg-2 control-label">Name</label>
|
||||||
</div>
|
<div class="col-lg-10">
|
||||||
</div>
|
<input
|
||||||
<div class="form-group">
|
type="text"
|
||||||
<label for="email" class="col-lg-2 control-label">Email</label>
|
class="form-control"
|
||||||
<div class="col-lg-10">
|
id="name"
|
||||||
<input type="email" class="form-control" id="email" name="email" placeholder="jlush@iastate.edu" required>
|
name="name"
|
||||||
</div>
|
placeholder="Jay Lush"
|
||||||
</div>
|
required
|
||||||
<div class="form-group">
|
/>
|
||||||
<label for="phone" class="col-lg-2 control-label">Phone number</label>
|
</div>
|
||||||
<div class="col-lg-10">
|
</div>
|
||||||
<input type="tel" class="form-control" id="phone" name="phone" placeholder="(515) 294-2160">
|
<div class="form-group">
|
||||||
</div>
|
<label for="email" class="col-lg-2 control-label">Email</label>
|
||||||
</div>
|
<div class="col-lg-10">
|
||||||
<div class="form-group">
|
<input
|
||||||
<label for="subject" class="col-lg-2 control-label">Subject</label>
|
type="email"
|
||||||
<div class="col-lg-10">
|
class="form-control"
|
||||||
<input type="text" class="form-control" id="subject" name="subject" placeholder="Beef genetics" required>
|
id="email"
|
||||||
</div>
|
name="email"
|
||||||
</div>
|
placeholder="jlush@iastate.edu"
|
||||||
<div class="form-group">
|
required
|
||||||
<label for="message" class="col-lg-2 control-label">Message</label>
|
/>
|
||||||
<div class="col-lg-10">
|
</div>
|
||||||
<textarea rows="5" class="form-control font-sans" id="message" name="body" required style="min-height: 72pt;"></textarea>
|
</div>
|
||||||
</div>
|
<div class="form-group">
|
||||||
</div>
|
<label for="phone" class="col-lg-2 control-label">Phone number</label>
|
||||||
<div class="form-group">
|
<div class="col-lg-10">
|
||||||
<div class="col-lg-10 col-lg-offset-2">
|
<input
|
||||||
<button type="reset" class="btn btn-default">Cancel</button>
|
type="tel"
|
||||||
<button type="submit" class="btn btn-primary pageclip-form__submit"><span>Submit</span></button>
|
class="form-control"
|
||||||
</div>
|
id="phone"
|
||||||
</div>
|
name="phone"
|
||||||
</fieldset>
|
placeholder="(515) 294-2160"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="subject" class="col-lg-2 control-label">Subject</label>
|
||||||
|
<div class="col-lg-10">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
class="form-control"
|
||||||
|
id="subject"
|
||||||
|
name="subject"
|
||||||
|
placeholder="Beef genetics"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="message" class="col-lg-2 control-label">Message</label>
|
||||||
|
<div class="col-lg-10">
|
||||||
|
<textarea
|
||||||
|
rows="5"
|
||||||
|
class="form-control font-sans"
|
||||||
|
id="message"
|
||||||
|
name="body"
|
||||||
|
required
|
||||||
|
style="min-height: 72pt;"
|
||||||
|
></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-lg-10 col-lg-offset-2">
|
||||||
|
<button type="reset" class="btn btn-default">Cancel</button>
|
||||||
|
<button type="submit" class="btn btn-primary pageclip-form__submit">
|
||||||
|
<span>Submit</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -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,105 +10,151 @@
|
||||||
{{ $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
|
||||||
<div class="container-fluid">
|
class="navbar navbar-expand-md navbar-dark bg-dark align-items-start flex-md-column flex-row"
|
||||||
<a class="navbar-brand d-block d-md-none" href="#">
|
>
|
||||||
<object class="d-inline-block align-text-top" width="80" height="24"
|
<div class="container-fluid">
|
||||||
style="filter: invert(100%)" data="{{ $millironx.Permalink }}">
|
<a class="navbar-brand d-block d-md-none" href="#">
|
||||||
<img src="{{ $millironx.Permalink }}" alt="Milliron X" />
|
<object
|
||||||
</object>
|
class="d-inline-block align-text-top"
|
||||||
 
|
width="80"
|
||||||
<span class="font-small-caps font-serif">Milliron X</span>
|
height="24"
|
||||||
</a>
|
style="filter: invert(100%)"
|
||||||
<a href class="navbar-toggler" data-bs-toggle="collapse" data-bs-target=".sidebar">
|
data="{{ $millironx.Permalink }}"
|
||||||
<span class="navbar-toggler-icon"></span>
|
>
|
||||||
</a>
|
<img src="{{ $millironx.Permalink }}" alt="Milliron X" />
|
||||||
<div class="collapse navbar-collapse sidebar">
|
</object>
|
||||||
<ul class="flex-column navbar-nav w-100 justify-content-between">
|
 
|
||||||
<li class="nav-item">
|
<span class="font-small-caps font-serif">Milliron X</span>
|
||||||
<a class="nav-link pl-0" href="/"><i class="fad fa-home fa-fw"></i> <span
|
</a>
|
||||||
class="">Home</span></a>
|
<a
|
||||||
</li>
|
href
|
||||||
<li class="nav-item">
|
class="navbar-toggler"
|
||||||
<a class="nav-link pl-0" href="/contact"><i class="fad fa-file-signature fa-fw"></i>
|
data-bs-toggle="collapse"
|
||||||
<span class="">Contact</span></a>
|
data-bs-target=".sidebar"
|
||||||
</li>
|
>
|
||||||
<li class="nav-item">
|
<span class="navbar-toggler-icon"></span>
|
||||||
<a class="nav-link pl-0" href="/academia"><i class="fad fa-university fa-fw"></i>
|
</a>
|
||||||
<span class="">Academia</span></a>
|
<div class="collapse navbar-collapse sidebar">
|
||||||
</li>
|
<ul
|
||||||
<li class="nav-item">
|
class="flex-column navbar-nav w-100 justify-content-between"
|
||||||
<a class="nav-link pl-0" href="/ai">
|
>
|
||||||
<svg class="svg-inline--fa fa-bull-sperm fa-w-16 fa-fw" aria-hidden="true"
|
<li class="nav-item">
|
||||||
focusable="false" data-prefix="fax" data-icon="bull-sperm"
|
<a class="nav-link pl-0" href="/"
|
||||||
viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
><i class="fad fa-home fa-fw"></i>
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
<span class="">Home</span></a
|
||||||
<g class="fa-group">
|
>
|
||||||
<path class="fa-primary"
|
</li>
|
||||||
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" />
|
<li class="nav-item">
|
||||||
<path
|
<a class="nav-link pl-0" href="/contact"
|
||||||
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"
|
><i class="fad fa-file-signature fa-fw"></i>
|
||||||
class="fa-secondary" />
|
<span class="">Contact</span></a
|
||||||
<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 " />
|
</li>
|
||||||
</g>
|
<li class="nav-item">
|
||||||
</svg>
|
<a class="nav-link pl-0" href="/academia"
|
||||||
<!--<i class="fax fa-bull-sperm"></i> Font Awesome-like--><span
|
><i class="fad fa-university fa-fw"></i>
|
||||||
class="">Artificial Insemination</span>
|
<span class="">Academia</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="/ai">
|
||||||
class="">Videos</span></a>
|
<svg
|
||||||
</li>
|
class="svg-inline--fa fa-bull-sperm fa-w-16 fa-fw"
|
||||||
<li class="nav-item">
|
aria-hidden="true"
|
||||||
<a class="nav-link pl-0" href="/websites"><i class="fad fa-browser fa-fw"></i> <span
|
focusable="false"
|
||||||
class="">Websites</span></a>
|
data-prefix="fax"
|
||||||
</li>
|
data-icon="bull-sperm"
|
||||||
</ul>
|
viewBox="0 0 16 16"
|
||||||
</div>
|
version="1.1"
|
||||||
</div>
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
</nav>
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
</aside>
|
>
|
||||||
<div class="col bg-faded py-3 gx-0">
|
<g class="fa-group">
|
||||||
<div class="container">
|
<path
|
||||||
<header class="d-none d-sm-none d-md-block text-center">
|
class="fa-primary"
|
||||||
<h1 class="font-serif font-small-caps"><object data="{{ $millironx.Permalink }}">
|
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"
|
||||||
<img src="{{ $millironx.Permalink }}" alt="Milliron X" /></object>
|
/>
|
||||||
 
|
<path
|
||||||
Milliron X
|
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"
|
||||||
</h1>
|
class="fa-secondary"
|
||||||
</header>
|
/>
|
||||||
</div>
|
<path
|
||||||
<div class="blurred-container">
|
class="fa-secondary"
|
||||||
<div class="motto">
|
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 "
|
||||||
<h1 id="motto">
|
/>
|
||||||
{{ safeHTML (.Param "motto") }}
|
</g>
|
||||||
</h1>
|
</svg>
|
||||||
</div>
|
<!--<i class="fax fa-bull-sperm"></i> Font Awesome-like--><span
|
||||||
{{ $imgsrc := print "images/" (.Param "cardImage") ".jpg" }}
|
class=""
|
||||||
{{ $mainimg := resources.Get $imgsrc }}
|
>Artificial Insemination</span
|
||||||
{{ $blurimg := $mainimg.Filter (images.GaussianBlur 100) }}
|
>
|
||||||
<div class="img-src" style="background-image: url('{{ $mainimg.RelPermalink }}');"></div>
|
</a>
|
||||||
<div class="img-src blur" style="background-image: url('{{ $blurimg.RelPermalink }}');"></div>
|
</li>
|
||||||
</div>
|
<li class="nav-item">
|
||||||
<br />
|
<a class="nav-link pl-0" href="/videos"
|
||||||
<main class="container-fluid">
|
><i class="fad fa-video fa-fw"></i>
|
||||||
<div class="container px-5">
|
<span class="">Videos</span></a
|
||||||
{{ block "main" . }}{{ end }}
|
>
|
||||||
</div>
|
</li>
|
||||||
</main>
|
<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>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</nav>
|
||||||
|
</aside>
|
||||||
|
<div class="col bg-faded py-3 gx-0">
|
||||||
|
<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.Permalink }}">
|
||||||
|
<img src="{{ $millironx.Permalink }}" alt="Milliron X" />
|
||||||
|
</object>
|
||||||
|
  Milliron X
|
||||||
|
</h1>
|
||||||
|
</header>
|
||||||
|
</div>
|
||||||
|
<div class="blurred-container">
|
||||||
|
<div class="motto">
|
||||||
|
<h1 id="motto">
|
||||||
|
{{ safeHTML (.Param "motto") }}
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
{{ $imgsrc := print "images/" (.Param "cardImage") ".jpg" }}
|
||||||
|
{{ $mainimg := resources.Get $imgsrc }}
|
||||||
|
{{ $blurimg := $mainimg.Filter (images.GaussianBlur 100) }}
|
||||||
|
<div
|
||||||
|
class="img-src"
|
||||||
|
style="background-image: url('{{ $mainimg.RelPermalink }}');"
|
||||||
|
></div>
|
||||||
|
<div
|
||||||
|
class="img-src blur"
|
||||||
|
style="background-image: url('{{ $blurimg.RelPermalink }}');"
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
<br />
|
||||||
|
<main class="container-fluid">
|
||||||
|
<div class="container px-5">
|
||||||
|
{{ block "main" . }}{{ end }}
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ $jqueryjs := resources.Get "node_modules/jquery/dist/jquery.js" }}
|
{{ $jqueryjs := resources.Get "node_modules/jquery/dist/jquery.js" }}
|
||||||
|
@ -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>
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h2>Selected Presentations</h2>
|
<h2>Selected Presentations</h2>
|
||||||
{{ $featuredpubs := where .Pages ".Params.featured" "==" true }}
|
{{ $featuredpubs := where .Pages ".Params.featured" "==" true }}
|
||||||
{{ range $featuredpubs }}
|
{{ range $featuredpubs }}
|
||||||
{{ .Scratch.Set "showAbstract" true }}
|
{{ .Scratch.Set "showAbstract" true }}
|
||||||
{{ partial "academia/list-single.html" . }}
|
{{ partial "academia/list-single.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<hr />
|
<hr />
|
||||||
<h2>Other Presentations</h2>
|
<h2>Other Presentations</h2>
|
||||||
{{ $nonfeaturedpubs := where .Pages ".Params.featured" "==" false }}
|
{{ $nonfeaturedpubs := where .Pages ".Params.featured" "==" false }}
|
||||||
{{ range $nonfeaturedpubs }}
|
{{ range $nonfeaturedpubs }}
|
||||||
{{ partial "academia/list-single.html" . }}
|
{{ partial "academia/list-single.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,47 +1,72 @@
|
||||||
<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"
|
||||||
</h3>
|
data-bs-toggle="tooltip"
|
||||||
{{ with .Params.link }}
|
title="Poster"
|
||||||
<a class="btn btn-secondary dogear" href="{{ . }}" data-bs-toggle="tooltip" title="Full text"><i class="fad fa-file-alt"></i></a>
|
></i>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
{{ if eq .Params.type "thesis" }}
|
||||||
<div class="flex-grow-1 px-2">
|
<i
|
||||||
<h3>
|
class="fad fa-graduation-cap"
|
||||||
{{ .Title }}
|
data-bs-toggle="tooltip"
|
||||||
</h3>
|
title="Thesis"
|
||||||
{{ $authlist := .Params.authors }}
|
></i>
|
||||||
{{ range $idx, $auth := .Params.authors }}
|
{{ end }}
|
||||||
{{ if and (eq $idx (sub (len $authlist) 1)) (gt 1 (len $authlist)) }}
|
{{ if eq .Params.type "presentation" }}
|
||||||
and
|
<i
|
||||||
{{ end }}
|
class="fad fa-podium"
|
||||||
{{- if eq $auth "Thomas A. Christensen II" }}
|
data-bs-toggle="tooltip"
|
||||||
<strong>{{ $auth }}</strong>
|
title="Presentation"
|
||||||
{{- else }}
|
></i>
|
||||||
{{ $auth }}
|
{{ end }}
|
||||||
{{- end }}
|
</h3>
|
||||||
{{- if lt $idx (sub (len $authlist) 1) -}}
|
{{ with .Params.link }}
|
||||||
,
|
<a
|
||||||
{{- end }}
|
class="btn btn-secondary dogear"
|
||||||
{{ end }}
|
href="{{ . }}"
|
||||||
<br />
|
data-bs-toggle="tooltip"
|
||||||
{{ .Params.journal }}: {{ .Params.location }} ({{ dateFormat "02 Jan 2006" .Params.date }})
|
title="Full text"
|
||||||
<br />
|
><i class="fad fa-file-alt"></i
|
||||||
{{ with .Params.keywords }}
|
></a>
|
||||||
Keywords:
|
{{ end }}
|
||||||
{{ range . }}
|
</div>
|
||||||
<a href="#">{{ . }}</a>
|
<div class="flex-grow-1 px-2">
|
||||||
{{ end }}
|
<h3>
|
||||||
<br />
|
{{ .Title }}
|
||||||
{{ end }}
|
</h3>
|
||||||
{{ if eq (.Scratch.Get "showAbstract") true }}
|
{{ $authlist := .Params.authors }}
|
||||||
<details>
|
{{ range $idx, $auth := .Params.authors }}
|
||||||
<summary>Abstract</summary>
|
{{ if and (eq $idx (sub (len $authlist) 1)) (gt 1 (len $authlist)) }}
|
||||||
{{ .Content }}
|
and
|
||||||
</details>
|
{{ end }}
|
||||||
{{ end }}
|
{{- if eq $auth "Thomas A. Christensen II" }}
|
||||||
</div>
|
<strong>{{ $auth }}</strong>
|
||||||
|
{{- else }}
|
||||||
|
{{ $auth }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if lt $idx (sub (len $authlist) 1) -}}
|
||||||
|
,
|
||||||
|
{{- end }}
|
||||||
|
{{ end }}
|
||||||
|
<br />
|
||||||
|
{{ .Params.journal }}: {{ .Params.location }}
|
||||||
|
({{ dateFormat "02 Jan 2006" .Params.date }})
|
||||||
|
<br />
|
||||||
|
{{ with .Params.keywords }}
|
||||||
|
Keywords:
|
||||||
|
{{ range . }}
|
||||||
|
<a href="#">{{ . }}</a>
|
||||||
|
{{ end }}
|
||||||
|
<br />
|
||||||
|
{{ end }}
|
||||||
|
{{ if eq (.Scratch.Get "showAbstract") true }}
|
||||||
|
<details>
|
||||||
|
<summary>Abstract</summary>
|
||||||
|
{{ .Content }}
|
||||||
|
</details>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,14 +1,19 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
{{ range .Pages }}
|
<div class="row">
|
||||||
<div class="col-sm-4">
|
{{ range .Pages }}
|
||||||
<a href="{{ .Permalink }}">
|
<div class="col-sm-4">
|
||||||
<img class="img-fluid img-thumbnail rounded" src="{{ .Params.thumbnail }}" alt="Thumbnail of {{ .Title }}" />
|
<a href="{{ .Permalink }}">
|
||||||
<h4>{{ .Title }}</h4>
|
<img
|
||||||
</a>
|
class="img-fluid img-thumbnail rounded"
|
||||||
</div>
|
src="{{ .Params.thumbnail }}"
|
||||||
{{ end }}
|
alt="Thumbnail of {{ .Title }}"
|
||||||
</div>
|
/>
|
||||||
|
<h4>{{ .Title }}</h4>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,25 +1,26 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
|
||||||
{{ if eq .Params.storage "yt" }}
|
{{ if eq .Params.storage "yt" }}
|
||||||
{{ .Scratch.Set "embedLink" (print "https://www.youtube-nocookie.com/embed/" .Params.storageId) }}
|
{{ .Scratch.Set "embedLink" (print "https://www.youtube-nocookie.com/embed/" .Params.storageId) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if eq .Params.storage "vimeo" }}
|
{{ if eq .Params.storage "vimeo" }}
|
||||||
{{ .Scratch.Set "embedLink" (print "https://player.vimeo.com/video/" .Params.storageId "?color=ffffff") }}
|
{{ .Scratch.Set "embedLink" (print "https://player.vimeo.com/video/" .Params.storageId "?color=ffffff") }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if eq .Params.storage "lbry" }}
|
{{ if eq .Params.storage "lbry" }}
|
||||||
{{ .Scratch.Set "embedLink" (print "https://odysee.com/$/embed/" .Params.storageId) }}
|
{{ .Scratch.Set "embedLink" (print "https://odysee.com/$/embed/" .Params.storageId) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="ratio ratio-16x9">
|
<div class="ratio ratio-16x9">
|
||||||
<iframe
|
<iframe
|
||||||
src="{{ .Scratch.Get "embedLink" }}"
|
src="{{ .Scratch.Get "embedLink" }}"
|
||||||
title="{{ .Title }}"
|
title="{{ .Title }}"
|
||||||
allowfullscreen>
|
allowfullscreen
|
||||||
</iframe>
|
>
|
||||||
</div>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -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
|
};
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue