You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by kt...@apache.org on 2016/11/08 17:16:26 UTC
[1/2] incubator-fluo-website git commit: Added some basic twitter
support
Repository: incubator-fluo-website
Updated Branches:
refs/heads/gh-pages ac6b75bf4 -> 77528d838
Added some basic twitter support
Project: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/commit/ff477ebb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/tree/ff477ebb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/diff/ff477ebb
Branch: refs/heads/gh-pages
Commit: ff477ebb781647ffe67455082bf4d8ab30d236f1
Parents: ac6b75b
Author: Keith Turner <kt...@apache.org>
Authored: Tue Nov 8 09:55:00 2016 -0500
Committer: Keith Turner <kt...@apache.org>
Committed: Tue Nov 8 09:55:00 2016 -0500
----------------------------------------------------------------------
_config.yml | 3 +++
_includes/scripts.html | 17 +++++++++++++++++
_layouts/post.html | 3 ++-
_layouts/release.html | 3 ++-
index.html | 3 ++-
5 files changed, 26 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/blob/ff477ebb/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index 155f117..7f90e43 100644
--- a/_config.yml
+++ b/_config.yml
@@ -57,6 +57,9 @@ old_api_static: "https://static.javadoc.io/io.fluo"
whitelist: [jekyll-redirect-from]
gems: [jekyll-redirect-from]
+#Social
+twitter_username: "ApacheFluo"
+
kramdown:
input: GFM
syntax_highlighter: rouge
http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/blob/ff477ebb/_includes/scripts.html
----------------------------------------------------------------------
diff --git a/_includes/scripts.html b/_includes/scripts.html
index bd148a3..29fc24d 100644
--- a/_includes/scripts.html
+++ b/_includes/scripts.html
@@ -11,3 +11,20 @@
ga('send', 'pageview');
</script>
+
+<script>window.twttr = (function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0],
+ t = window.twttr || {};
+ if (d.getElementById(id)) return t;
+ js = d.createElement(s);
+ js.id = id;
+ js.src = "https://platform.twitter.com/widgets.js";
+ fjs.parentNode.insertBefore(js, fjs);
+
+ t._e = [];
+ t.ready = function(f) {
+ t._e.push(f);
+ };
+
+ return t;
+}(document, "script", "twitter-wjs"));</script>
http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/blob/ff477ebb/_layouts/post.html
----------------------------------------------------------------------
diff --git a/_layouts/post.html b/_layouts/post.html
index a6a3832..f61a0dc 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -2,8 +2,9 @@
layout: default
---
<div id="post-header">
- <h2>{{ page.title }}</h1>
+ <h2>{{ page.title }}</h2>
<p class="text-muted">{{ page.date | date_to_string }}</p>
+ <p><a class="twitter-share-button" href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}&via={{ site.twitter_username }}&related={{ site.twitter_username }}" rel="nofollow" target="_blank" title="Share on Twitter">Twitter</a></p>
</div>
<div id="post-content">
{{ content }}
http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/blob/ff477ebb/_layouts/release.html
----------------------------------------------------------------------
diff --git a/_layouts/release.html b/_layouts/release.html
index 0be3915..b96509a 100644
--- a/_layouts/release.html
+++ b/_layouts/release.html
@@ -2,7 +2,8 @@
layout: default
---
<div class="post-header">
- <h2>{{ page.title }}</h1>
+ <h2>{{ page.title }}</h2>
+ <p><a class="twitter-share-button" href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}&via={{ site.twitter_username }}&related={{ site.twitter_username }}" rel="nofollow" target="_blank" title="Share on Twitter">Twitter</a></p>
<p class="text-muted">{{ page.date | date_to_string }}</p>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/blob/ff477ebb/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 3fddd4c..1402471 100644
--- a/index.html
+++ b/index.html
@@ -7,7 +7,8 @@ html_title_override: true
<div id="welcome-jumbotron" class="jumbotron" style="text-align: center">
<h3>Apache Fluo™ lets users make incremental updates to large data sets stored in Apache Accumulo</h3>
<a style="margin-right: 20px" href="{{ site.baseurl }}/release/fluo-{{ site.latest_fluo_release }}/" class="btn btn-success btn-sm navbar-btn"><i class="fa fa-download fa-lg"></i> Download</a>
- <a href="https://github.com/apache/incubator-fluo" target="_blank" class="btn btn-primary btn-sm navbar-btn"><i class="fa fa-github fa-lg"></i> View on GitHub</a>
+ <a style="margin-right: 20px" href="https://github.com/apache/incubator-fluo" target="_blank" class="btn btn-primary btn-sm navbar-btn"><i class="fa fa-github fa-lg"></i>View on Github</a>
+ <a href="https://twitter.com/apachefluo" target="_blank" class="btn btn-primary btn-sm navbar-btn"><i class="fa fa-twitter fa-lg"></i>Follow</a>
</div>
<h3 style="padding-top: 0px">Overview</h3>
<p>Apache Fluo (incubating) is an open source implementation of <a href="https://research.google.com/pubs/pub36726.html" target="_blank">Percolator</a>
[2/2] incubator-fluo-website git commit: #40 - Minor code review
updates
Posted by kt...@apache.org.
#40 - Minor code review updates
Project: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/commit/77528d83
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/tree/77528d83
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/diff/77528d83
Branch: refs/heads/gh-pages
Commit: 77528d838c89e17b146e0949cb20bbd9aca15251
Parents: ff477eb
Author: Mike Walch <mw...@apache.org>
Authored: Tue Nov 8 11:58:28 2016 -0500
Committer: Mike Walch <mw...@apache.org>
Committed: Tue Nov 8 11:58:28 2016 -0500
----------------------------------------------------------------------
_layouts/release.html | 6 ++----
index.html | 4 ++--
2 files changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/blob/77528d83/_layouts/release.html
----------------------------------------------------------------------
diff --git a/_layouts/release.html b/_layouts/release.html
index b96509a..b1f37d4 100644
--- a/_layouts/release.html
+++ b/_layouts/release.html
@@ -3,8 +3,8 @@ layout: default
---
<div class="post-header">
<h2>{{ page.title }}</h2>
- <p><a class="twitter-share-button" href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}&via={{ site.twitter_username }}&related={{ site.twitter_username }}" rel="nofollow" target="_blank" title="Share on Twitter">Twitter</a></p>
<p class="text-muted">{{ page.date | date_to_string }}</p>
+ <p><a class="twitter-share-button" href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}&via={{ site.twitter_username }}&related={{ site.twitter_username }}" rel="nofollow" target="_blank" title="Share on Twitter">Twitter</a></p>
</div>
{% if page.historical %}
@@ -15,8 +15,6 @@ layout: default
{{ content }}
</div>
-<hr>
-
<div>
- <p>All releases can be found in the <a href="{{ site.baseurl }}/release/">release archive</a></p>
+ <p class="text-muted">View all releases in the <a href="{{ site.baseurl }}/release/">release archive</a></p>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-fluo-website/blob/77528d83/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 1402471..301a3f2 100644
--- a/index.html
+++ b/index.html
@@ -7,8 +7,8 @@ html_title_override: true
<div id="welcome-jumbotron" class="jumbotron" style="text-align: center">
<h3>Apache Fluo™ lets users make incremental updates to large data sets stored in Apache Accumulo</h3>
<a style="margin-right: 20px" href="{{ site.baseurl }}/release/fluo-{{ site.latest_fluo_release }}/" class="btn btn-success btn-sm navbar-btn"><i class="fa fa-download fa-lg"></i> Download</a>
- <a style="margin-right: 20px" href="https://github.com/apache/incubator-fluo" target="_blank" class="btn btn-primary btn-sm navbar-btn"><i class="fa fa-github fa-lg"></i>View on Github</a>
- <a href="https://twitter.com/apachefluo" target="_blank" class="btn btn-primary btn-sm navbar-btn"><i class="fa fa-twitter fa-lg"></i>Follow</a>
+ <a style="margin-right: 20px" href="https://github.com/apache/incubator-fluo" target="_blank" class="btn btn-default btn-sm navbar-btn"><i class="fa fa-github fa-lg"></i> GitHub</a>
+ <a href="https://twitter.com/apachefluo" target="_blank" class="btn btn-primary btn-sm navbar-btn"><i class="fa fa-twitter fa-lg"></i> Follow</a>
</div>
<h3 style="padding-top: 0px">Overview</h3>
<p>Apache Fluo (incubating) is an open source implementation of <a href="https://research.google.com/pubs/pub36726.html" target="_blank">Percolator</a>