Add default landing, blog, and CV templates
This commit is contained in:
1
blog.bryanroessler.com
Submodule
1
blog.bryanroessler.com
Submodule
Submodule blog.bryanroessler.com added at 364604551d
15
cv.bryanroessler.com/_data/menu.yml
Normal file
15
cv.bryanroessler.com/_data/menu.yml
Normal 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/
|
||||
17
cv.bryanroessler.com/_includes/nav.html
Normal file
17
cv.bryanroessler.com/_includes/nav.html
Normal 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>
|
||||
@@ -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
1
cv2.bryanroessler.com
Submodule
Submodule cv2.bryanroessler.com added at 6851123118
1
landing2.bryanroessler.com
Submodule
1
landing2.bryanroessler.com
Submodule
Submodule landing2.bryanroessler.com added at ed55e9a223
Reference in New Issue
Block a user