mirror of
https://github.com/godotengine/godot-website.git
synced 2026-01-04 06:09:55 +03:00
Add site.baseurl variable to fix OG image previews
This commit is contained in:
@@ -7,15 +7,15 @@ permalink: /rss.xml
|
||||
<channel>
|
||||
|
||||
<title>Godot Engine Official</title>
|
||||
<link>https://godotengine.org</link>
|
||||
<link>{{ site.baseurl }}</link>
|
||||
<description>Godot is a 2D and 3D free and open source game engine developed by a community of contributors. It provides a huge set of common tools, so you can just focus on making your game without reinventing the wheel.</description>
|
||||
<atom:link href="https://godotengine.org/rss.xml" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="{{ site.baseurl }}/rss.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
{% assign latest_posts = site.article | sort:"date" | reverse %}
|
||||
{% for post in latest_posts limit:24 %}
|
||||
<item>
|
||||
<title>{{ post.title }}</title>
|
||||
<link>https://godotengine.org{{ post.url }}</link>
|
||||
<link>{{ site.baseurl }}{{ post.url }}</link>
|
||||
<description>{{ post.content | xml_escape }}</description>
|
||||
<pubDate>{{ post.date | date: "%a, %d %b %Y %X +0000" }}</pubDate>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user