6
6
7
7
{% block meta_tags_in_head %}
8
8
{{ super() }}
9
- {% from '_includes/_defaults.html' import LANDING_PAGE_ABOUT with context %}
10
- {% if LANDING_PAGE_ABOUT and LANDING_PAGE_ABOUT.title %}
11
- < meta property ="og:title " content ="{{ LANDING_PAGE_ABOUT.title |e }} "/>
12
- < meta name ="twitter:title " content ="{{ LANDING_PAGE_ABOUT.title |e }} ">
9
+ {% from '_includes/_defaults.html' import LANDING_PAGE_TITLE with context %}
10
+ {% if LANDING_PAGE_TITLE %}
11
+ < meta property ="og:title " content ="{{ LANDING_PAGE_TITLE |e }} "/>
12
+ < meta name ="twitter:title " content ="{{ LANDING_PAGE_TITLE |e }} ">
13
13
{% else %}
14
14
< meta property ="og:title " content ="{{ SITENAME|striptags|e }} "/>
15
15
< meta name ="twitter:title " content ="{{ SITENAME|striptags|e }} ">
30
30
{% endblock meta_tags_in_head %}
31
31
32
32
{% block content %}
33
- {% from '_includes/_defaults.html' import LANDING_PAGE_ABOUT with context %}
33
+ {% from '_includes/_defaults.html' import LANDING_PAGE_TITLE with context %}
34
34
{% from '_includes/_defaults.html' import PROJECTS with context %}
35
35
{% from '_includes/_defaults.html' import PROJECTS_TITLE with context %}
36
+
37
+ {% set landing_page = namespace(page=false) %}
38
+ {% for p in hidden_pages if p.slug == "landing-page-about-hidden" %}
39
+ {% set landing_page.page = p %}
40
+ {% endfor %}
41
+
42
+ {{landing_page.page.title}}
43
+
36
44
< div class ="row-fluid ">
37
- {% if LANDING_PAGE_ABOUT and LANDING_PAGE_ABOUT.title %}
45
+ {% if LANDING_PAGE_TITLE %}
38
46
{% set css_class = 'span10 offset2' %}
39
- {% if PROJECTS and LANDING_PAGE_ABOUT %}
47
+ {% if PROJECTS and LANDING_PAGE_TITLE %}
40
48
{% set css_class = 'span12' %}
41
49
{% endif %}
42
50
< header class ="page-header {{css_class}} ">
43
- < h1 > < a href ="{{ SITEURL }} "> {{ LANDING_PAGE_ABOUT.title }}</ a > </ h1 >
51
+ < h1 > < a href ="{{ SITEURL }} "> {{ LANDING_PAGE_TITLE }}</ a > </ h1 >
44
52
</ header >
45
53
{% endif %}
46
54
47
55
< div class ="row-fluid ">
48
- {% if LANDING_PAGE_ABOUT and LANDING_PAGE_ABOUT.details %}
56
+ {% if LANDING_PAGE_TITLE and landing_page.page %}
49
57
{% set css_class = 'span8 offset2' %}
50
- {% if PROJECTS and LANDING_PAGE_ABOUT %}
58
+ {% if PROJECTS and LANDING_PAGE_TITLE %}
51
59
{% set css_class = 'span8' %}
52
60
{% endif %}
53
61
< div class ="{{css_class}} ">
54
62
< header >
55
- < h1 id ="about-me "> About me </ h1 >
63
+ < h1 id ="about-me "> {{landing_page.page.title}} </ h1 >
56
64
</ header >
57
65
< div class ="article-content ">
58
- {{ LANDING_PAGE_ABOUT.details }}
66
+ {{ landing_page.page.content }}
59
67
</ div >
60
68
</ div >
61
69
{% endif %}
62
70
63
71
{% if PROJECTS %}
64
72
{% set css_class = 'span8 offset2' %}
65
- {% if PROJECTS and LANDING_PAGE_ABOUT %}
73
+ {% if PROJECTS and LANDING_PAGE_TITLE %}
66
74
{% set css_class = 'span4' %}
67
75
{% endif %}
68
76
< div class ="{{css_class}} ">
@@ -82,7 +90,7 @@ <h1 id="my-projects">{{ PROJECTS_TITLE }}</h1>
82
90
83
91
{% if articles %}
84
92
{% set css_class = 'span8 offset2' %}
85
- {% if articles and PROJECTS and LANDING_PAGE_ABOUT %}
93
+ {% if articles and PROJECTS and LANDING_PAGE_TITLE %}
86
94
{% set css_class = 'span12' %}
87
95
{% endif %}
88
96
< div class ="row-fluid ">
0 commit comments