Creates twig file for this template.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

5n00py’s picture

Issue tags: +code sprint drupal night ua 2012

Tagging.

podarok’s picture

Status: Needs review » Needs work
+++ b/core/themes/stark/templates/book/book-navigation.twig
@@ -0,0 +1,58 @@
+  <nav id="book-navigation-{{book_id}}" class="book-navigation">
+++ b/core/themes/stark/templates/book/book-navigation.twig
@@ -0,0 +1,58 @@
+    {{tree}}
+++ b/core/themes/stark/templates/book/book-navigation.twig
@@ -0,0 +1,58 @@
+      <h2 class="element-invisible">{{'Book Navigation'|t}}</h2>
+++ b/core/themes/stark/templates/book/book-navigation.twig
@@ -0,0 +1,58 @@
+          <a href="{{prev_url}}" rel="prev" title="{{'Go to previous page'|t}}"><b>{{'‹'|t}}</b>{{prev_title}}</a>
+++ b/core/themes/stark/templates/book/book-navigation.twig
@@ -0,0 +1,58 @@
+          <a href="{{parent_url}}" title="{{'Go to parent page'|t}}">{{'up'|t}}</a>
+++ b/core/themes/stark/templates/book/book-navigation.twig
@@ -0,0 +1,58 @@
+          <a href="{{next_url}}" rel="next" title="{{'Go to next page'|t}}">{{next_title}}<b>{{'›'|t}}</b></a>

should use whitespaces beetween {{ and variable

5n00py’s picture

Status: Needs work » Needs review
FileSize
2.32 KB

Also fixed doxygen comment

podarok’s picture

Status: Needs review » Reviewed & tested by the community

looks good

podarok’s picture

Status: Reviewed & tested by the community » Fixed

commited #3

podarok’s picture

Component: Code » Twig templates

commited into 8.x branch

Automatically closed -- issue fixed for 2 weeks with no activity.