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

Commitdef9aa6

Browse files
committed
refactor summary into markdown
1 parent99cea90 commitdef9aa6

File tree

6 files changed

+19
-10
lines changed

6 files changed

+19
-10
lines changed

‎_config.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ social:
5050
#forumbee:
5151
#tripadvisor:
5252
#amazon:
53-
languages:
54-
-Javascript:
55-
name:JS
56-
icon:javascript-plain.svg
57-
-Python:
58-
name:Python
59-
icon:python-original.svg
6053

6154
# Build settings
6255
markdown:kramdown

‎_posts/landing/2016-01-01-summary.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title:About CodeRoad
3+
languages:
4+
-Javascript:
5+
name:JS
6+
icon:javascript-plain.svg
7+
-Python:
8+
name:Python
9+
icon:python-original.svg
10+
categories:
11+
-summary
12+
---
13+
14+
CodeRoad is a coding education platform aimed at creating interactive coding lessons. CodeRoad makes it easy to create, share, edit, and publish video-game-like tutorials that run alongside your code in the editor. It currently works with Javascript & Python, with more languages to come.

‎index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,21 @@ <h2>{{ site.title }}</h2>
1515
</section>
1616

1717
<!-- One -->
18+
{% for summary in site.categories.summary %}
1819
<sectionid="one"class="wrapper style1 special">
1920
<divclass="inner">
2021
<headerclass="major">
21-
<h2>About CodeRoad</h2>
22-
<p>CodeRoad is a coding education platform aimed at creating interactive coding lessons. CodeRoad makes it easy to create, share, edit, and publish video-game-like tutorials that run alongside your code in the editor. It currently works with Javascript & Python, with more languages to come.</p>
22+
<h2>{{summary.title}}</h2>
23+
{{summary.content}}
2324
</header>
2425
<ulclass="icons major">
25-
{% for lang insite.languages %}
26+
{% for lang insummary.languages %}
2627
{% include language-icon.html language=lang.name icon=lang.icon %}
2728
{% endfor %}
2829
</ul>
2930
</div>
3031
</section>
32+
{% endfor %}
3133

3234
<!-- Two -->
3335
<sectionid="two"class="wrapper alt style2">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp