Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit bec7f6d2 authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files

Update sidebar

parent 53c85c24
1 merge request!19Update ideas page layout and sidebar
<a class="btn btn-danger btn-sm btn-block text-light" role="button" href="https://bbb.io/gsocml"> {% if pagename == "ideas/index" %}
<i class="fa-brands fa-discourse"></i> Discuss on Forum <a role="button" href="https://bbb.io/gsocml">
</a> <i class="fa-brands fa-discourse"></i> More Ideas on Forum
\ No newline at end of file </a>
{% else %}
<a role="button" href="https://forum.beagleboard.org/new-topic?category=gsoc&tags=gsoc">
<i class="fa-brands fa-discourse"></i> Discuss on Forum
</a>
{% endif %}
<div class="card text-white bg-light mt-4 text-center">
<div class="card-body">
<p class="card-text">
<a href="https://www.beagleboard.org/">BeagleBoard.org</a> is all about being open, please discuss in public on our <a href="https://forum.beagleboard.org/">forum</a>!</p>
</div>
</div>
\ No newline at end of file
{% if pages_slug != "index" %} {% if pages_slug != "index" %}
{% for proposal_name in proposals %} {% for proposal_name in proposals %}
{% if pagename == "proposals/"+proposal_name %} {% if pagename == "proposals/"+proposal_name %}
<a class="btn btn-danger btn-sm btn-block text-light" role="button" href="{{proposal_name}}.pdf"> <a role="button" href="{{proposal_name}}.pdf">
<i class="fa-solid fa-download"></i> {{proposal_name}}.pdf <i class="fa-solid fa-download"></i> Download PDF
</a> </a>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
......
...@@ -117,7 +117,7 @@ html_theme_options = { ...@@ -117,7 +117,7 @@ html_theme_options = {
"footer_end": ["last-updated"], "footer_end": ["last-updated"],
# "content_footer_items": ["last-updated"], # "content_footer_items": ["last-updated"],
"secondary_sidebar_items": { "secondary_sidebar_items": {
"**": ["page-toc", "edit-this-page", "sourcelink","forum","pdf"] "**": ["page-toc", "edit-this-page", "sourcelink","pdf","forum"]
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment