Skip to content

Instantly share code, notes, and snippets.

@bangpound
Created July 12, 2016 15:25
Show Gist options
  • Save bangpound/8a9ed98dc7ce9005d9d00deb5a183348 to your computer and use it in GitHub Desktop.
Save bangpound/8a9ed98dc7ce9005d9d00deb5a183348 to your computer and use it in GitHub Desktop.
commit 5c3285427c982408edb8a7363a64e4758b7b1086
Author: Benjamin Doherty <[email protected]>
Date: Mon Jul 11 15:31:33 2016 -0500
use label field not title.
diff --git a/docroot/themes/cflassy/templates/pages/node--page--page-title.html.twig b/docroot/themes/cflassy/templates/pages/node--page--page-title.html.twig
index 37274a9..3359b89 100644
--- a/docroot/themes/cflassy/templates/pages/node--page--page-title.html.twig
+++ b/docroot/themes/cflassy/templates/pages/node--page--page-title.html.twig
@@ -1,3 +1,3 @@
{{ content.field_header_image }}
-<h1>{{ title }}</h1>
+<h1>{{ label }}</h1>
<span>{{ content.body }}</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment