File tree Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 5
5
{% else %}
6
6
{% assign flags_state = site.data.flags_state %}
7
7
{% endif %}
8
- {% endcapture %}
9
8
9
+ {% comment %} VOOG intro popover targets. Add them where applicable popovers should appear.{% endcomment %}
10
+ {% capture edy_intro_add_page %} {% if editmode %} data-edy-intro-popover="edy-add-page"{% endif %} {% endcapture %}
11
+ {% capture edy_intro_add_lang %} {% if editmode %} data-edy-intro-popover="edy-add-lang"{% endif %} {% endcapture %}
12
+ {% capture edy_intro_edit_text %} {% if editmode %} data-edy-intro-popover="edy-edit-text"{% endif %} {% endcapture %}
10
13
14
+ {% endcapture %}
Original file line number Diff line number Diff line change 1
1
{% if editmode or site.has_many_languages? %}
2
2
<nav class =" lang-menu js-popup-menu js-menu-lang-wrap {% if flags_state %} flags-enabled{% else %} flags-disabled{% endif %} " >
3
- <button role =" button" class =" lang-menu-btn js-popup-menu-btn lang-flag lang-flag-{ { page.language_code } } " data-lang-code =" { { page.language_code } } " >
3
+ <button role =" button" class =" lang-menu-btn js-popup-menu-btn lang-flag lang-flag-{ { page.language_code } } " data-lang-code =" { { page.language_code } } " { { edy_intro_add_lang } } >
4
4
5
5
{% if editmode or flags_state == nil or flags_state == false %}
6
6
<span class =" lang-title" >
Original file line number Diff line number Diff line change 33
33
<li >{% menubtn site.hidden_menuitems %} </li >
34
34
{% endif %}
35
35
36
- <li >{% menuadd %} </li >
36
+ <li { { edy_intro_add_page } } >{% menuadd %} </li >
37
37
{% endif %}
38
38
</ul >
39
39
</div >
Original file line number Diff line number Diff line change 21
21
<h1 >{% editable article.title %} <time class =" post-date" datetime =" { { article.created_at | date : " %Y %m %d" } } " >{ { article.created_at | format_date: " long" } }</time ></h1 >
22
22
</header >
23
23
<section class =" post-content" >
24
- <div class =" post-excerpt cfx formatted" >{% editable article.excerpt %} </div >
24
+ <div class =" post-excerpt cfx formatted" { { edy_intro_edit_text } } >{% editable article.excerpt %} </div >
25
25
<div class =" post-body cfx formatted" >{% editable article.body %} </div >
26
26
27
27
{% if editmode or article.tags.size > 0 %}
Original file line number Diff line number Diff line change 18
18
<div class =" wrap" >
19
19
20
20
<div class =" content formatted cfx" >
21
- <div class =" content-header" >{% contentblock name= " content_header" publish_default_content=" true" %} <h1 >{ { page.title } }</h1 >{% endcontentblock %} </div >
21
+ <div class =" content-header" { { edy_intro_edit_text } } >{% contentblock name= " content_header" publish_default_content=" true" %} <h1 >{ { page.title } }</h1 >{% endcontentblock %} </div >
22
22
{% include " submenu" %}
23
- <div class =" content-body" >{% content %} </div >
23
+ <div class =" content-body" { { edy_intro_edit_text } } >{% content %} </div >
24
24
</div >
25
25
</div >
26
26
</div >
You can’t perform that action at this time.
0 commit comments