Skip to content

Commit ac2a576

Browse files
committed
adding user content/slides page
1 parent 88b951e commit ac2a576

5 files changed

Lines changed: 55 additions & 0 deletions

File tree

_data/sidebars/main_sidebar.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ entries:
9494
url: /tutorials
9595
output: web, pdf
9696

97+
- title: Contributed Content Links
98+
url: /links
99+
output: web, pdf
100+
97101
- title: User Documentation
98102
url: /user-guide
99103
output: web, pdf

_data/slides.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
user_contributions:
2+
- title: User Contributions
3+
folders:
4+
- title: User Contributions
5+
folderitems:
6+
- title: Singularity on OpenMind (MIT)
7+
date: 2/2017
8+
external_url: http://satra.cogitatum.org/om-images/
9+
- title: Singularity on SCG4 (Stanford)
10+
date: 2/2017
11+
external_url: https://docs.google.com/presentation/d/1qAh0vXmmFW0MtV5qKZhruxQNknNQnGItQ25Q0A1GX8Q/pub?start=false&loop=false&delayms=3000
12+
- title: Content Contributions
13+
folderitems:
14+
- title: Vagrant Virtualbox OSX Code Snippet
15+
external_url: https://gist.github.com/truatpasteurdotfr/c160ffaa4b46a47ad196220194e715f0
16+
date: 2/2017

_data/topnav.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ topnav_dropdowns:
88
url: /admin-guide
99
- title: User Guide
1010
url: /user-guide
11+
- title: Contributed Content
12+
url: /links
1113
- title: Quick Links
1214
folderitems:
1315
- title: Github Repo

pages/docs/user-docs/user-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ How do the commands work? We recommend you look at examples for each:
165165
- [run](/docs-run)
166166
- [bootstrap](/docs-bootstrap)
167167

168+
168169
## Support
169170

170171
Have a question, or need further information? <a href="/support">Reach out to us.</a>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Singularity Extra Contributed Content
3+
sidebar: main_sidebar
4+
keywords: presentations
5+
permalink: links
6+
toc: false
7+
folder: presentations
8+
---
9+
10+
{% assign content = site.data.slides.user_contributions %}
11+
12+
<div class="home">
13+
14+
<h2>Presentation Contributions</h2>
15+
<div class="post-list">
16+
17+
{% for entry in content %}
18+
{% for folder in entry.folders %}
19+
<h3>{{ folder.title }}</h3>
20+
<ul>
21+
{% for item in folder.folderitems %}
22+
{% if item.external_url %}
23+
<li><a href="{{ item.external_url }}" target="_blank">{{ item.title }}</a><small style="color:#666"> {{ item.date }}</small></li>
24+
{% else %}
25+
<li><a href="{{ item.url | remove: "/"}}">{{ item.title }}</a></li>
26+
{% endif %}
27+
{% endfor %}
28+
</ul>
29+
{% endfor %}
30+
{% endfor %}
31+
</div>
32+
</div>

0 commit comments

Comments
 (0)