Skip to content

Commit

Permalink
Change to '2015-conference' to help SEO for 2017 conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Armstrong committed Apr 1, 2017
1 parent d9a70d9 commit d96dd61
Show file tree
Hide file tree
Showing 23 changed files with 55 additions and 55 deletions.
2 changes: 1 addition & 1 deletion config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def people_filtered_and_sorted(d, filter, sorts)
def conference_button_links
links = %w(speakers schedule scholarships childcare)
links.map! do |link|
{ url: "/conference/#{link}", text: link.titleize }
{ url: "/2015-conference/#{link}", text: link.titleize }
end

links.last[:text] = "Childcare & Accessibility"
Expand Down
2 changes: 1 addition & 1 deletion lib/conference_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def all_speakers
end

def speaker_link(slug, info)
link_to(info['name'], "/conference/speakers##{slug}")
link_to(info['name'], "/2015-conference/speakers##{slug}")
end

def day_facilitators_links(day)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
%li
%a{ href: '/conference' } Overview
%li.write
= link_to 'Write Day', '/conference/write'
= link_to 'Write Day', '/2015-conference/write'
%li.speak
= link_to 'Speak Day', '/conference/speak'
= link_to 'Speak Day', '/2015-conference/speak'
%li.code
= link_to 'Code Day', '/conference/code'
= link_to 'Code Day', '/2015-conference/code'

%h1
%i{ class: "#{day_name}-icon" }
Expand All @@ -33,24 +33,24 @@

.day_summaries
%ul.days
= partial 'conference/day_list_item', locals: { header: "Learn", icon_class: "fa fa-book", actions: day_info.learn } do
%li= partial :arrow_button, locals: { link: "/conference/schedule##{day_name}", text: "Schedule", classes: %w(inverted notice skinny) }
= partial '2015-conference/day_list_item', locals: { header: "Learn", icon_class: "fa fa-book", actions: day_info.learn } do
%li= partial :arrow_button, locals: { link: "/2015-conference/schedule##{day_name}", text: "Schedule", classes: %w(inverted notice skinny) }

= partial 'conference/day_list_item', locals: { header: "Do", icon_class: "fa fa-list-ul", actions: day_info.do } do
= partial '2015-conference/day_list_item', locals: { header: "Do", icon_class: "fa fa-list-ul", actions: day_info.do } do
%li= partial :arrow_button, locals: { link: "#speakers", text: "Speakers", classes: %w(inverted notice skinny) }

.themes
%h2
= day_info.themes.join("<i class='fa fa-star-o'></i>")

= partial 'conference/each_day'
= partial '2015-conference/each_day'

.credits
%a{ name: "speakers" }
%h4
= title
= title
to Change the World Day will feature:

= partial 'people_list', locals: { filter: day_name, sort_include_type: true }

%p= partial :arrow_button, locals: { link: "/conference/speakers", text: "All Speakers", classes: %w(inverted notice`) }
%p= partial :arrow_button, locals: { link: "/2015-conference/speakers", text: "All Speakers", classes: %w(inverted notice`) }
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions source/2015-conference/code.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Code Day -- 2015 Write/Speak/Code International Conference
alias : about/code.html
layout: conference_layout
page_class: 'conference code'
sub_page: true
---

= partial "2015-conference/day_template", locals: { day_name: 'code', day_info: data.days.days.code }
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Write/Speak/Code International Conference
title: 2015 Write/Speak/Code International Conference
alias : about.html
layout: conference_layout
page_class: 'conference'
Expand Down Expand Up @@ -28,17 +28,17 @@ page_class: 'conference'
- i = 0
- data.days.days.each do |name, info|
- i = i+1
= partial 'conference/day_list_item', locals: { header: "Day #{i}", icon_class: "#{name}-icon", actions: info.actions } do
= partial '2015-conference/day_list_item', locals: { header: "Day #{i}", icon_class: "#{name}-icon", actions: info.actions } do
%li.learn_more
= partial :arrow_button,
locals: { link: "/conference/#{name}", text: "#{name.titleize} Day", classes: %w(inverted notice skinny) }
= partial :arrow_button,
locals: { link: "/2015-conference/#{name}", text: "#{name.titleize} Day", classes: %w(inverted notice skinny) }

%h2.change-world
%i.fa.fa-child
%span Day 4 &amp; beyond:
Change the World!
%i.fa.fa-child

= partial 'conference/each_day'
= partial '2015-conference/each_day'

