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

@@ -2,25 +2,26 @@
layout: compress
---
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
{% include head.html %}
{% include nav.html nav=site.data.menu %}
<body>
<div class="wrapper">
{% include sidebar.html %}
<div class="main-wrapper">
{{content}}
</div><!--//main-body-->
</div>
{% include footer.html %}
{% include scripts.html %}
</body>
</html>
</html>

1
cv2.bryanroessler.com Submodule

Submodule cv2.bryanroessler.com added at 6851123118

Submodule landing2.bryanroessler.com added at ed55e9a223