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

Commit98918b9

Browse files
committed
jekyll theme for rustpython / initial draft
1 parentb96c08d commit98918b9

31 files changed

+821
-0
lines changed

‎.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.jekyll-cache/
2+
_site

‎404.html‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
---
5+
6+
<styletype="text/css"media="screen">
7+
.container {
8+
margin:10px auto;
9+
max-width:600px;
10+
text-align: center;
11+
}
12+
h1 {
13+
margin:30px0;
14+
font-size:4em;
15+
line-height:1;
16+
letter-spacing:-1px;
17+
}
18+
</style>
19+
20+
<divclass="container">
21+
<h1>404</h1>
22+
23+
<p><strong>Page not found :(</strong></p>
24+
<p>The requested page could not be found.</p>
25+
</div>

‎Gemfile‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
source"https://rubygems.org"
2+
# Hello! This is where you manage which Jekyll version is used to run.
3+
# When you want to use a different version, change it below, save the
4+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5+
#
6+
# bundle exec jekyll serve
7+
#
8+
# This will help ensure the proper Jekyll version is running.
9+
# Happy Jekylling!
10+
gem"jekyll","~> 4.0.0"
11+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12+
gem"minima","~> 2.5"
13+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15+
# gem "github-pages", group: :jekyll_plugins
16+
# If you have any plugins, put them here!
17+
group:jekyll_pluginsdo
18+
gem"jekyll-feed","~> 0.12"
19+
end
20+
21+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
22+
# and associated library.
23+
install_if->{RUBY_PLATFORM =~%r!mingw|mswin|java!}do
24+
gem"tzinfo","~> 1.2"
25+
gem"tzinfo-data"
26+
end
27+
28+
# Performance-booster for watching directories on Windows
29+
gem"wdm","~> 0.1.1",:install_if=>Gem.win_platform?
30+

‎Gemfile.lock‎

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
GEM
2+
remote:https://rubygems.org/
3+
specs:
4+
addressable (2.7.0)
5+
public_suffix (>=2.0.2,<5.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.1.6)
8+
em-websocket (0.5.1)
9+
eventmachine (>=0.12.9)
10+
http_parser.rb (~>0.6.0)
11+
eventmachine (1.2.7)
12+
ffi (1.12.2)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.6.0)
15+
i18n (1.8.2)
16+
concurrent-ruby (~>1.0)
17+
jekyll (4.0.0)
18+
addressable (~>2.4)
19+
colorator (~>1.0)
20+
em-websocket (~>0.5)
21+
i18n (>=0.9.5,<2)
22+
jekyll-sass-converter (~>2.0)
23+
jekyll-watch (~>2.0)
24+
kramdown (~>2.1)
25+
kramdown-parser-gfm (~>1.0)
26+
liquid (~>4.0)
27+
mercenary (~>0.3.3)
28+
pathutil (~>0.9)
29+
rouge (~>3.0)
30+
safe_yaml (~>1.0)
31+
terminal-table (~>1.8)
32+
jekyll-feed (0.13.0)
33+
jekyll (>=3.7,<5.0)
34+
jekyll-sass-converter (2.1.0)
35+
sassc (>2.0.1,<3.0)
36+
jekyll-seo-tag (2.6.1)
37+
jekyll (>=3.3,<5.0)
38+
jekyll-watch (2.2.1)
39+
listen (~>3.0)
40+
kramdown (2.1.0)
41+
kramdown-parser-gfm (1.1.0)
42+
kramdown (~>2.0)
43+
liquid (4.0.3)
44+
listen (3.2.1)
45+
rb-fsevent (~>0.10,>=0.10.3)
46+
rb-inotify (~>0.9,>=0.9.10)
47+
mercenary (0.3.6)
48+
minima (2.5.1)
49+
jekyll (>=3.5,<5.0)
50+
jekyll-feed (~>0.9)
51+
jekyll-seo-tag (~>2.1)
52+
pathutil (0.16.2)
53+
forwardable-extended (~>2.6)
54+
public_suffix (4.0.3)
55+
rb-fsevent (0.10.3)
56+
rb-inotify (0.10.1)
57+
ffi (~>1.0)
58+
rouge (3.17.0)
59+
safe_yaml (1.0.5)
60+
sassc (2.2.1)
61+
ffi (~>1.9)
62+
terminal-table (1.8.0)
63+
unicode-display_width (~>1.1,>=1.1.1)
64+
thread_safe (0.3.6)
65+
tzinfo (1.2.6)
66+
thread_safe (~>0.1)
67+
tzinfo-data (1.2019.3)
68+
tzinfo (>=1.0.0)
69+
unicode-display_width (1.7.0)
70+
wdm (0.1.1)
71+
72+
PLATFORMS
73+
ruby
74+
75+
DEPENDENCIES
76+
jekyll (~>4.0.0)
77+
jekyll-feed (~>0.12)
78+
minima (~>2.5)
79+
tzinfo (~>1.2)
80+
tzinfo-data
81+
wdm (~>0.1.1)
82+
83+
BUNDLED WITH
84+
1.17.2

‎_config.yml‎

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
#
11+
# If you need help with YAML syntax, here are some quick references for you:
12+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13+
# https://learnxinyminutes.com/docs/yaml/
14+
#
15+
# Site settings
16+
# These are used to personalize your new site. If you look in the HTML files,
17+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18+
# You can create any custom variable you would like, and they will be accessible
19+
# in the templates via {{ site.myvariable }}.
20+
21+
title:"RustPython"
22+
description:"An open source Python-3 (CPython >= 3.5.0) Interpreter written in Rust 🐍 😱 🤘"
23+
baseurl:"/website"# the subpath of your site, e.g. /blog
24+
url:"https://mireille-raad.github.io/rustpython.github.io/website"# the base hostname & protocol for your site, e.g. http://example.com
25+
github_username:RustPython
26+
disclaimer:"The disclaimer not to use this in production. Update this in the config.yml file at the root."
27+
github:https://github.com/RustPython/RustPython/
28+
docs:https://github.com/RustPython/docs/
29+
gitter:https://gitter.im/rustpython/Lobby
30+
show_excerpts:true
31+
contributor_excerpt:"edit me in config.yml file at the root folder."
32+
33+
navigation:
34+
-title:Blog
35+
url:"blog"
36+
-title:Docs
37+
url:https://github.com/RustPython/docs/
38+
-title:GitHub
39+
url:https://github.com/RustPython/RustPython/
40+
-title:Gitter
41+
url:"https://gitter.im/rustpython/Lobby"
42+
43+
# Build settings
44+
theme:minima
45+
plugins:
46+
-jekyll-feed
47+
48+
# Exclude from processing.
49+
# The following items will not be processed, by default.
50+
# Any item listed under the `exclude:` key here will be automatically added to
51+
# the internal "default list".
52+
#
53+
# Excluded items can be processed by explicitly listing the directories or
54+
# their entries' file path in the `include:` list.
55+
#
56+
# exclude:
57+
# - .sass-cache/
58+
# - .jekyll-cache/
59+
# - gemfiles/
60+
# - Gemfile
61+
# - Gemfile.lock
62+
# - node_modules/
63+
# - vendor/bundle/
64+
# - vendor/cache/
65+
# - vendor/gems/
66+
# - vendor/ruby/

‎_data/contributors.json‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[{
2+
"github_username":"coolreader18"
3+
},
4+
{
5+
"github_username":"palaviv"
6+
},
7+
{
8+
"github_username":"windelbouwman"
9+
},
10+
{
11+
"github_username":"cthulahoops"
12+
},
13+
{
14+
"github_username":"youknowone"
15+
}
16+
]

‎_includes/footer.html‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<hrclass="mt-md-4 mt-sm-2">
2+
3+
<footerclass="w-80 p-2 m-auto">
4+
<divclass="mt-1">
5+
<small>
6+
<pclass="rss-subscribe">subscribe<arel="noopener"rel="noreferrer"href="{{"/feed.xml" | relative_url }}">via RSS</a></p>
7+
<p>{{ site.disclaimer }}</p>
8+
</small>
9+
</div>
10+
</footer>

‎_includes/head.html‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<head>
2+
<metacharset="utf-8">
3+
<metahttp-equiv="X-UA-Compatible"content="IE=edge">
4+
<metaname="viewport"content="width=device-width, initial-scale=1">
5+
<title>{{site.title}}</title>
6+
<metaname="description"content="{{site.description}}">
7+
<!-- google fonts -->
8+
<linkdeferasynchref="https://fonts.googleapis.com/css?family=Fira+Sans|Sen:800&display=swap"rel="stylesheet">
9+
<!-- stylesheet and webmanifest -->
10+
<linkdeferasyncrel="stylesheet"href="{{"/assets/style.css" | relative_url }}">
11+
<linkdeferasyncrel="stylesheet"href="{{"/assets/media.css" | relative_url }}">
12+
<linkrel="manifest"href="{{site.baseurl}}/manifest.webmanifest">
13+
14+
{%- seo -%}
15+
16+
<linkrel="canonical"href="{{ site.url }}"/>
17+
<linkrel="apple-touch-icon"href="{{site.baseurl}}/assets/apple-touch-icon.png">
18+
19+
{%- feed_meta -%}
20+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
21+
{%- include google-analytics.html -%}
22+
{%- endif -%}
23+
</head>

‎_includes/header.html‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<header>
2+
<navclass="menu w-100 text-center border-bottom">
3+
<ulclass="list-inline">
4+
<liclass="m-small float-left"><ahref="{{site.baseurl}}/">Home</a></li>
5+
{% for item in site.navigation %}
6+
<liclass="m-small float-left"><ahref="{{ site.baseurl }}/{{ item.url }}">{{item.title}}</a></li>
7+
{% endfor %}
8+
</ul>
9+
</nav>
10+
</header>

‎_layouts/archive.html‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
layout: default
3+
---
4+
5+
<section>
6+
<divclass="w-80 m-auto mt-md-4 mt-sm-2">
7+
<divclass="d-md-flex">
8+
<divclass="d-sm-none">
9+
<imgclass="logo"src="{{site.baseurl}}/assets/img/rust-python-logo.svg"alt="RustPython Logo">
10+
</div>
11+
<divclass="pl-md-2">
12+
<divclass="section-title">Archive</div>
13+
<divclass="title">{{ site.title }} {{ page.title | escape }}</div>
14+
</div>
15+
</div>
16+
</div>
17+
</section>
18+
19+
<divclass="w-80 m-auto mt-md-4 mt-sm-2">
20+
{%- if site.posts.size> 0 -%}
21+
<ulclass="list-unstyled">
22+
{%- for post in site.posts -%}
23+
<liclass="blog-entry mt-4">
24+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
25+
<!-- flex container -->
26+
<divclass="d-md-flex">
27+
<divclass="pl-md-2 mt-1">
28+
<markclass="post-date">{{ post.date | date: date_format }}</mark>
29+
</div>
30+
<divclass="pl-md-2 mt-1 w-md-50">
31+
<aclass="post-link"href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
32+
{%- if site.show_excerpts -%}
33+
<p>{{ post.excerpt }}</p>
34+
{%- endif -%}
35+
</div>
36+
</div>
37+
</li>
38+
{%- endfor -%}
39+
</ul>
40+
{%- endif -%}
41+
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp