1
Fork 0

Cleanup some unused shortcodes

Or at least, just vendor them in if they're used just once
This commit is contained in:
Jake Howard 2020-05-19 20:52:39 +01:00
parent db296b5aa8
commit edb58b0340
Signed by: jake
GPG key ID: 57AFB45680EDD477
7 changed files with 5 additions and 38 deletions

View file

@ -2,10 +2,8 @@
title: Backgrounds title: Backgrounds
--- ---
As with most things, I synchronise my backgrounds between devices. I've also made them publicly accessible. As with most things, I synchronise my backgrounds between devices. I've also made them publicly accessible. I use [`tbg`]({{< relref "tbg" >}}) to set them on my machines.
{{< button src="https://bg.theorangeone.net/" >}} <iframe src="https://bg.theorangeone.net/"></iframe>
See My Backgrounds
{{< /button >}}
Disclaimer: None of these images have been created by me. I've tried to keep track of where they came from in `sources.txt`, however some are missing from the list. Disclaimer: None of these images have been created by me. I've tried to keep track of where they came from in [`sources.txt`](https://bg.theorangeone.net/), however some are missing from the list.

View file

@ -5,7 +5,7 @@ image: resource:editing-my-stack.png
hide_header_image: true hide_header_image: true
--- ---
Last year, I wrote {{< pagelink "posts/my-stack-2017" >}}, and now it's time for a follow-up. A year is a long time, and my day-to-day stack has changed quite a bit since then. Last year, I wrote [_My stack 2017_]({{< relref "posts/my-stack-2017" >}}), and now it's time for a follow-up. A year is a long time, and my day-to-day stack has changed quite a bit since then.
# OS # OS

View file

@ -1,3 +0,0 @@
<a class="btn btn-outline-dark my-2" href='{{ .Get "src" }}'>
{{ .Inner }}
</a>

View file

@ -1,2 +0,0 @@
{{ $page := .Site.GetPage (.Get 0)}}
<a class="font-italic" href="{{ $page.RelPermalink }}">{{ $page.Title }}</a>

View file

@ -1,6 +0,0 @@
<p>
<a class="" href="https://uk.pcpartpicker.com/user/TheOrangeOne/saved/#view={{ .Get 0 }}">
<i class="fas fa-desktop"></i>
View on PCPartPicker
</a>
</p>

View file

@ -1,4 +0,0 @@
<div class="yt-embed">
<iframe src="//www.youtube-nocookie.com/embed/{{ .Get 0 }}?rel=0" allowfullscreen frameborder="0"></iframe>
</div>

View file

@ -54,22 +54,6 @@ code {
} }
} }
.yt-embed {
position: relative;
padding-top: 30px;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
#light-gallery { #light-gallery {
a { a {
display: inline-block; display: inline-block;
@ -208,7 +192,7 @@ pre.chroma {
iframe { iframe {
width: 100%; width: 100%;
height: 50vh; height: 75vh;
} }
} }