Skip to content

Commit 0719b4e

Browse files
author
yuemori
committed
Modify to slack invitation link from github link
1 parent e75892f commit 0719b4e

3 files changed

Lines changed: 42 additions & 2 deletions

File tree

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ exclude:
1414
theme: jekyll-theme-cayman
1515

1616
github_username: ruby-jp
17+
18+
slack_invite_link: https://join.slack.com/t/ruby-jp/shared_invite/enQtNzE1NDg1ODE2MDM2LTE1NTc2Y2M0ZThlNzdmOWEyZjYwZjdhZDAwNjNhMGE0NDJiODcwMTNkZWRjOTgyMzNkZjEyMmQ1ZWYyNzkzYzk

_layouts/default.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ site.lang | default: "en-US" }}">
3+
<head>
4+
5+
{% if site.google_analytics %}
6+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
gtag('config', '{{ site.google_analytics }}');
12+
</script>
13+
{% endif %}
14+
<meta charset="UTF-8">
15+
16+
{% seo %}
17+
<meta name="viewport" content="width=device-width, initial-scale=1">
18+
<meta name="theme-color" content="#157878">
19+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
20+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
21+
</head>
22+
<body>
23+
<header class="page-header" role="banner">
24+
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
25+
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
26+
<a href="{{ site.slack_invite_link }}" class="btn">Join to Slack</a>
27+
</header>
28+
29+
<main id="content" class="main-content" role="main">
30+
{{ content }}
31+
32+
<footer class="site-footer">
33+
{% if site.github.is_project_page %}
34+
<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>
35+
{% endif %}
36+
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
37+
</footer>
38+
</main>
39+
</body>
40+
</html>

index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ ruby-jpは**Rubyプログラマーの交流のためのコミュニティ**で
66

77
---
88

9-
Slackへの参加は[こちら](https://join.slack.com/t/ruby-jp/shared_invite/enQtNzE1NDg1ODE2MDM2LTE1NTc2Y2M0ZThlNzdmOWEyZjYwZjdhZDAwNjNhMGE0NDJiODcwMTNkZWRjOTgyMzNkZjEyMmQ1ZWYyNzkzYzk)からご自由にどうぞ!
10-
119
## 🔰初心者の方へ
1210

1311
- `#general` - 入門者〜上級者が喋るチャンネルです

0 commit comments

Comments
 (0)