RethinkDB Heroku Add-on landing page (rethinkdb.cloud)
A simple landing page, built as a static site on Jekyll.
Install Jekyll:
gem install bundler jekyll
Serve locally:
bundle exec jekyll serve
Build for production:
bundle exec jekyll build
This site uses the Minima Jekyll theme, with the Solarized Dark skin configured in _config.yml
. Any skin should be able to be configured without issue.
Minima sass has not been modified, all custom styling is layered on in _sass/minima/custom-styles.scss
and _sass/minima/custom-vaiables.scss
. Avoid editing Minima CSS if possible. It should generally not be necessary to do so.
Inside the front matter you need to include the
- Title
- Tags
- Author
A default post layout
and excerpt_separator
are configured in _config.yml
.
Example:
---
title: How to be a pirate
tags: pirates how-to sailing
author: Sascha
---
Swing the lead league galleon capstan Cat o'nine tails pinnace marooned broadside long clothes wench...
BAD:
---
title: How to be a pirate
tags: pirates sailing
author: Sascha
---
# How to be a pirate
Swing the lead league galleon capstan Cat o'nine tails pinnace marooned broadside long clothes wench...
After about the first paragraph or so, add a teaser tag that will appear on the main page of the blog.
---
title: "Sea creatures in my beard this week"
author: Sascha
---
American Main measured fer yer chains Buccaneer brig strike colors careen pillage spanker gangplank furl. Pressgang Brethren of the Coast warp brig walk the plank Nelsons folly trysail keelhaul hornswaggle **Letter of Marque**. Splice the main brace rutters.
<!--more-->
Landlubber or just lubber wench Sea Legs reef run a rig cable black jack crack Jennys tea cup...
Kramdown is the default Markdown renderer for Jekyll. It supports adding classes to markdown elements like so:
A paragraph with a class of `.alert`.
{: .alert }
Elements can be styled as alerts by adding alert classes, as in the example above. See style-guide.md
for details.
When creating a code block, unless you want to implement custom <pre>
tags,
aways use back-tics followed by the language tag. This is the only way to
add custom syntax highlighting.
```javascript
var memjs = require('memjs')
var mc = memjs.Client.create(process.env.MEMCACHIER_SERVERS, {
failover: true, // default: false
timeout: 1, // default: 0.5 (seconds)
keepAlive: true // default: false
})
mc.set('hello', 'memcachier', {expires:0}, function(err, val) {
if(err != null) {
console.log('Error setting value: ' + err)
}
})
...
```
If you would like to ensure that your code block is indented at the same level as the rest of a list, you need to add four spaces to the beginning of every line.
1. Foo
2. Bar
\```javascript
console.log("foobar")
\```
and then some stuff after the code block is done.
3. Bazz and a bunch of other stuff that will hopefully fall into a nice indented
line together or something like that. yadda yadda yadda.