Add default landing, blog, and CV templates

This commit is contained in:
2018-06-18 09:14:42 -04:00
parent 8eccb2b8db
commit 7f22a33050
6 changed files with 46 additions and 10 deletions

Submodule blog.bryanroessler.com added at 364604551d

View File

@@ -0,0 +1,15 @@
- text: Home
url: /
- text: First menu
url: /first-menu/
# subitems:
# - text: First menu (sub)
# url: /first-menu/first-menu-sub/
# subitems:
# - text: First menu (sub-sub)
# url: /first-menu/first-menu-sub/first-menu-sub-sub/
#- text: Second menu
# url: /second-menu/
# subitems:
# - text: Second menu (sub)
# url: /second-menu/second-menu-sub/

View File

@@ -0,0 +1,17 @@
{% assign navurl = page.url | remove: 'index.html' %}
<ul>
{% for item in include.nav %}
<li>
<a href="{{ item.url }}">
{% if item.url == navurl %}
<b>{{ item.text }}</b>
{% else %}
{{ item.text }}
{% endif %}
</a>
</li>
{% if item.subitems and navurl contains item.url %}
{% include nav.html nav=item.subitems %}
{% endif %}
{% endfor %}
</ul>

View File

@@ -7,6 +7,8 @@ layout: compress
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
{% include head.html %}
{% include nav.html nav=site.data.menu %}
<body>
<div class="wrapper">
{% include sidebar.html %}
@@ -23,4 +25,3 @@ layout: compress
{% include scripts.html %}
</body>
</html>

1
cv2.bryanroessler.com Submodule

Submodule cv2.bryanroessler.com added at 6851123118

Submodule landing2.bryanroessler.com added at ed55e9a223