add opengraph descriptions
This commit is contained in:
parent
707408bcc1
commit
b09dcdd4e2
@ -14,18 +14,31 @@
|
||||
content="{{ page.date | date_to_xmlschema }}"/>
|
||||
<meta property="article:section"
|
||||
content="Blog"/>
|
||||
|
||||
{% for tag in page.tags %}
|
||||
<meta property="article:tag" content="{{ tag }}"/>
|
||||
{% endfor %}
|
||||
|
||||
{% if page.image %}
|
||||
<meta property="og:image"
|
||||
content="{{site.url}}/images/{{page.path | split: '/' | last | split: '.' | first }}/{{page.image}}"/>
|
||||
{% endif %}
|
||||
|
||||
{% if page.description %}
|
||||
<meta
|
||||
property="og:description"
|
||||
content="{{page.description}}"
|
||||
/>
|
||||
{% else %}
|
||||
<meta
|
||||
property="og:description"
|
||||
content="{{page.content | markdownify | strip_html | truncate: 100}}"
|
||||
/>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<meta property="og:type"
|
||||
content="website"/>
|
||||
{% endif %}
|
||||
<!--{{page.collection}}-->
|
||||
|
||||
<link rel="stylesheet" href="/fa/css/fontawesome.min.css">
|
||||
<link rel="stylesheet" href="/fa/css/brands.min.css">
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
title: Making Realistic Particle Effects From Photos
|
||||
image: setup-small.jpg
|
||||
description: Using photography to generate particle textures for Kerbal Space Program modding
|
||||
tags: KSP restock gamedev
|
||||
---
|
||||
While working on drills for ReStock I realized I needed some particle effects for when the drills are in use. I wanted the effect of small rocks being kicked up from the ground and falling back down, but my attempts at a texture for the rocks all ended up looking more like potatos.
|
||||
|
Loading…
Reference in New Issue
Block a user