Skip to content

Commit

Permalink
FIX: Ensure the entire URL is used, not the just the current page pre…
Browse files Browse the repository at this point in the history
…fix or the current URL segment

Conflicts:
	javascript/seo.js
  • Loading branch information
gordonbanderson committed May 4, 2015
1 parent b6d3547 commit be381c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion javascript/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
//console.log(EditorContent);
var FirstParagraph = $(EditorContent).filter('p').first().text().toLowerCase();
var PageContent = $(EditorContent).text().toLowerCase();
var PageURL = $('input[name="URLSegment"]').val().toLowerCase();
var URLSegmentNode = $('input[name="URLSegment"]');
var PageURL = URLSegmentNode.attr('data-prefix').toLowerCase()+URLSegmentNode.val().toLowerCase();
var PageMetaTitle = $('input[name="MetaTitle"]').val().toLowerCase();
var PageMetaDescription = $('textarea[name="MetaDescription"]').val().toLowerCase();

Expand Down

0 comments on commit be381c1

Please sign in to comment.