Skip to content

Commit e38ceb4

Browse files
committed
changed protip pages title to be the protip name
1 parent 75c2d5b commit e38ceb4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/views/application/_footer.html.slim

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ footer#footer
77
li= link_to('FAQ', faq_path)
88
li= link_to('Privacy Policy', privacy_policy_path)
99
li= link_to('Terms of Service', tos_path)
10-
li= link_to('Jobs', '/jobs')
11-
li.employers= link_to('Employers', employers_path)
1210
=yield :footer_menu
1311

1412
.right_part
@@ -27,4 +25,4 @@ footer#footer
2725

2826
= javascript_include_tag 'coderwall'
2927
= render 'shared/mixpanel_properties'
30-
= yield :javascript
28+
= yield :javascript

app/views/protips/_protip.html.haml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-content_for :page_title do
2+
=sanitize(protip.title)
3+
14
.inside.cf.x-protip-pane{itemscope: true, itemtype: meta_article_schema_url}
25
%meta{itemprop: :dateCreated, content: protip.created_at}
36
.tip-container.cf.x-protip-content.protip-single#x-protip{class: mode}

0 commit comments

Comments
 (0)