Skip to content

Commit

Permalink
Switched theme
Browse files Browse the repository at this point in the history
  • Loading branch information
kitswas committed Aug 1, 2023
1 parent b1b934f commit da3c0ba
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 36 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins:
- jekyll-seo-tag
- jekyll-remote-theme

remote_theme: pages-themes/dinky@v0.2.0
remote_theme: pages-themes/cayman@v0.2.0

show_downloads: true

Expand Down
61 changes: 26 additions & 35 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,50 +1,41 @@
<!doctype html>
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="UTF-8">

{% seo %}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style" type="text/css" crossorigin>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
{% include head-custom.html %}
</head>
<body>
<div class="wrapper">
<header>
<p class="header">{{ site.description | default: site.github.project_tagline }}</p>
<a id="skip-to-content" href="#content">Skip to the content.</a>

<ul>
{% if site.show_downloads %}
<li class="download"><a class="buttons" href="{{ site.releases.android_url }}">Windows Server</a></li>
<li class="download"><a class="buttons" href="{{ site.releases.windows_url }}">Android App</a></li>
{% endif %}
<li><a class="buttons github" href="{{ site.github.repository_url }}">View On GitHub</a></li>
</ul>
<header class="page-header" role="banner">
<!-- <h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1> -->
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
{% endif %}
{% if site.show_downloads %}
<a href="{{ site.releases.android_url }}" class="btn">Download Android App</a>
<a href="{{ site.releases.windows_url }}" class="btn">Download Windows Server</a>
{% endif %}
</header>

{% if site.github.is_project_page %}
<p class="header">This project is maintained by <a class="header name" href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
{% endif %}
<main id="content" class="main-content" role="main">
{{ content }}

{% if site.github.is_user_page %}
<ul>
<li><a class="buttons github" href="{{ site.github.owner_url }}">GitHub Profile</a></li>
</ul>
<footer class="site-footer">
{% if site.github.is_project_page %}
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
{% endif %}
</header>

<section>
{{ content }}
</section>

<footer>
<p><small>Happy Gaming!</small></p>
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
</footer>
</div>
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
</main>
</body>
</html>

0 comments on commit da3c0ba

Please sign in to comment.