Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7c12265

Browse files
committed
add repo links to pages
1 parentf8daec6 commit7c12265

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

‎_layouts/page.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
<header>
88
<h2>{{ page.title }}</h2>
99
<p>{{ page.tagline }}</p>
10+
{% if page.repo %}
11+
<atarget="_blank"href="{{ page.repo }}"class="icon fa-github fa-2x">
12+
<spanclass="label">{{ page.title }} repo</span>
13+
</a>
14+
{% endif %}
1015
</header>
1116

1217
<sectionclass="wrapper style5">

‎_sass/_custom.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
padding-top:75px;
33
padding-bottom:75px;
44
}
5+
6+
.fa-2x:hover {
7+
opacity:0.85;
8+
}

‎atom-coderoad.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: page
33
title: Atom-CodeRoad
44
tagline: Play Interactive Tutorials
5+
repo: //github.com/coderoad/atom-coderoad
56
---
67

78
{% for doc in site.categories.atom-coderoad reversed %}

‎builder-coderoad.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: page
33
title: Builder-CodeRoad
44
tagline: Create Interactive Tutorials
5+
repo: //github.com/coderoad/builder-coderoad
56
---
67

78
{% for doc in site.categories.builder-coderoad reversed %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp