ea9e0757ff
This is the initial commit with the templates necessary to have our RocksDB user documentation hosted on GitHub pages. Ensure you meet requirements here: https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/#requirements Then you can run this right now by doing the following: ``` % bundle install % bundle exec jekyll serve --config=_config.yml,_config_local_dev.yml ``` Then go to: http://127.0.0.1:4000/ Obviously, this is just the skeleton. Moving forward we will do these things in separate pull requests: - Replace logos with RocksDB logos - Update the color schemes - Add current information on rocksdb.org to markdown in this infra - Migrate current Wodpress blog to Jekyll and Disqus comments - Etc.
35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
<div class="postSocialPlugins">
|
|
<a
|
|
href="https://twitter.com/share"
|
|
class="twitter-share-button"
|
|
data-url="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"
|
|
data-text="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"
|
|
data-hashtags="flowtype">Tweet</a>
|
|
<div
|
|
class="fb-like"
|
|
data-href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"
|
|
data-layout="button_count"
|
|
data-action="like"
|
|
data-show-faces="false"
|
|
data-share="true"></div>
|
|
</div>
|
|
<script>
|
|
window.fbAsyncInit = function() {
|
|
FB.init({
|
|
appId : '{{ site.fbappid }}',
|
|
xfbml : true,
|
|
version : 'v2.2'
|
|
});
|
|
};
|
|
|
|
(function(d, s, id){
|
|
var js, fjs = d.getElementsByTagName(s)[0];
|
|
if (d.getElementById(id)) {return;}
|
|
js = d.createElement(s); js.id = id;
|
|
js.src = "//connect.facebook.net/en_US/sdk.js";
|
|
fjs.parentNode.insertBefore(js, fjs);
|
|
}(document, 'script', 'facebook-jssdk'));
|
|
</script>
|
|
|
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|