Skip to content
This repository was archived by the owner on Jun 19, 2022. It is now read-only.

Commit b4c4279

Browse files
committed
Using jekyll-hg
1 parent b579c95 commit b4c4279

File tree

9 files changed

+150
-49
lines changed

9 files changed

+150
-49
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "_hg"]
2+
path = _hg
3+
url = https://github.com/SilverRainZ/jekyll-hg.git

.nojekyll

Whitespace-only changes.

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
commit:
2+
jekyll build
3+
git checkout gh-pages
4+
mv _site/* . && \
5+
git add . && \
6+
git commit -m "Auto generated at $(shell date +'%F %T')" && \
7+
git push
8+
git checkout master

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
srain.im
2+
========
3+
4+
Requierments
5+
------------
6+
7+
- jekyll
8+
- jekyll-hg

_config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
baseurl:
1+
baseurl: /
22
name: Srain
3-
title: Srain 0.06.1
4-
description: Modern, beautiful IRC client written in GTK+ 3.
5-
encoding: utf-8
6-
theme: jekyll-theme-cayman
7-
markdown: kramdown
8-
kramdown:
9-
input: GFM
3+
logo: https://raw.githubusercontent.com/SilverRainZ/srain/master/data/icons/raw/srain.png
4+
github: SilverRainZ/srain
5+
exclude:
6+
- LICENSE
7+
- README
8+
- Makefile
9+
- _hg

_hg

Submodule _hg added at b9831c0

_layouts/default.html

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
7+
<!-- Bootstrap -->
8+
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
9+
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
10+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
11+
<!--[if lt IE 9]>
12+
<script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
13+
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
14+
<![endif]-->
15+
16+
17+
<style>
18+
body {
19+
padding-top: 50px;
20+
}
21+
.oversize {
22+
max-height: 100%;
23+
max-width: 100%;
24+
}
25+
.jumbotron {
26+
color: white;
27+
background-color: #b0c4de;
28+
background-image: linear-gradient(#8db6cd, #b0c4de, #00000);
29+
}
30+
footer {
31+
text-align: center;
32+
}
33+
</style>
34+
35+
<title>{{ site.name }} - {{ site.project.description }}</title>
36+
</head>
37+
<body>
38+
<nav class="navbar navbar-default navbar-fixed-top">
39+
<div class="container">
40+
<div class="navbar-header">
41+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
42+
<span class="sr-only">Toggle navigation</span>
43+
<span class="icon-bar"></span>
44+
<span class="icon-bar"></span>
45+
<span class="icon-bar"></span>
46+
</button>
47+
<a class="navbar-brand text-capitalize" href="#">
48+
<img class="img-responsive oversize" alt="{{ site.project.name }}" src="{{ site.logo }}">
49+
</a>
50+
</div>
51+
<div id="navbar" class="navbar-collapse collapse">
52+
<ul class="nav navbar-nav navbar-right">
53+
<li class="active"><a href="#">Home</a></li>
54+
<li><a href="#news">News</a></li>
55+
<li><a href="#downloads">Downloads</a></li>
56+
<li><a href="{{ site.project.url }}">Source code</a></li>
57+
</ul>
58+
</div><!--/.nav-collapse -->
59+
</div>
60+
</nav>
61+
62+
<div class="jumbotron">
63+
<div class="container">
64+
<h1 class="text-capitalize">
65+
{{ site.project.name }}
66+
<small>{{ site.project.releases[0].version }}</small>
67+
</h1>
68+
<p>{{ site.project.description }}</p>
69+
<a class="btn btn-lg btn-primary" href="#downloads" role="button">Get Srain</a>
70+
</p>
71+
</div>
72+
</div>
73+
74+
<div class="container">
75+
{{ site.project.readme.html }}
76+
<hr>
77+
78+
<div class="container">
79+
<h2 id="news">News</h2>
80+
<p class="text-muted">The recently 2 releases:</p>
81+
<div class="row show-gird">
82+
{% for i in (0..1) %}
83+
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
84+
<h3>{{ site.project.releases[i].version }} <small>{{ site.project.releases[i].date | date_to_string }}</small></h3>
85+
<p>{{ site.project.releases[i].notes | markdownify }}</p>
86+
</div>
87+
{% endfor %}
88+
</div>
89+
</div>
90+
91+
<hr>
92+
93+
<h2 id="downloads">Downloads</h2>
94+
<div class="alert alert-info" role="alert">
95+
<strong>Notes: </strong>
96+
<p>Work in progress...</p>
97+
</div>
98+
99+
100+
</div> <!-- /container -->
101+
102+
<footer class="footer">
103+
<div class="container">
104+
<p class="text-muted">2016 - {{ site.time | date:"%Y" }} ©
105+
<a href="{{ site.project.owner.url }}">{{ site.project.owner.name }}</a>
106+
| Powered by <a href="https://jekyllrb.com/">Jekyll</a>
107+
&amp; <a href="https://github.com/SilverRainZ/jekyll-hg">Jekyll HG</a>
108+
&amp; <a href="https://getbootstrap.com/">Bootstrap</a>
109+
</p>
110+
</div>
111+
</footer>
112+
113+
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
114+
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
115+
<!-- Include all compiled plugins (below), or include individual files as needed -->
116+
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
117+
</body>
118+
</html>

_plugins

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_hg/_plugins/

index.md

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,3 @@
1-
Modern, beautiful IRC client written in GTK+ 3.
2-
3-
[Home page](https://srain.im) |
4-
[Documentation](https://doc.srain.im) |
5-
[Download]( https://github.com/SilverRainZ/srain/releases) |
6-
[Source code](https://github.com/SilverRainZ/srain)
7-
8-
Features
9-
========
10-
11-
- Fully open source
12-
- Beautiful and friendly interface
13-
- Relay bot message transform
14-
- Directly view image from URL
15-
- Supports python plugin, which implemented:
16-
- Show avatar according to user's real name
17-
- Upload image to pastebin
18-
19-
20-
Screenshots
21-
===========
22-
23-
![](http://img.vim-cn.com/7b/c29632228006727102eb7f79efec9493aef807.png)
24-
25-
Srain with avatar plugin and enable the relay transform function:
26-
27-
![](http://img.vim-cn.com/7f/5211f94b8bcfabf16a852907bc76001ee321be.png)
28-
29-
Need Help?
30-
==========
31-
32-
Feel free to contact me if you have any question about srain.
33-
34-
- *IRC Channel*: [#srain](ircs://chat.freenode.org:6697/srain) @ freenode
35-
- E-mail: srain at srain dot im
36-
- Github: file an issue [Here](https://github.com/SilverRainZ/srain/issues)
37-
38-
License
39-
=======
40-
41-
GNU General Public License Version 3
1+
---
2+
layout: default
3+
---

0 commit comments

Comments
 (0)