Skip to content

Commit 11b98c1

Browse files
committed
Add author to feed and each post
1 parent d4de632 commit 11b98c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

templates/feed.hbs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<link href="https://blog.rust-lang.org/" rel="alternate" type="text/html" />
66
<title>Rust Blog</title>
77
<subtitle>Empowering everyone to build reliable and efficient software.</subtitle>
8+
<author>
9+
<name>Maintained by the Rust Team.</name>
10+
<uri>https://github.com/rust-lang/blog.rust-lang.org/</uri>
11+
</author>
812

913
{{#each posts}}
1014
<entry>
@@ -13,6 +17,10 @@
1317
<published>{{year}}-{{month}}-{{day}}</published>
1418
<id>https://blog.rust-lang.org/{{url}}</id>
1519
<content type="html" xml:base="https://blog.rust-lang.org/{{url}}">{{contents}}</content>
20+
21+
<author>
22+
<name>{{author}}</name>
23+
</author>
1624
</entry>
1725
{{/each}}
1826
</feed>

0 commit comments

Comments
 (0)