diff --git a/_config.yml b/_config.yml index 0edc180c..b31c6b91 100644 --- a/_config.yml +++ b/_config.yml @@ -2,6 +2,7 @@ permalink: /:categories/:title/ markdown: kramdown url: "http://codeforsanfrancisco.org" baseurl: /sfbrigade-website +defaultbranch: gh-pages owner: twitter: sfbrigade diff --git a/js/projects.js b/js/projects.js index c77937b1..2fc45b79 100644 --- a/js/projects.js +++ b/js/projects.js @@ -22,6 +22,7 @@ function showProjects(response){ } project['repository_nwo'] = {% if site.github.repository_nwo %}"{{site.github.repository_nwo}}"{% else %}" "{% endif %}; + project['default_branch'] = "{{site.defaultbranch}}"; project['file_name'] = moment().format('MM-DD-YYYY-') + slugify(project['name']).toLowerCase() + ".md"; // to display text like 'x days ago' we use moment.js's awesome fromNow function // http://momentjs.com/docs/#/displaying/fromnow/ diff --git a/projects/index.html b/projects/index.html index 7d94fe8d..4e6edc2e 100644 --- a/projects/index.html +++ b/projects/index.html @@ -19,7 +19,7 @@

{{name}} {{^cfsf_url}} - Claim this project + Claim this project {{/cfsf_url}}

{{description}} {{#cfsf_url}}