Skip to content

Commit

Permalink
Merge pull request #7 from rolandhegedus/new-site
Browse files Browse the repository at this point in the history
Initial commit of the new inspircd website
  • Loading branch information
attilamolnar committed Feb 2, 2016
2 parents 1efa2f2 + e084eec commit ea69626
Show file tree
Hide file tree
Showing 41 changed files with 1,411 additions and 1,081 deletions.
34 changes: 29 additions & 5 deletions _config.yml
@@ -1,12 +1,18 @@
exclude: [ 'LICENSE.txt', 'Rakefile' ]
highlighter: pygments
highlighter: rouge
markdown: kramdown
paginate: 5
paginate: 10
permalink: /:year/:month/:day/:title.html
excerpt_separator: <!--more-->

sass:
sass_dir: assets/css
style: compressed

gems:
- jekyll-mentions
- jekyll-sitemap
- jekyll-paginate

info:
title: InspIRCd
Expand All @@ -22,11 +28,29 @@ navigation:
uri: /
- title: Downloads
uri: https://github.com/inspircd/inspircd/releases
target: _blank
- title: Wiki
uri: https://wiki.inspircd.org
target: _blank
- title: Issue Tracker
uri: https://github.com/inspircd/inspircd/issues
- title: API
uri: /api
- title: Git
target: _blank
- title: InspIRCd API
uri: api/2.0
target: _blank
- title: Follow us on GitHub
uri: https://github.com/inspircd
target: _blank
- title: Get InspIRCd
uri: https://github.com/inspircd/inspircd/releases/latest
target: _blank

