Store page name in the comments file

This commit is contained in:
Flavio Copes 2015-10-07 15:43:16 +02:00
parent c18914d3e3
commit 5fd4cd6ac5
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@ jQuery(document).on('click tap', '.js__add-new-comment', function(event) {
text: $('.js__new-comment-text').val(),
name: $('.js__new-comment-name').val(),
email: $('.js__new-comment-email').val(),
name: "{{ grav.page.header.title }}"
path: "{{ grav.uri.path }}"
},
type: 'POST'