Added links and fixed issue with 404

main
Kenneth Jao 2 years ago
parent f03cd341be
commit 1945116317
  1. 4
      404.html
  2. 6
      _data/links.yml
  3. 5
      _includes/foot.html
  4. 8
      _layouts/banner.html

@ -16,8 +16,12 @@ layout: banner
letter-spacing: -1px; letter-spacing: -1px;
} }
#bannerContent { #bannerContent {
background-color: #E8E9EA;
padding-bottom: 6em; padding-bottom: 6em;
} }
footer {
position: absolute;
}
</style> </style>
<div class="container"> <div class="container">

@ -0,0 +1,6 @@
- name: Gitea
link: https://git.acem.ece.illinois.edu/
- name: Tutorial Docs
link: https://acem.ece.illinois.edu/docs/tutorial/
- name: DGEMS Docs
link: https://acem.ece.illinois.edu/docs/DGEMS/

@ -2,8 +2,9 @@
<div id="footer"> <div id="footer">
<p>Links for Members:</p> <p>Links for Members:</p>
<div> <div>
<a href="https://git.acem.ece.illinois.edu">Gitea</a> {%- for item in site.data.links -%}
<a href="https://acem.ece.illinois.edu/tutorial-docs">Tutorial Documentation</a> <a href="{{ item.link }}">{{ item.name }}</a>
{%- endfor -%}
</div> </div>
</div> </div>
<p id="author">Made by Kenneth Jao</p> <p id="author">Made by Kenneth Jao</p>

@ -89,9 +89,11 @@
</div> </div>
{%- endif -%} {%- endif -%}
{%- endfor -%} {%- endfor -%}
<div id="afterItems"> {%- if itemArray.size != 1 -%}
{{ itemArray.last }} <div id="afterItems">
</div> {{ itemArray.last }}
</div>
{%- endif -%}
</div> </div>
{% include foot.html %} {% include foot.html %}
</body> </body>

Loading…
Cancel
Save