diff options
author | Melody Horn <melody@boringcactus.com> | 2018-08-31 15:44:25 -0500 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2018-08-31 15:44:25 -0500 |
commit | ec88adb4bc05a85692b41cfc764c091c347ec991 (patch) | |
tree | c8990f3a0f86c6789f9d5034c3c59a3a9a8fb385 | |
parent | 1760ebea8ab6cef982693989ab0c22e48adc47fe (diff) | |
download | boringcactus.com-ec88adb4bc05a85692b41cfc764c091c347ec991.tar.gz boringcactus.com-ec88adb4bc05a85692b41cfc764c091c347ec991.zip |
Add (in theory) Open Graph metadata
-rw-r--r-- | _layouts/default.html | 27 | ||||
-rw-r--r-- | _posts/2018-06-17-windows-vim-python.md | 2 | ||||
-rw-r--r-- | _posts/2018-06-23-slicing-images-gimp-python.md | 2 | ||||
-rw-r--r-- | _posts/2018-07-17-some-thoughts-about-work.md | 3 | ||||
-rw-r--r-- | index.md | 5 |
5 files changed, 23 insertions, 16 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index a8d8e3f..982510c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,19 +1,30 @@ <!DOCTYPE html> <html> <head> -<meta charset="utf-8" /> -<meta name="viewport" content="width=device-width, initial-scale=1"> -<title>{{ page.title }} | boringcactus</title> -<link rel="stylesheet" href="/site.css"> + <meta charset="utf-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="description" content="{% if page.description != nil %}{{ page.description }}{% else %}{{ page.excerpt | strip_html | strip }}{% endif %}" /> + <meta property="og:url" content="{{ page.url | absolute_url }}" /> + <meta property="og:title" content="{{ page.title }}" /> + {% if page.url == "/" %} + <meta property="og:type" content="website" /> + <title>{{ page.title }}</title> + {% else %} + <meta property="og:type" content="article" /> + <meta property="article:published_time" content="{{ page.date }}" /> + <title>{{ page.title }} | boringcactus</title> + {% endif %} + <link rel="stylesheet" href="/site.css"> </head> <body> <header> -{% if page.url != "/" %} -<p>(brought to you by <a href="/">boringcactus</a>)</p> -{% endif %} + {% if page.url != "/" %} + <p>(brought to you by <a href="/">boringcactus</a>)</p> + {% endif %} </header> <main> -{{ content }} + <h1>{{ page.title }}</h1> + {{ content }} </main> </body> </html> diff --git a/_posts/2018-06-17-windows-vim-python.md b/_posts/2018-06-17-windows-vim-python.md index 7eeb83f..a2fdc25 100644 --- a/_posts/2018-06-17-windows-vim-python.md +++ b/_posts/2018-06-17-windows-vim-python.md @@ -3,8 +3,6 @@ layout: default title: "Windows, Vim, and Python: An Unholy Trinity of Pain" --- -# {{ page.title }} - Last summer I figured I'd learn Vim. That did not go well. I started by stealing somebody's `.vimrc`, as is natural. diff --git a/_posts/2018-06-23-slicing-images-gimp-python.md b/_posts/2018-06-23-slicing-images-gimp-python.md index 7d72247..1ad3514 100644 --- a/_posts/2018-06-23-slicing-images-gimp-python.md +++ b/_posts/2018-06-23-slicing-images-gimp-python.md @@ -3,8 +3,6 @@ layout: default title: "Slicing and Dicing Images with GIMP and Python" --- -# {{ page.title }} - Let's say you have one big image (say, a Telegram sticker) and you need to dice it into a bunch of smaller images (say, Discord emoji). GIMP can let you do that manually, but frankly so can simpler tools. GIMP also has powerful scripting support with Python (and also Scheme, but miss me with that) that can let us do that automatically. diff --git a/_posts/2018-07-17-some-thoughts-about-work.md b/_posts/2018-07-17-some-thoughts-about-work.md index 6e31902..92df7a1 100644 --- a/_posts/2018-07-17-some-thoughts-about-work.md +++ b/_posts/2018-07-17-some-thoughts-about-work.md @@ -1,10 +1,9 @@ --- layout: default title: "Some Thoughts About Work" +description: "I think there are three things that can make work rewarding: working with cool people, working on cool things, and working in cool ways." --- -# {{ page.title }} - I think there are three things that can make work rewarding: 1. Working with cool people 2. Working on cool things @@ -1,10 +1,11 @@ --- layout: default +title: boringcactus (Melody Horn) +description: i'm a programmer and a trans woman. --- -# boringcactus (Melody Horn) - i'm a programmer and a trans woman. + i've done some cool shit but it's under my deadname and i don't know how much of it is any good so i'm not talking about it here right now. i mostly exist on [twitter](https://twitter.com/boring_cactus) retweeting good content and occasionally tweeting bad content. |