config:
# theme: red {default} | green | blue
theme: red
currentVersion: 2.0.20
gitHubUrl: https://github.com/inspircd
latestUrl: https://github.com/inspircd/inspircd/releases/latest
configGuideUrl: https://wiki.inspircd.org/Configuration
installGuideUrl: https://wiki.inspircd.org/Installation_From_Source
devurl:
158 changes: 107 additions & 51 deletions _layouts/default.html
@@ -1,54 +1,110 @@
<!DOCTYPE html>
<html>
<head>
{% if page.title %}
<title>{{ site.info.title }} - {{ page.title }}</title>
{% else %}
<title>{{ site.info.title }} - {{ site.info.slogan }}</title>
{% endif %}
<meta charset="utf-8">
<meta name="description" content="{{ site.meta.description }}">
<meta name="keywords" content="{{ site.meta.keywords }}">
<meta http-equiv="X-UA-Compatible" content="IE=Edge;Chrome=1">
<link type="application/atom+xml" href="/atom.xml" rel="alternate" title="News">
<link type="image/x-icon" href="/assets/images/inspircd.ico" rel="shortcut icon">
<link type="text/css" href="/assets/stylesheets/normalize.min.css" rel="stylesheet" media="screen">
<link type="text/css" href="/assets/stylesheets/screen.min.css" rel="stylesheet" media="screen">
<script type="text/javascript" src="/assets/javascripts/html5shiv.min.js"></script>
</head>
<body>
<div id="content">
<header id="head">
<div id="head-top">
<div id="head-top-left"></div>
<div id="head-top-right"></div>
<div id="head-top-center"></div>
</div>
<div id="head-mid">
<div id="head-mid-left"></div>
<div id="head-mid-right"></div>
<nav id="head-mid-center">
{% for link in site.navigation %}
<a href="{{ link.uri }}">{{ link.title }}</a> {% if forloop.last == false %} | {% endif %}
{% endfor %}
</nav>
</div>
<div id="head-bottom">
<div id="head-bottom-left"></div>
<div id="head-bottom-right"></div>
<div id="head-bottom-center"></div>
</div>
</header>
<div id="main">
{{ content }}
</div>
<footer id="foot">
Site design &copy; 2004-{{ site.time | date: "%Y" }} Craig McLure
<br>
InspIRCd &copy; 2002-{{ site.time | date: "%Y" }} InspIRCd Development Team
<br>
Licensed under the terms of the <a rel="license" href="http://www.gnu.org/licenses/gpl-2.0.html">GNU General Public License 2.0</a>
</footer>
</div>
</body>
<head>
{% if page.title %}
<title>{{ site.info.title }} - {{ page.title }}</title>
{% else %}
<title>{{ site.info.title }} - {{ site.info.slogan }}</title>
{% endif %}
<meta charset="utf-8">
<meta name="description" content="{{ site.meta.description }}">
<meta name="keywords" content="{{ site.meta.keywords }}">
<meta http-equiv="X-UA-Compatible" content="IE=Edge;Chrome=1">
<link type="application/atom+xml" href="{{ site.config.devurl}}/atom.xml" rel="alternate" title="News">
<link type="image/x-icon" href="{{ site.config.devurl}}/assets/images/inspircd.ico" rel="shortcut icon">
<link rel="icon" type="image/png" href="{{ site.config.devurl}}/assets/images/inspircd_icon.png">
<link href='https://fonts.googleapis.com/css?family=Lato:400,100,300,700,900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ site.config.devurl}}/assets/css/inspircd.css">
<script type="text/javascript" src="{{ site.config.devurl}}/assets/scripts/libs/jquery.js"></script>
</head>
{% if site.config.theme %}
<body class="inspircd__site-style--{{ site.config.theme }}">
{% else %}
<body class="inspircd__site-style--red">
{% endif %}
<header>
<div class="header__top-bar">
<div class="wrapper">
<a class="header__logo inspircd__logo inspircd__logo--small" href="{{ site.config.devurl}}">
Welcome to INSPIRCD.org
</a>
<nav class="header__navigation">
<ul class="header__navigation-list">
{% for link in site.navigation %}
{% if forloop.first == false %}
{% if forloop.last == true %}
<li class="header__navigation-list-item button">
<a href="{{ link.uri }}" target="{{ link.target }}">{{ link.title }}</a>
</li>
{% else %}
<li class="header__navigation-list-item">
<a href="{{ link.uri }}" target="{{ link.target }}">{{ link.title }}</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
</nav>
</div>
</div>
</header>
<main>
<section class="headline">
<div class="wrapper">
<div class="headline__greeter">
Welcome to <span class="inspircd__logo inspircd__logo--large"></span>
</div>
<div class="headline__introduction-wrapper">
<div class="headline__terminal-wrapper">
<div class="headline__terminal"></div>
<div class="headline__terminal-text">
What is
<div class="inspircd__logo inspircd__logo--medium inspircd__logo--light"></div>
</div>
</div>
<div class="headline__introduction">
<p>InspIRCd is a modular Internet Relay Chat (IRC) server written in C++ for Linux, BSD, Windows and Mac OS X systems.</p>
<p>It was created from scratch to be stable, modern and lightweight. It avoids a number of design flaws and performance issues that plague other more established projects, such as UnrealIRCd, while providing the same level of feature parity.</p>
<p>It provides a tunable number of features through the use of an advanced but well documented module system. By keeping core functionality to a minimum we hope to increase the stability, security and speed of InspIRCd while also making it customisable to the needs of many different users.</p>
<p>And after all it’s <strong>free</strong> and <strong>open source</strong>.</p>
<div class="headline__introduction-bottom-wrapper">
<div class="button accent">
<a href="{{ site.config.latestUrl }}" target="_blank" title="Get the latest release of InspIRCd">Get InspIRCd</a>
</div>
<span class="alt-text">or take a look at our <a href="{{ site.config.installGuideUrl }}" title="Check our installation guide" target="_blank">installation guide</a> followed by our <a href="{{ site.config.configGuideUrl }}" title="Check our configuration guide" target="_blank">configuration guide</a></span>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</section>
<section class="posts">
<div class="wrapper">
{{ content }}
<div class="clear"></div>

