moving to jekyll

This commit is contained in:
Anton Keks 2014-02-17 21:40:48 +02:00
parent f54e1bc313
commit 69aa64cea3
9 changed files with 89 additions and 75 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
_site

2
_config.yml Normal file
View File

@ -0,0 +1,2 @@
name: Angry IP Scanner
pygments: true

41
_layouts/default.html Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ page.title }}</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="stylesheets/main.css">
</head>
<body>
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/angryziber/ipscan">View on GitHub</a>
<h1 id="project_title">Angry IP Scanner</h1>
<h2 id="project_tagline">Fast and friendly network scanner</h2>
<section id="downloads">
<a class="zip_download_link" href="https://github.com/angryziber/ipscan/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/angryziber/ipscan/tarball/master">Download this project as a tar.gz file</a>
</section>
</header>
</div>
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
{{ content }}
</section>
</div>
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">Angry IP Scanner maintained by <a href="https://github.com/angryziber">angryziber</a></p>
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
</footer>
</div>
</body>
</html>

9
_layouts/post.html Normal file
View File

@ -0,0 +1,9 @@
---
layout: default
---
<h2>{{ page.title }}</h2>
<p class="meta">{{ page.date | date_to_string }}</p>
<div class="post">
{{ content }}
</div>

View File

@ -0,0 +1,24 @@
---
layout: post
title: "Welcome to Jekyll!"
date: 2014-02-17 21:07:48
categories: jekyll update
---
You'll find this post in your `_posts` directory - edit this post and re-build (or run with the `-w` switch) to see your changes!
To add new posts, simply add a file in the `_posts` directory that follows the convention: YYYY-MM-DD-name-of-post.ext.
Jekyll also offers powerful support for code snippets:
{% highlight ruby %}
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
{% endhighlight %}
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll's GitHub repo][jekyll-gh].
[jekyll-gh]: https://github.com/mojombo/jekyll
[jekyll]: http://jekyllrb.com

View File

@ -1,75 +1,13 @@
<!DOCTYPE html>
<html>
---
layout: default
title: Your New Jekyll Site
---
<head>
<meta charset='utf-8' />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="description" content="Angry IP Scanner : Fast and friendly network scanner" />
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<title>Angry IP Scanner</title>
</head>
<body>
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/angryziber/ipscan">View on GitHub</a>
<h1 id="project_title">Angry IP Scanner</h1>
<h2 id="project_tagline">Fast and friendly network scanner</h2>
<section id="downloads">
<a class="zip_download_link" href="https://github.com/angryziber/ipscan/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/angryziber/ipscan/tarball/master">Download this project as a tar.gz file</a>
</section>
</header>
</div>
<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<p>This is the source code of Angry IP Scanner, licensed with GPL v2.
<a href="http://angryip.org/">http://angryip.org/</a></p>
<p>The code is written mostly in Java.
IntelliJ IDEA is recommended for coding, but Eclipse would do as well.</p>
<h1>
<a name="building" class="anchor" href="#building"><span class="octicon octicon-link"></span></a>Building</h1>
<p>JDK 1.6+ as well as Ant are required for building.</p>
<p>Using these tools you can build on any platform. The binaries are in the form of
.jar files and can be run with `java -jar '. Deb and rpm packages can
only be built on Linux. Building of Windows exe can be done on Linux as well.</p>
<p>On Ubuntu install the following packages:
sudo apt-get install openjdk-7-jdk ant rpm</p>
<p>Install JDK and Ant on other platforms as you usually do it.</p>
<p>Then use Ant for building a package for your desired platform:
just type <code>ant' or</code>make' in the project dir for the list of available targets.</p>
<p>`ant current' would build the app for your current OS.</p>
<p>The resulting binaries will be put into the <code>dist' directory.
Run jar files with</code>java -jar '.</p>
</section>
</div>
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">Angry IP Scanner maintained by <a href="https://github.com/angryziber">angryziber</a></p>
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
</footer>
</div>
</body>
</html>
<div id="home">
<h1>Blog Posts</h1>
<ul class="posts">
{% for post in site.posts %}
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>

View File

@ -1 +0,0 @@
console.log('This would be the main JS file.');