added new font
This commit is contained in:
parent
cb2a27a35c
commit
1dc8876b22
19 changed files with 161 additions and 7 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
old/
|
old/
|
||||||
_site/
|
_site/
|
||||||
.jekyll-cache/
|
.jekyll-cache/
|
||||||
|
/favicon.ico
|
||||||
|
/favicon.png
|
|
@ -5,10 +5,81 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>{{ page.title }} - {{ site.title }}</title>
|
<title>{{ page.title }} - {{ site.title }}</title>
|
||||||
|
<link rel="stylesheet" href="/assets/style.css">
|
||||||
|
<link rel='stylesheet' href='/assets/fonts/style.css'>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="{{ "/assets/style.css" | relative_url }}">
|
|
||||||
<link rel='stylesheet' href='/assets/material/style.css'>
|
<link rel='stylesheet' href='/assets/material/style.css'>
|
||||||
<!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
|
|
||||||
|
<!-- opengraph -->
|
||||||
|
<meta property="og:title" content="{{ page.title }}">
|
||||||
|
<meta property="og:site_name" content="{{ site.title }}">
|
||||||
|
<meta property="og:description" content="{{ page.summary | default: 'my personal blog about software and more!' }}">
|
||||||
|
<meta property="og:image" content="https://lynnesbian.space/assets/img/bune.png">
|
||||||
|
<meta property="og:image:alt" content="A drawing of a rabbit sniffing the air and smiling.">
|
||||||
|
<meta property="og:url" content="{{ page.url | absolute_url }}">
|
||||||
|
{%- if page.collection == "posts" %}
|
||||||
|
{%- assign summary = page.summary %}
|
||||||
|
{%- unless summary %}
|
||||||
|
{%- assign summary = page.excerpt | summarise %}
|
||||||
|
{%- endunless %}
|
||||||
|
|
||||||
|
{%- assign modified_date = page.updated %}
|
||||||
|
{%- unless modified_date %}
|
||||||
|
{%- assign modified_date = page.date %}
|
||||||
|
{%- endunless %}
|
||||||
|
<meta property="og:type" content="article">
|
||||||
|
<meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
||||||
|
<meta property="og:article:author" content="{{ page.author | default: 'Unknown' }}">
|
||||||
|
<meta property="og:article:section" content="{{ page.categories.first | default: 'Uncategorised' }}">
|
||||||
|
{%- for tag in page.tags %}
|
||||||
|
<meta property="og:article:tag" content="{{ tag }}">
|
||||||
|
{%- endfor %}
|
||||||
|
|
||||||
|
<!-- schema.org -->
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "BlogPosting",
|
||||||
|
"mainEntityOfPage": {
|
||||||
|
"@type": "WebPage",
|
||||||
|
"@id": "{{ page.url | absolute_url }}"
|
||||||
|
},
|
||||||
|
"language": "en_AU",
|
||||||
|
"headline": "{{ page.title }}",
|
||||||
|
"articleSection": "{{ page.categories.first | default: 'Uncategorised' }}",
|
||||||
|
"datePublished": "{{ page.date | date_to_xmlschema }}",
|
||||||
|
"dateModified": "{{ modified_date | date_to_xmlschema }}",
|
||||||
|
"author": {
|
||||||
|
"@type": "Person",
|
||||||
|
"name": "{{ page.author | default: 'Unknown' }}"
|
||||||
|
},
|
||||||
|
"license": "https://creativecommons.org/licenses/by-sa/4.0/",
|
||||||
|
"publisher": {
|
||||||
|
"@type": "Organization", // ;)
|
||||||
|
"name": "bune dot city",
|
||||||
|
"logo": {
|
||||||
|
"@type": "ImageObject",
|
||||||
|
"url": "{{ '/assets/img/shitty-amp-compliant-logo.png' | absolute_url }}",
|
||||||
|
"height": 60,
|
||||||
|
"width": 600
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"image": [
|
||||||
|
{%- for image in page.images %}
|
||||||
|
"{{ image }}"{% unless image == page.images.last %},{% endunless %}
|
||||||
|
{%- endfor %}
|
||||||
|
],
|
||||||
|
"keywords": [
|
||||||
|
{%- for tag in page.tags %}
|
||||||
|
"{{ tag }}"{% unless tag == page.tags.last %},{% endunless %}
|
||||||
|
{%- endfor %}
|
||||||
|
],
|
||||||
|
"description": "{{ summary }}"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{%- endif %}
|
||||||
|
<meta property="og:locale" content="en_AU">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -6,6 +6,7 @@ layout: default
|
||||||
<div id='main'>
|
<div id='main'>
|
||||||
<div id='post-content'>
|
<div id='post-content'>
|
||||||
<div id='post-info'><i class='material-icons'>person</i> By {{ page.author }} <i class='material-icons'>access_time</i> Published {{ page.date | date_to_long_string: "ordinal" }}</div>
|
<div id='post-info'><i class='material-icons'>person</i> By {{ page.author }} <i class='material-icons'>access_time</i> Published {{ page.date | date_to_long_string: "ordinal" }}</div>
|
||||||
|
{{ page.categories }}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
BIN
_plugins/PlayfairDisplay-Italic-VariableFont_wght.ttf
Normal file
BIN
_plugins/PlayfairDisplay-Italic-VariableFont_wght.ttf
Normal file
Binary file not shown.
BIN
_plugins/PlayfairDisplay-VariableFont_wght.ttf
Normal file
BIN
_plugins/PlayfairDisplay-VariableFont_wght.ttf
Normal file
Binary file not shown.
27
_plugins/plugin.rb
Normal file
27
_plugins/plugin.rb
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
require "liquid"
|
||||||
|
require "jekyll"
|
||||||
|
require "nokogiri"
|
||||||
|
|
||||||
|
module Jekyll
|
||||||
|
module LynnesbianDotSpaceFilters
|
||||||
|
def summarise(excerpt)
|
||||||
|
doc = Nokogiri::HTML.fragment(excerpt) do |config|
|
||||||
|
config.noblanks
|
||||||
|
end
|
||||||
|
|
||||||
|
first_paragraph = doc.xpath(".//p")[0]
|
||||||
|
if first_paragraph.is_a?(NilClass) then
|
||||||
|
return "Couldn't generate a summary for this post."
|
||||||
|
else
|
||||||
|
return first_paragraph.text
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def ansi_bg(code)
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Liquid::Template.register_filter(Jekyll::LynnesbianDotSpaceFilters)
|
|
@ -5,10 +5,10 @@ author: Lynne
|
||||||
categories: [Reviews, Technology]
|
categories: [Reviews, Technology]
|
||||||
tags: [Review, Technology, Xbox]
|
tags: [Review, Technology, Xbox]
|
||||||
summary: My experiences with the Xbox One, and why I really don't recommend getting one (unless you really want to play the exclusives)
|
summary: My experiences with the Xbox One, and why I really don't recommend getting one (unless you really want to play the exclusives)
|
||||||
|
subtitle: Xbox? XBox? XBOX? Whatever.
|
||||||
|
images: [https://wasabi.lynnesbian.space/bune-city/2019/12/87d5da711b729344f9cc19b78a7b581f/IMG_20191205_092046-1024x768.jpg]
|
||||||
---
|
---
|
||||||
|
|
||||||
*Xbox? XBox? XBOX? Whatever.*
|
|
||||||
|
|
||||||
So my wife and I recently made the decision to get an Xbox One, because there were a few games I wanted on it, mainly the Rare Replay Collection for its Xbox 360 titles. I could have got an Xbox 360 and a copy of the games instead, but hey, may as well buy a current gen console, especially since we managed to find a cheap second hand Xbox One on eBay. It came with the Kinect (joy of joys), a copy of Kinect Sports Rivals, Lego Dimensions and the requisite pieces and scanner (the eBay listing didn't mention it but sure), the Xbox itself, and a controller with headset. A headset that only works with the Xbox One controller. Neato.
|
So my wife and I recently made the decision to get an Xbox One, because there were a few games I wanted on it, mainly the Rare Replay Collection for its Xbox 360 titles. I could have got an Xbox 360 and a copy of the games instead, but hey, may as well buy a current gen console, especially since we managed to find a cheap second hand Xbox One on eBay. It came with the Kinect (joy of joys), a copy of Kinect Sports Rivals, Lego Dimensions and the requisite pieces and scanner (the eBay listing didn't mention it but sure), the Xbox itself, and a controller with headset. A headset that only works with the Xbox One controller. Neato.
|
||||||
|
|
||||||
<!--more-->
|
<!--more-->
|
||||||
|
|
|
@ -3,6 +3,7 @@ title: Fediverse Survey Summary 3
|
||||||
date: 2019-05-20 15:18
|
date: 2019-05-20 15:18
|
||||||
author: Lynne
|
author: Lynne
|
||||||
categories: [The Fediverse]
|
categories: [The Fediverse]
|
||||||
|
tags: [The Fediverse, Fediverse Survey 2019]
|
||||||
---
|
---
|
||||||
|
|
||||||
*This post contains coarse language.*
|
*This post contains coarse language.*
|
||||||
|
|
BIN
assets/fonts/NimbusSanL-Bol.woff
Normal file
BIN
assets/fonts/NimbusSanL-Bol.woff
Normal file
Binary file not shown.
BIN
assets/fonts/NimbusSanL-Bol.woff2
Normal file
BIN
assets/fonts/NimbusSanL-Bol.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/NimbusSanL-BolIta.woff
Normal file
BIN
assets/fonts/NimbusSanL-BolIta.woff
Normal file
Binary file not shown.
BIN
assets/fonts/NimbusSanL-BolIta.woff2
Normal file
BIN
assets/fonts/NimbusSanL-BolIta.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/NimbusSanL-Reg.woff
Normal file
BIN
assets/fonts/NimbusSanL-Reg.woff
Normal file
Binary file not shown.
BIN
assets/fonts/NimbusSanL-Reg.woff2
Normal file
BIN
assets/fonts/NimbusSanL-Reg.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/NimbusSanL-RegIta.woff
Normal file
BIN
assets/fonts/NimbusSanL-RegIta.woff
Normal file
Binary file not shown.
BIN
assets/fonts/NimbusSanL-RegIta.woff2
Normal file
BIN
assets/fonts/NimbusSanL-RegIta.woff2
Normal file
Binary file not shown.
44
assets/fonts/style.css
Normal file
44
assets/fonts/style.css
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nimbus Sans';
|
||||||
|
src: local('Nimbus Sans L Regular'), local('NimbusSanL-Reg'),
|
||||||
|
local('Nimbus Sans Regular'), local('NimbusSans-Reg'),
|
||||||
|
url('NimbusSanL-Reg.woff2') format('woff2'),
|
||||||
|
url('NimbusSanL-Reg.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nimbus Sans';
|
||||||
|
src: local('Nimbus Sans L Bold Italic'), local('NimbusSanL-BolIta'),
|
||||||
|
local('Nimbus Sans Bold Italic'), local('NimbusSans-BolIta'),
|
||||||
|
url('NimbusSanL-BolIta.woff2') format('woff2'),
|
||||||
|
url('NimbusSanL-BolIta.woff') format('woff');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nimbus Sans';
|
||||||
|
src: local('Nimbus Sans L Regular Italic'), local('NimbusSanL-RegIta'),
|
||||||
|
local('Nimbus Sans Regular Italic'), local('NimbusSans-RegIta'),
|
||||||
|
url('NimbusSanL-RegIta.woff2') format('woff2'),
|
||||||
|
url('NimbusSanL-RegIta.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nimbus Sans';
|
||||||
|
src: local('Nimbus Sans L Bold'), local('NimbusSanL-Bol'),
|
||||||
|
local('Nimbus Sans Bold'), local('NimbusSans-Bol'),
|
||||||
|
url('NimbusSanL-Bol.woff2') format('woff2'),
|
||||||
|
url('NimbusSanL-Bol.woff') format('woff');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
|
@ -4,10 +4,13 @@ body {
|
||||||
h1 {
|
h1 {
|
||||||
font-family: "Playfair Display";
|
font-family: "Playfair Display";
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-size: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
/* h1#post-title {
|
|
||||||
|
|
||||||
} */
|
|
||||||
#post-content h2 {
|
#post-content h2 {
|
||||||
background: linear-gradient(to right, #9fc 0px 5px, transparent 5px 100%);
|
background: linear-gradient(to right, #9fc 0px 5px, transparent 5px 100%);
|
||||||
padding-left: 7px;
|
padding-left: 7px;
|
||||||
|
@ -44,6 +47,11 @@ h1 {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#post-content p {
|
||||||
|
font-family: "Nimbus Sans", sans-serif;
|
||||||
|
line-height: 1.6em;
|
||||||
|
}
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
BIN
favicon.ico
BIN
favicon.ico
Binary file not shown.
Before Width: | Height: | Size: 66 KiB |
Loading…
Reference in a new issue