Extract page heading variable

This commit is contained in:
James Mead 2017-07-01 12:59:45 +01:00
parent 195936689c
commit d2482a2fd8
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,6 @@
--- ---
title: About title: About
heading: About CoTech
--- ---
<!doctype html> <!doctype html>
<html lang="en-US"> <html lang="en-US">
@ -61,7 +62,7 @@ title: About
<div id="page-banner"> <div id="page-banner">
<div class="row"> <div class="row">
<div class="small-centered small-12 medium-10 large-8 columns"> <div class="small-centered small-12 medium-10 large-8 columns">
<h2>About CoTech</h2> <h2>{{ page.heading }}</h2>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,5 +1,6 @@
--- ---
title: Join title: Join
heading: Join CoTech
--- ---
<!doctype html> <!doctype html>
<html lang="en-US"> <html lang="en-US">
@ -61,7 +62,7 @@ title: Join
<div id="page-banner"> <div id="page-banner">
<div class="row"> <div class="row">
<div class="small-centered small-12 medium-10 large-8 columns"> <div class="small-centered small-12 medium-10 large-8 columns">
<h2>Join CoTech</h2> <h2>{{ page.heading }}</h2>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,5 +1,6 @@
--- ---
title: Manifesto title: Manifesto
heading: Our Manifesto
--- ---
<!doctype html> <!doctype html>
<html lang="en-US"> <html lang="en-US">
@ -61,7 +62,7 @@ title: Manifesto
<div id="page-banner"> <div id="page-banner">
<div class="row"> <div class="row">
<div class="small-centered small-12 medium-10 large-8 columns"> <div class="small-centered small-12 medium-10 large-8 columns">
<h2>Our Manifesto</h2> <h2>{{ page.heading }}</h2>
</div> </div>
</div> </div>
</div> </div>