Skip to content
This repository was archived by the owner on Jan 4, 2023. It is now read-only.

Commit 6c4d596

Browse files
Update
1 parent 9fbd8f2 commit 6c4d596

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

_config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
title: Welcome Bot site
22
theme: jekyll-theme-cayman
3+
4+
google_analytics: G-CG5JP6P94W
5+
6+
invite_url: https://dsc.gg/welcome-bot
7+
discord_invite: https://dsc.gg/welcome-bot-guild

_layouts/default.html

+7-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<meta name="theme-color" content="#157878">
2121
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
2222
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
23-
<link rel="stylesheet" href="{{ '/assets/css/index.css?v=' | append: site.github.build_revision | relative_url }}">
2423
</head>
2524
<body>
2625
<a id="skip-to-content" href="#content">Skip to the content.</a>
@@ -31,6 +30,12 @@ <h2 class="project-tagline">{{ page.description | default: site.description | de
3130
{% if site.github.is_project_page %}
3231
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
3332
{% endif %}
33+
{% if site.invite_url %}
34+
<a href="{{ site.invite_url }}" class="btn">Invite the bot to your Discord.</a>
35+
{% endif %}
36+
{% if site.discord_invite %}
37+
<a href="{{ site.discord_invite }}" class="btn">View on GitHub</a>
38+
{% endif %}
3439
{% if site.show_downloads %}
3540
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
3641
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
@@ -45,6 +50,7 @@ <h2 class="project-tagline">{{ page.description | default: site.description | de
4550
<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>
4651
{% endif %}
4752
<a href="{{ '/' | relative_url }}">Back to main index page</a>
53+
<p>P.S. we use Google Analytics. <a href="https://policies.google.com/technologies/partner-sites">Analytics privacy info</a></p>
4854
</footer>
4955
</main>
5056
</body>

_layouts/docs.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ <h2 class="project-tagline">{{ page.description | default: site.description | de
3030
{% if site.github.is_project_page %}
3131
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
3232
{% endif %}
33+
{% if site.invite_url %}
34+
<a href="{{ site.invite_url }}" class="btn">Invite the bot to your Discord.</a>
35+
{% endif %}
36+
{% if site.discord_invite %}
37+
<a href="{{ site.discord_invite }}" class="btn">View on GitHub</a>
38+
{% endif %}
3339
</header>
3440

3541
<main id="content" class="main-content" role="main">
@@ -39,7 +45,8 @@ <h2 class="project-tagline">{{ page.description | default: site.description | de
3945
{% if site.github.is_project_page %}
4046
<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>
4147
{% endif %}
42-
<a href="{{ '/docs' | relative_url }}">Back to docs index page</a>
48+
<a href="{{ '/' | relative_url }}">Back to docs index page</a>
49+
<p>P.S. we use Google Analytics. <a href="https://policies.google.com/technologies/partner-sites">Analytics privacy info</a></p>
4350
</footer>
4451
</main>
4552
</body>

0 commit comments

Comments
 (0)