= partial :arrow_button_list, locals: { links: conference_button_links, classes: ['inverted', 'skinny'] }
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Schedule for Write/Speak/Code International Conference
title: Schedule for 2015 Write/Speak/Code International Conference
alias: schedule.html
page_class: 'conference schedule'
layout: conference_layout
Expand Down Expand Up @@ -29,7 +29,7 @@ sub_page: true
Facilitated by #{day_facilitators_links(day).to_sentence}

= partial :arrow_button,
locals: { link: "/conference/#{day}", text: "More", classes: %w(inverted skinny) }
locals: { link: "/2015-conference/#{day}", text: "More", classes: %w(inverted skinny) }

%ul.events
- schedule_for_weekday(weekday).each do |item|
Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions source/2015-conference/speak.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Speak Day -- 2015 Write/Speak/Code International Conference
alias : about/speak.html
layout: conference_layout
page_class: 'conference speak'
sub_page: true
---

= partial "2015-conference/day_template", locals: { day_name: 'speak', day_info: data.days.days.speak }
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions source/2015-conference/write.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Write Day -- 2015 Write/Speak/Code International Conference
alias : about/write.html
layout: conference_layout
page_class: 'conference write'
sub_page: true
---

= partial "2015-conference/day_template", locals: { day_name: 'write', day_info: data.days.days.write }
2 changes: 1 addition & 1 deletion source/_people_list.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
- talks_info.each do |talk|
%li
%i.fa.fa-star-o
= link_to talk.try(:[],'talk_name'), "/conference/schedule##{talk.talk_id}"
= link_to talk.try(:[],'talk_name'), "/2015-conference/schedule##{talk.talk_id}"
- if info.bio
%p.bio
= link_or_text(info.name, info.url, bio_name_class)
Expand Down
8 changes: 4 additions & 4 deletions source/blog/2015-03-02-why-childcare.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ excerpt: At Write/Speak/Code we know that if we really want to empower existing
While we would love to have more resources (people and financial) to support
mothers and women caregivers, we are doing what we can now. That is:

* offering [childcare](/conference/childcare) at all our [workshops](/events) and [conferences](/conferences)
* offering a [scholarship for mothers and caregivers](/conference/scholarships#mothers)
* offering [childcare](/2015-conference/childcare) at all our [workshops](/events) and conferences
* offering a [scholarship for mothers and caregivers](/2015-conference/scholarships#mothers)
to attend the Write/Speak/Code annual conference.

Thank you to [thoughtbot](http://www.thoughtbot.com) for sponsoring childcare
at the [2015 Write/Speak/Code International Conference](/conference)!
at the [2015 Write/Speak/Code International Conference](/2015-conference)!

= partial :arrow_button,
locals: { link: '/conference/scholarships#mothers', text: 'Mother &amp; Caregiver Scholarship', classes: %w(primary) }
locals: { link: '/2015-conference/scholarships#mothers', text: 'Mother &amp; Caregiver Scholarship', classes: %w(primary) }



9 changes: 0 additions & 9 deletions source/conference/code.html.haml

This file was deleted.

9 changes: 0 additions & 9 deletions source/conference/speak.html.haml

This file was deleted.

9 changes: 0 additions & 9 deletions source/conference/write.html.haml

This file was deleted.

2 changes: 1 addition & 1 deletion source/layouts/base_layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
%nav{ role: "navigation" }
%ul#js-navigation-menu.navigation-menu.show
%li.nav-link.conference
= link_to 'Conference', 'http://2017.writespeakcode.com/index.html', target: 'blank'
= link_to '2017 Conference', 'http://2017.writespeakcode.com/index.html', target: 'blank'
%li.nav-link.meetups
%a{ href:"/chapters" } Chapters
Expand Down
8 changes: 4 additions & 4 deletions source/layouts/conference_layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
Pace University, New York City

%p
%a.button.success{ href: '/conference/scholarships' } Scholarships
%a.button.success{ href: '/2015-conference/scholarships' } Scholarships
%a.button.primary{ href: 'https://guestlistapp.com/events/306111' }
Register NOW!
%a.button.notice{ href: '/sponsor' } Sponsor

%p
Check out our
= succeed '.' do
= link_to "fantastic sponsors", "/conference/sponsors"
= link_to "fantastic sponsors", "/2015-conference/sponsors"

%h4.childcare-callout
%a{ href: '/conference/childcare' }
%a{ href: '/2015-conference/childcare' }
Childcare Available!

#content
Expand All @@ -45,4 +45,4 @@
%p
We wouldn't be here without the generous support of
= succeed '.' do
= link_to "our sponsors", "/conference/sponsors"
= link_to "our sponsors", "/2015-conference/sponsors"

0 comments on commit d96dd61

Please sign in to comment.