{% if paginator.next_page %}
<div class="posts__loadmore-button">
<a href="{{ site.config.devurl}}/page{{ paginator.next_page }}">show more articles</a>
</div>
{% endif %}
</div>
</section>
</main>
<footer class="footer">
<div class="wrapper">
<section class="footer__left-col">
<div class="inspircd__logo inspircd__logo--small inspircd__logo--light"></div>
<p class="copyright">InspIRCd &copy;2002-{{ 'now' | date: "%Y" }} InspIRCd Development Team</p>
<p class="license">Licensed under the terms of the <a href="http://www.gnu.org/licenses/gpl-2.0.html" target="_blank">GNU General Public License 2.0</a></p>
<p class="design-copyright">Website design and template by Roland Hegedus &copy;2015-{{ 'now' | date: "%Y" }}</p>
</section>
<section class="footer__right-col">
<p class="version">Current stable version v{{ site.config.currentVersion }}</p>
<p class="follow_us">Follow us on <a href="{{ site.config.devurl}}/atom.xml" title="Follow us on RSS" class="rss-logo tpartylogo" target="_blank">rss</a> and <a href="{{ site.config.gitHubUrl }}" class="github-logo tpartylogo" title="Follow us on GitHub" target="_blank">github</a></p>
</section>
<div class="clear"></div>
</div>
</footer>
</body>
</html>
15 changes: 15 additions & 0 deletions _layouts/footer.html
@@ -0,0 +1,15 @@
<footer class="footer">
<div class="wrapper">
<section class="footer__left-col">
<div class="inspircd__logo inspircd__logo--small inspircd__logo--light"></div>
<p class="copyright">InspIRCd &copy;2002-{{ 'now' | date: "%Y" }} InspIRCd Development Team</p>
<p class="license">Licensed under the terms of the <a href="http://www.gnu.org/licenses/gpl-2.0.html" target="_blank">GNU General Public License 2.0</a></p>
<p class="design-copyright">Website design and template by Roland Hegedus &copy;2015-{{ 'now' | date: "%Y" }}</p>
</section>
<section class="footer__right-col">
<p class="version">Current stable version v{{ site.config.currentVersion }}</p>
<p class="follow_us">Follow us on <a href="/atom.xml" title="Follow us on RSS" class="rss-logo tpartylogo">rss</a> and<a href="{{ site.config.gitHubUrl }}" class="github-logo tpartylogo" title="Follow us on GitHub">github</a></p>
</section>
<div class="clear"></div>
</div>
</footer>
70 changes: 70 additions & 0 deletions _layouts/inner.html
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html>
<head>
{% if page.title %}
<title>{{ site.info.title }} - {{ page.title }}</title>
{% else %}
<title>{{ site.info.title }} - {{ site.info.slogan }}</title>
{% endif %}
<meta charset="utf-8">
<meta name="description" content="{{ site.meta.description }}">
<meta name="keywords" content="{{ site.meta.keywords }}">
<meta http-equiv="X-UA-Compatible" content="IE=Edge;Chrome=1">
<link type="application/atom+xml" href="{{ site.config.devurl}}/atom.xml" rel="alternate" title="News">
<link type="image/x-icon" href="{{ site.config.devurl}}/assets/images/inspircd.ico" rel="shortcut icon">
<link rel="icon" type="image/png" href="{{ site.config.devurl}}/assets/images/inspircd_icon.png">
<link href='https://fonts.googleapis.com/css?family=Lato:400,100,300,700,900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ site.config.devurl}}/assets/css/inspircd.css">
<script type="text/javascript" src="{{ site.config.devurl}}/assets/scripts/libs/jquery.js"></script>
</head>
<body class="inspircd__site-style--{{ site.config.theme }} inspircd__site--inner">
<header>
<div class="header__top-bar">
<div class="wrapper">
{% if site.config.devurl }}
<a class="header__logo inspircd__logo inspircd__logo--small" href="{{ site.config.devurl}}">
{% else %}
<a class="header__logo inspircd__logo inspircd__logo--small" href="/">
{% endif %}
Welcome to INSPIRCD.org
</a>
<nav class="header__navigation">
<ul class="header__navigation-list">
{% for link in site.navigation %}
{% if forloop.first == false %}
{% if forloop.last == true %}
<li class="header__navigation-list-item button">
<a href="{{ link.uri }}" target="{{ link.target }}">{{ link.title }}</a>
</li>
{% else %}
<li class="header__navigation-list-item">
<a href="{{ link.uri }}" target="{{ link.target }}">{{ link.title }}</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
</nav>
</div>
</div>
</header>
<main>
{{ content }}
</main>
<footer class="footer">
<div class="wrapper">
<section class="footer__left-col">
<div class="inspircd__logo inspircd__logo--small inspircd__logo--light"></div>
<p class="copyright">InspIRCd &copy;2002-{{ 'now' | date: "%Y" }} InspIRCd Development Team</p>
<p class="license">Licensed under the terms of the <a href="http://www.gnu.org/licenses/gpl-2.0.html" target="_blank">GNU General Public License 2.0</a></p>
<p class="design-copyright">Website design and template by Roland Hegedus &copy;2015-{{ 'now' | date: "%Y" }}</p>
</section>
<section class="footer__right-col">
<p class="version">Current stable version v{{ site.config.currentVersion }}</p>
<p class="follow_us">Follow us on <a href="{{ site.config.devurl}}/atom.xml" title="Follow us on RSS" class="rss-logo tpartylogo">rss</a> and<a href="{{ site.config.gitHubUrl }}" class="github-logo tpartylogo" title="Follow us on GitHub">github</a></p>
</section>
<div class="clear"></div>
</div>
</footer>
</body>
</html>

0 comments on commit ea69626

Please sign in to comment.