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

Commit534e710

Browse files
committed
Merge pull requestpython3statement#3 from python3statement/sections
Figured out how to drop the date-base naming.
2 parentsb5705a1 +575cc79 commit534e710

File tree

8 files changed

+9
-5
lines changed

8 files changed

+9
-5
lines changed

‎_config.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@ colors:
3232
purple:'#c869bf'
3333
orange:'#fab125'
3434
turquoise:'#0fbfcf'
35+
36+
collections:
37+
-sections
3538

‎_includes/css/main.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ html { box-sizing: border-box; }
1515
{% endfor %}
1616

1717
/* ----- per-post colors! ----- */
18-
{% for node in site.posts %}
18+
{% for node in site.sections %}
1919
{% capture id %}{{ node.id |remove:'/' |downcase }}{% endcapture %}
2020
{% capture bg %}{% if site.colors[node.bg] %}{{ site.colors[node.bg] }}{% else %}{{ node.bg }}{% endif %}{% endcapture %}
2121
{% capture fg %}{% if site.colors[node.color] %}{{ site.colors[node.color] }}{% else %}{{ node.color }}{% endif %}{% endcapture %}
File renamed without changes.

‎_posts/2007-01-01-statement.md‎renamed to ‎_sections/02-statement.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
Title: Python
2+
title: statement
33
bg: '#fab125'
44
color: black
55
---

‎_posts/2009-02-02-timeline.md‎renamed to ‎_sections/03-timeline.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
title:timeline
23
bg:'white'
34
fa-icon:calendar
45
style:center

‎_posts/2009-01-02-why.md‎renamed to ‎_sections/04-why.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
Title:Why drop support for Python 2?
2+
title:why
33
color:'white'
44
bg:'#49a7e9'
55
fa-icon:'question'
File renamed without changes.

‎index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
<divid="main">
2121

2222
<nav><ul>
23-
{% for node in site.posts reversed %}
23+
{% for node in site.sections %}
2424
{% capture id %}{{ node.id | remove:'/' | downcase }}{% endcapture %}
2525
<liclass="p-{{id}}"><ahref="#{{id}}">{{node.title}}</a></li>
2626
{% endfor %}
2727
</ul></nav>
2828

2929

30-
{% for page in site.posts reversed %}
30+
{% for page in site.sections %}
3131
{% capture id %}{{ page.id | remove:'/' | downcase }}{% endcapture %}
3232
<divid="{{id}}"class="section p-{{id}}">
3333
{% if page.icon %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp