Skip to content

Commit

Permalink
experimenting with github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Sep 22, 2022
1 parent acf2a6d commit 7a08476
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ description: A powerful, easily deployable network traffic analysis tool suite
logo: docs/images/logo/Malcolm_outline_banner_dark.png
remote_theme: pages-themes/[email protected]
external_download_url: https://malcolm.fyi/download/
youtube_url: https://www.youtube.com/c/MalcolmNetworkTrafficAnalysisToolSuite
docs_uri: docs/
hedgehog_docs_uri: docs/hedgehog/
github:
owner_name: Seth Grover
plugins:
Expand Down
12 changes: 8 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,25 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo

<p>{{ site.description | default: site.github.project_tagline }}</p>

<p class="view"><i class="fa fa-book" aria-hidden="true"></i> <a href="{{ site.docs_uri | default: / | relative_url }}">Documentation</a></p>
<p class="view"><i class="fa fa-book" aria-hidden="true"></i> <a href="{{ site.docs_uri | default: /docs/ | relative_url }}">Documentation</a></p>

<p class="view"><i class="fa fa-network-wired" aria-hidden="true"></i> <a href="{{ site.hedgehog_docs_uri | default: /docs/hedgehog/ | relative_url }}">Hedgehog Linux</a></p>

{% if site.github.is_project_page %}
<p class="view"><i class="fa fa-github" aria-hidden="true"></i> <a href="{{ site.github.repository_url }}">{{ site.title | default: site.github.repository_name }} on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
{% endif %}

<p class="view"><i class="fa-brands fa-youtube" aria-hidden="true"></i> <a href="{{ site.youtube_url | default: https://youtube.com | absolute_url }}">{{ site.title | default: site.github.repository_name }} on YouTube</a></p>

{% if site.github.is_user_page %}
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
{% endif %}

{% if site.show_downloads %}
<ul class="downloads">
<li><i class="fa fa-compact-disc"></i> <a href="{{ site.external_download_url | default: site.github.repository_url }}"><strong>ISO</strong> downloads</a></li>
<li><i class="fa fa-file-zipper"></i> <a href="{{ site.github.tar_url }}">Source <strong>.tgz</strong></a></li>
<li><i class="fa fa-file-zipper"></i> <a href="{{ site.github.zip_url }}">Source <strong>.zip</strong></a></li>
<li><a href="{{ site.external_download_url | default: site.github.repository_url }}"><strong>ISO</strong> downloads</a></li>
<li><a href="{{ site.github.tar_url }}">Source <strong>.tgz</strong></a></li>
<li><a href="{{ site.github.zip_url }}">Source <strong>.zip</strong></a></li>
</ul>
{% endif %}
</header>
Expand Down

0 comments on commit 7a08476

Please sign in to comment.