Browse Source

new OG featured image, ty ccl!

pull/1/head
RRA 7 years ago
parent
commit
63182efafb
  1. 2
      pelican/themes/homebrewserver.club/templates/syndication.html
  2. BIN
      raw/extra/featured_image_black.gif
  3. BIN
      raw/extra/featured_image_blue.gif
  4. BIN
      raw/extra/featured_image_blue.png
  5. 10
      raw/template.md

2
pelican/themes/homebrewserver.club/templates/syndication.html

@ -5,7 +5,7 @@
{# Thumbnail image to show when homepage is shared on social media. It also
serves as the default image for posts whose featured_image is not set. #}
{% if not FEATURED_IMAGE %}
{% set FEATURED_IMAGE = 'http://homebrewserver.club/extra/featured_image_black.gif' %}
{% set FEATURED_IMAGE = 'http://homebrewserver.club/extra/featured_image_blue.png' %}
{% else %}
{% set FEATURED_IMAGE = FEATURED_IMAGE %}
{% endif %}

BIN
raw/extra/featured_image_black.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 KiB

BIN
raw/extra/featured_image_blue.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 KiB

BIN
raw/extra/featured_image_blue.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 KiB

10
raw/template.md

@ -3,7 +3,8 @@ Date: 2016-5-14
Category: log
Tags: try-out
Slug: the-template-post
Summary: Write a tweet-lenght summary for syndication across social media
Summary: If you write a summary that is the only text that shows up on the main index. Otherwise pelican takes the first few paragraphs.
Description: Write a tweet length description for OG tags that are displayed on social media.
featured_image: https://cdn1.nyt.com/images/2017/02/26/world/26NKOREA3/26NKOREA3-articleLarge.jpg
This is a template you can use with a short description of some of the syntax.
@ -26,6 +27,12 @@ headlines
smaller headlines?
---
#H1
##H2
###H3
code blocks:
:::console
@ -40,7 +47,6 @@ python
line numbers
#!python
print("line1")

Loading…
Cancel
Save