Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Customize twitter search string.

  • Loading branch information...
commit a48dff4ee53734c56ee7ecc6930b60c53088775d 1 parent e2f4ccd
Will White authored
Showing with 3 additions and 1 deletion.
  1. +1 −0  _config.yml
  2. +1 −0  _layouts/default.html
  3. +1 −1  js/site.js
View
1  _config.yml
@@ -5,6 +5,7 @@ permalink: none
baseurl:
url: http://nodedc.org
hashtag: '#nodedc'
+twitter_search: ''
github_login: 'developmentseed'
github_repo: 'bones'
github_language: 'JavaScript'
View
1  _layouts/default.html
@@ -10,6 +10,7 @@
<link href='http://fonts.googleapis.com/css?family=Jockey+One' rel='stylesheet' type='text/css'>
<script type='text/javascript'>
var site = {
+ twitter_search: '{{site.twitter_search}}',
github_language: '{{site.github_language}}',
github_login: '{{site.github_login}}',
github_repo: '{{site.github_repo}}',
View
2  js/site.js
@@ -85,7 +85,7 @@ longneck.setup = function() {
$.ajax({
url: 'http://search.twitter.com/search.json',
- data: { q: site.hashtag, rpp:100 },
+ data: { q: site.twitter_search, rpp:100 },
dataType: 'jsonp',
success: function(resp) {
if (!resp.results.length) return;
Please sign in to comment.
Something went wrong with that request. Please try again.