mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Moved SaltStack events and news to SaltStack-specific sidebar template
This commit is contained in:
parent
04021cb233
commit
7c952dd98e
3 changed files with 16 additions and 13 deletions
14
doc/_templates/saltstack.html
vendored
Normal file
14
doc/_templates/saltstack.html
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
<h4>SaltStack News</h4>
|
||||
<p><a href="http://www.saltstack.com/events">Upcoming SaltStack events,
|
||||
webinars and local meet ups and user groups.</a></p>
|
||||
|
||||
{% if on_saltstack %}
|
||||
<h4>SaltStack training</h4>
|
||||
<img src="{{ pathto('_static/images/salt-training.png', 1) }}" alt="" style="padding-bottom: 1em;">
|
||||
|
||||
<ul>
|
||||
<li><a href="https://saltnyc.eventbrite.com/">NYC, May 5-7</a></li>
|
||||
<li><a href="http://saltlondon.eventbrite.com/"> London, May 28-30</a></li>
|
||||
<li><a href="http://saltslc.eventbrite.com/">Salt Lake City, June 11-13</a></li>
|
||||
</ul>
|
||||
{% endif %}
|
13
doc/_themes/saltstack/layout.html
vendored
13
doc/_themes/saltstack/layout.html
vendored
|
@ -64,19 +64,6 @@
|
|||
{%- for sidebartemplate in sidebars|default(html_default_sidebars, true) %}
|
||||
{%- include sidebartemplate %}
|
||||
{%- endfor %}
|
||||
|
||||
<p><a href="http://www.saltstack.com/events">Connect with SaltStack at
|
||||
upcoming events, webinars and local meet ups and user groups</a></p>
|
||||
|
||||
<h4>SaltStack training</h4>
|
||||
<img src="{{ pathto('_static/images/salt-training.png', 1) }}" alt="" style="padding-bottom: 1em;">
|
||||
|
||||
<ul>
|
||||
<li><a href="https://saltnyc.eventbrite.com/">NYC, May 5-7</a></li>
|
||||
<li><a href="http://saltlondon.eventbrite.com/"> London, May 28-30</a></li>
|
||||
<li><a href="http://saltslc.eventbrite.com/">Salt Lake City, June 11-13</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{%- endif %}
|
||||
|
|
|
@ -198,6 +198,7 @@ html_default_sidebars = [
|
|||
'localtoc.html',
|
||||
'relations.html',
|
||||
'sourcelink.html',
|
||||
'saltstack.html',
|
||||
]
|
||||
html_sidebars = {
|
||||
'ref/**/all/salt.*': [
|
||||
|
@ -207,6 +208,7 @@ html_sidebars = {
|
|||
'localtoc.html',
|
||||
'relations.html',
|
||||
'sourcelink.html',
|
||||
'saltstack.html',
|
||||
],
|
||||
'ref/formula/all/*': [
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue