Skip to content

Commit ba8dcae

Browse files
committed
Jekyll website launch
1 parent 991ad42 commit ba8dcae

24 files changed

+1834
-25
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 2
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
[*.py]
14+
indent_style = space
15+
indent_size = 4

.gitignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Ignore docs files
2+
_gh_pages
3+
_site
4+
.ruby-version
5+
6+
# Numerous always-ignore extensions
7+
*.diff
8+
*.err
9+
*.orig
10+
*.log
11+
*.rej
12+
*.swo
13+
*.swp
14+
*.zip
15+
*.vi
16+
*~
17+
18+
# OS or Editor folders
19+
.DS_Store
20+
._*
21+
Thumbs.db
22+
.cache
23+
.project
24+
.settings
25+
.tmproj
26+
*.esproj
27+
nbproject
28+
*.sublime-project
29+
*.sublime-workspace
30+
.idea
31+
32+
# Komodo
33+
*.komodoproject
34+
.komodotools
35+
36+
# grunt-html-validation
37+
validation-status.json
38+
validation-report.json
39+
40+
# Folders to ignore
41+
node_modules
42+
bower_components

404.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: default
3+
title: "404: Page not found"
4+
permalink: 404.html
5+
---
6+
7+
<div class="page">
8+
<h1 class="page-title">404: Page not found</h1>
9+
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}/">Head back home</a> to try finding it again.</p>
10+
</div>

Gemfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
source "https://rubygems.org"
2+
ruby RUBY_VERSION
3+
4+
# Hello! This is where you manage which Jekyll version is used to run.
5+
# When you want to use a different version, change it below, save the
6+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
7+
#
8+
# bundle exec jekyll serve
9+
#
10+
# This will help ensure the proper Jekyll version is running.
11+
# Happy Jekylling!
12+
gem "jekyll", "3.3.0"
13+
14+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
15+
# gem "minima", "~> 2.0"
16+
17+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
18+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
19+
# gem "github-pages", group: :jekyll_plugins
20+
21+
# If you have any plugins, put them here!
22+
group :jekyll_plugins do
23+
gem "jekyll-paginate", "~> 1.1.0"
24+
gem "jekyll-gist", "~> 1.4.0"
25+
end

Gemfile.lock

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.5.0)
5+
public_suffix (~> 2.0, >= 2.0.2)
6+
colorator (1.1.0)
7+
faraday (0.10.0)
8+
multipart-post (>= 1.2, < 3)
9+
ffi (1.9.14-x86-mingw32)
10+
forwardable-extended (2.6.0)
11+
jekyll (3.3.0)
12+
addressable (~> 2.4)
13+
colorator (~> 1.0)
14+
jekyll-sass-converter (~> 1.0)
15+
jekyll-watch (~> 1.1)
16+
kramdown (~> 1.3)
17+
liquid (~> 3.0)
18+
mercenary (~> 0.3.3)
19+
pathutil (~> 0.9)
20+
rouge (~> 1.7)
21+
safe_yaml (~> 1.0)
22+
jekyll-gist (1.4.0)
23+
octokit (~> 4.2)
24+
jekyll-paginate (1.1.0)
25+
jekyll-sass-converter (1.4.0)
26+
sass (~> 3.4)
27+
jekyll-watch (1.5.0)
28+
listen (~> 3.0, < 3.1)
29+
kramdown (1.12.0)
30+
liquid (3.0.6)
31+
listen (3.0.8)
32+
rb-fsevent (~> 0.9, >= 0.9.4)
33+
rb-inotify (~> 0.9, >= 0.9.7)
34+
mercenary (0.3.6)
35+
multipart-post (2.0.0)
36+
octokit (4.6.1)
37+
sawyer (~> 0.8.0, >= 0.5.3)
38+
pathutil (0.14.0)
39+
forwardable-extended (~> 2.6)
40+
public_suffix (2.0.4)
41+
rb-fsevent (0.9.8)
42+
rb-inotify (0.9.7)
43+
ffi (>= 0.5.0)
44+
rouge (1.11.1)
45+
safe_yaml (1.0.4)
46+
sass (3.4.22)
47+
sawyer (0.8.1)
48+
addressable (>= 2.3.5, < 2.6)
49+
faraday (~> 0.8, < 1.0)
50+
51+
PLATFORMS
52+
x86-mingw32
53+
54+
DEPENDENCIES
55+
jekyll (= 3.3.0)
56+
jekyll-gist (~> 1.4.0)
57+
jekyll-paginate (~> 1.1.0)
58+
59+
RUBY VERSION
60+
ruby 2.3.1p112
61+
62+
BUNDLED WITH
63+
1.13.6

LICENSE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Released under MIT License
2+
3+
Copyright (c) 2014 Mark Otto.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# BesutKode.github.io
22

3-
HTML versions:
4-
* https://besutkode.github.io/peserta-universitas.html
5-
* https://besutkode.github.io/peserta-sma.html
3+
A repository for [**besutkode.github.io**](https://besutkode.github.io),
4+
a site that shows current status of [**Besut Kode**](https://wikimedia-id.github.io/besutkode),
5+
an open-source software development competition hosted by [**Wikimedia Indonesia**](https://wikimedia-id.github.io).

_config.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,30 @@
1-
encoding: utf-8
2-
markdown: kramdown
1+
# Permalinks
2+
#
3+
# Use of `relative_permalinks` ensures post links from the index work properly.
4+
permalink: pretty
5+
# relative_permalinks: true
6+
7+
# Setup
8+
title: Besut Kode
9+
tagline: 'Status'
10+
description: 'Status for Besut Kode, an open-source software development competition hosted by <a href="https://wikimedia-id.github.io">Wikimedia Indonesia</a>'
11+
# url:
12+
baseurl: ''
13+
paginate: 5
14+
paginate_path: "/blog/page:num/"
15+
16+
# About/contact
17+
# author:
18+
# name:
19+
# url:
20+
# email:
21+
22+
# Custom vars
23+
version: 1.0.0
24+
25+
gems: [jekyll-paginate]
26+
paginate: 5
27+
paginate_path: "/blog/page:num/"
28+
29+
github:
30+
repo: https://github.com/BesutKode/BesutKode.github.io

_includes/head.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<head>
2+
<link href="http://gmpg.org/xfn/11" rel="profile">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta http-equiv="content-type" content="text/html; charset=utf-8">
5+
6+
<!-- Enable responsiveness on mobile devices-->
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
8+
9+
<title>
10+
{% if page.title == "Home" %}
11+
{{ site.title }} &middot; {{ site.tagline }}
12+
{% else %}
13+
{{ page.title }} &middot; {{ site.title }}
14+
{% endif %}
15+
</title>
16+
17+
<!-- CSS -->
18+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/poole.css">
19+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/syntax.css">
20+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/lanyon.css">
21+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Maven+Pro:400,500">
22+
23+
<!-- Icons -->
24+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-precomposed.png">
25+
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.ico">
26+
27+
<!-- RSS -->
28+
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
29+
</head>

_includes/sidebar.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
2+
styles, `#sidebar-checkbox` for behavior. -->
3+
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
4+
5+
<!-- Toggleable sidebar -->
6+
<div class="sidebar" id="sidebar">
7+
<div class="sidebar-item">
8+
<p>{{ site.description }}</p>
9+
</div>
10+
11+
<nav class="sidebar-nav">
12+
<a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}/">Home</a>
13+
14+
{% comment %}
15+
The code below dynamically generates a sidebar nav of pages with
16+
`layout: page` in the front-matter. See readme for usage.
17+
{% endcomment %}
18+
19+
{% assign pages_list = site.pages | sort:"url" %}
20+
{% for node in pages_list %}
21+
{% if node.title != null %}
22+
{% if node.layout == "page" %}
23+
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
24+
{% endif %}
25+
{% endif %}
26+
{% endfor %}
27+
28+
<a class="sidebar-nav-item" href="{{ site.github.repo }}">GitHub Repository</a>
29+
<a class="sidebar-nav-item" href="https://wikimedia-id.github.io/besutkode">Besut Kode Home</a>
30+
</nav>
31+
32+
<div class="sidebar-item">
33+
<p style="font-size: 1em;">
34+
Besut Kode 2016-2017 <br>
35+
<a href="https://github.com/laymonage/laymonage.github.io/blob/master/LICENSE.md">MIT License</a>
36+
</p>
37+
</div>
38+
</div>

0 commit comments

Comments
 (0)