Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
30b97eea
Commit
30b97eea
authored
Apr 26, 2017
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add RSS feed to site (will go live with 0.6 release).
Fixes #196
parent
ec794aee
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
3 deletions
+27
-3
README.md
doc/README.md
+3
-3
_config_next.yml
doc/_config_next.yml
+1
-0
header.html
doc/_includes/header.html
+1
-0
feed.xml
doc/feed.xml
+22
-0
No files found.
doc/README.md
View file @
30b97eea
...
...
@@ -5,11 +5,11 @@ This directory contains the "source code" for the Cap'n Proto web site.
The site is built with
[
Jekyll
](
http://jekyllrb.com/
)
, which depends on Ruby.
Start by installing ruby1.9.1-dev. On Debian-based operating systems:
sudo apt-get install ruby
1.9.1
-dev
sudo apt-get install ruby-dev
Then install Jekyll:
sudo gem install jekyll
sudo gem install jekyll
pygments.rb
Now install Pygments and SetupTools to be able to install the CapnProto lexer.
On Debian based operating systems:
...
...
@@ -24,7 +24,7 @@ Next, install the custom Pygments syntax highlighter:
Now you can launch a local server:
jekyll serve
highlighter
--watch
jekyll serve --watch
Edit, test, commit.
...
...
doc/_config_next.yml
View file @
30b97eea
...
...
@@ -2,3 +2,4 @@ safe: true
permalink
:
/news/:year-:month-:day-:title.html
baseurl
:
/next/
is_next
:
true
highlighter
:
pygments
doc/_includes/header.html
View file @
30b97eea
...
...
@@ -7,6 +7,7 @@
<meta
name=
"viewport"
content=
"width=480"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"{{ site.baseurl }}stylesheets/stylesheet.css"
>
<link
rel=
"alternate"
type=
"application/rss+xml"
title=
"Cap'n Proto News"
href=
"{{site.baseurl}}feed.xml"
>
<title>
Cap'n Proto: {{ page.title }}
</title>
...
...
doc/feed.xml
0 → 100644
View file @
30b97eea
---
layout: none
---
<?xml version="1.0" encoding="UTF-8"?>
<rss
version=
"2.0"
xmlns:atom=
"http://www.w3.org/2005/Atom"
>
<channel>
<title>
Cap'n Proto News
</title>
<description>
Latest updates on Cap'n Proto
</description>
<link>
https://capnproto.org
</link>
<atom:link
href=
"{{ site.baseurl }}feed.xml"
rel=
"self"
type=
"application/rss+xml"
/>
{% for post in site.posts limit:10 %}
<item>
<title>
{{ post.title | xml_escape }}
</title>
<description>
{{ post.content | xml_escape }}
</description>
<pubDate>
{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}
</pubDate>
<link>
{{ site.baseurl }}{{ post.url }}
</link>
<guid
isPermaLink=
"true"
>
{{ site.baseurl }}{{ post.url }}
</guid>
</item>
{% endfor %}
</channel>
</rss>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment