Permalink
Browse files

Pushing to see how server responds

  • Loading branch information...
1 parent 3a34594 commit ce4d249d0ba5bf70056c4a1aa902abf7cf090ef6 Frank Laub committed Dec 26, 2009
Showing with 240 additions and 102 deletions.
  1. +3 −0 _config.yml
  2. +56 −0 _layouts/default.html
  3. +6 −0 _posts/2010-01-01-first.textile
  4. +19 −0 _posts/2010-01-01-second.textile
  5. +40 −0 css/screen.css
  6. +61 −0 css/syntax.css
  7. +46 −86 index.html
  8. +0 −16 myself.html
  9. +9 −0 pages/test.textile
View
3 _config.yml
@@ -0,0 +1,3 @@
+auto: true
+pygments: true
+permalink: none
View
56 _layouts/default.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+
+ <title>{{ page.title }}</title>
+
+ <!-- syntax highlighting CSS -->
+ <link rel="stylesheet" href="/css/syntax.css" type="text/css" />
+
+ <link rel="stylesheet" href="/css/screen.css" type="text/css" />
+
+</head>
+
+<body>
+ <a href="http://github.com/flaub/DotWeb"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
+
+ <div id="container">
+
+ <div class="download">
+ <a href="http://github.com/flaub/DotWeb/zipball/master">
+ <img border="0" width="90" src="http://github.com/images/modules/download/zip.png"></a>
+ <a href="http://github.com/flaub/DotWeb/tarball/master">
+ <img border="0" width="90" src="http://github.com/images/modules/download/tar.png"></a>
+ </div>
+
+ <h1>
+ <a href="http://github.com/flaub/DotWeb">DotWeb</a>
+ <span class="small">by <a href="http://github.com/flaub">flaub</a></span>
+ </h1>
+
+ {{ content }}
+
+ <div class="footer">
+ get the source code on GitHub : <a href="http://github.com/flaub/DotWeb">flaub/DotWeb</a>
+ </div>
+ </div>
+
+ <script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+ <script type="text/javascript">
+ try{
+ var pageTracker = _gat._getTracker("UA-3313431-5");
+ var isLocal = !!( /localhost|127\.0\.0/i.test(window.location.href) );
+ if(!isLocal) {
+ pageTracker._trackPageview();
+ }
+ } catch(err) {}
+ </script>
+
+</body>
+</html>
View
6 _posts/2010-01-01-first.textile
@@ -0,0 +1,6 @@
+---
+layout: default
+title: First
+---
+
+My first page
View
19 _posts/2010-01-01-second.textile
@@ -0,0 +1,19 @@
+---
+layout: default
+title: Second
+category: Test/Sub
+---
+
+My 2nd page
+
+Title: {{ page.title }}
+ID: {{ page.id }}
+Date: {{ page.date }}
+
+Categories:
+
+<ul>
+ {% for category in page.categories %}
+ <li>{{ category }}</li>
+ {% endfor %}
+</ul>
View
40 css/screen.css
@@ -0,0 +1,40 @@
+body {
+ margin-top: 1.0em;
+ background-color: #8abc83;
+ font-family: "Helvetica,Arial,FreeSans";
+ color: #000000;
+}
+#container {
+ margin: 0 auto;
+ width: 700px;
+}
+h1 { font-size: 3.8em; color: #75437c; margin-bottom: 3px; }
+h1 .small { font-size: 0.4em; }
+h1 a { text-decoration: none }
+h2 { font-size: 1.5em; color: #75437c; }
+h3 { text-align: center; color: #75437c; }
+a { color: #75437c; }
+.description {
+ font-size: 1.2em;
+ margin-bottom: 30px;
+ margin-top: 30px;
+ font-style: italic;
+}
+.download {
+ float: right;
+}
+pre {
+ background: #000;
+ color: #fff;
+ padding: 15px;
+}
+hr {
+ border: 0;
+ width: 80%;
+ border-bottom: 1px solid #aaa
+}
+.footer {
+ text-align:center;
+ padding-top:30px;
+ font-style: italic;
+}
View
61 css/syntax.css
@@ -0,0 +1,61 @@
+.hll { background-color: #ffffcc }
+.c { color: #808080 } /* Comment */
+.err { color: #F00000; background-color: #F0A0A0 } /* Error */
+.k { color: #008000; font-weight: bold } /* Keyword */
+.o { color: #303030 } /* Operator */
+.cm { color: #808080 } /* Comment.Multiline */
+.cp { color: #507090 } /* Comment.Preproc */
+.c1 { color: #808080 } /* Comment.Single */
+.cs { color: #cc0000; font-weight: bold } /* Comment.Special */
+.gd { color: #A00000 } /* Generic.Deleted */
+.ge { font-style: italic } /* Generic.Emph */
+.gr { color: #FF0000 } /* Generic.Error */
+.gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.gi { color: #00A000 } /* Generic.Inserted */
+.go { color: #808080 } /* Generic.Output */
+.gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
+.gs { font-weight: bold } /* Generic.Strong */
+.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
+.gt { color: #0040D0 } /* Generic.Traceback */
+.kc { color: #008000; font-weight: bold } /* Keyword.Constant */
+.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
+.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
+.kp { color: #003080; font-weight: bold } /* Keyword.Pseudo */
+.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
+.kt { color: #303090; font-weight: bold } /* Keyword.Type */
+.m { color: #6000E0; font-weight: bold } /* Literal.Number */
+.s { background-color: #fff0f0 } /* Literal.String */
+.na { color: #0000C0 } /* Name.Attribute */
+.nb { color: #007020 } /* Name.Builtin */
+.nc { color: #B00060; font-weight: bold } /* Name.Class */
+.no { color: #003060; font-weight: bold } /* Name.Constant */
+.nd { color: #505050; font-weight: bold } /* Name.Decorator */
+.ni { color: #800000; font-weight: bold } /* Name.Entity */
+.ne { color: #F00000; font-weight: bold } /* Name.Exception */
+.nf { color: #0060B0; font-weight: bold } /* Name.Function */
+.nl { color: #907000; font-weight: bold } /* Name.Label */
+.nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
+.nt { color: #007000 } /* Name.Tag */
+.nv { color: #906030 } /* Name.Variable */
+.ow { color: #000000; font-weight: bold } /* Operator.Word */
+.w { color: #bbbbbb } /* Text.Whitespace */
+.mf { color: #6000E0; font-weight: bold } /* Literal.Number.Float */
+.mh { color: #005080; font-weight: bold } /* Literal.Number.Hex */
+.mi { color: #0000D0; font-weight: bold } /* Literal.Number.Integer */
+.mo { color: #4000E0; font-weight: bold } /* Literal.Number.Oct */
+.sb { background-color: #fff0f0 } /* Literal.String.Backtick */
+.sc { color: #0040D0 } /* Literal.String.Char */
+.sd { color: #D04020 } /* Literal.String.Doc */
+.s2 { background-color: #fff0f0 } /* Literal.String.Double */
+.se { color: #606060; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */
+.sh { background-color: #fff0f0 } /* Literal.String.Heredoc */
+.si { background-color: #e0e0e0 } /* Literal.String.Interpol */
+.sx { color: #D02000; background-color: #fff0f0 } /* Literal.String.Other */
+.sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */
+.s1 { background-color: #fff0f0 } /* Literal.String.Single */
+.ss { color: #A06000 } /* Literal.String.Symbol */
+.bp { color: #007020 } /* Name.Builtin.Pseudo */
+.vc { color: #306090 } /* Name.Variable.Class */
+.vg { color: #d07000; font-weight: bold } /* Name.Variable.Global */
+.vi { color: #3030B0 } /* Name.Variable.Instance */
+.il { color: #0000D0; font-weight: bold } /* Literal.Number.Integer.Long */
View
132 index.html
@@ -1,90 +1,50 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+---
+layout: default
+title: DotWeb
+---
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<div class="description">
+ .NET Web Toolkit
+</div>
- <title>flaub/DotWeb @ GitHub</title>
-
- <style type="text/css">
- body {
- margin-top: 1.0em;
- background-color: #8abc83;
- font-family: "Helvetica,Arial,FreeSans";
- color: #000000;
- }
- #container {
- margin: 0 auto;
- width: 700px;
- }
- h1 { font-size: 3.8em; color: #75437c; margin-bottom: 3px; }
- h1 .small { font-size: 0.4em; }
- h1 a { text-decoration: none }
- h2 { font-size: 1.5em; color: #75437c; }
- h3 { text-align: center; color: #75437c; }
- a { color: #75437c; }
- .description { font-size: 1.2em; margin-bottom: 30px; margin-top: 30px; font-style: italic;}
- .download { float: right; }
- pre { background: #000; color: #fff; padding: 15px;}
- hr { border: 0; width: 80%; border-bottom: 1px solid #aaa}
- .footer { text-align:center; padding-top:30px; font-style: italic; }
- </style>
-
-</head>
-
-<body>
- <a href="http://github.com/flaub/DotWeb"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
-
- <div id="container">
-
- <div class="download">
- <a href="http://github.com/flaub/DotWeb/zipball/master">
- <img border="0" width="90" src="http://github.com/images/modules/download/zip.png"></a>
- <a href="http://github.com/flaub/DotWeb/tarball/master">
- <img border="0" width="90" src="http://github.com/images/modules/download/tar.png"></a>
- </div>
-
- <h1><a href="http://github.com/flaub/DotWeb">DotWeb</a>
- <span class="small">by <a href="http://github.com/flaub">flaub</a></span></h1>
-
- <div class="description">
- .NET Web Toolkit
- </div>
-
- <h2>License</h2>
+<h2>License</h2>
<p>GPLv3 (for now)</p>
<h2>Authors</h2>
-<p>Frank Laub (frank [dot] laub [at] gmail [dot] com)<br/><br/> </p>
-
-
- <h2>Download</h2>
- <p>
- You can download this project in either
- <a href="http://github.com/flaub/DotWeb/zipball/master">zip</a> or
- <a href="http://github.com/flaub/DotWeb/tarball/master">tar</a> formats.
- </p>
- <p>You can also clone the project with <a href="http://git-scm.com">Git</a>
- by running:
- <pre>$ git clone git://github.com/flaub/DotWeb</pre>
- </p>
-
- <div class="footer">
- get the source code on GitHub : <a href="http://github.com/flaub/DotWeb">flaub/DotWeb</a>
- </div>
-
- </div>
-
-<script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script>
-<script type="text/javascript">
- try{
- var pageTracker = _gat._getTracker("UA-3313431-5");
- pageTracker._trackPageview();
- } catch(err) {}
-</script>
-
-</body>
-</html>
+<p>
+ Frank Laub (frank [dot] laub [at] gmail [dot] com)
+ <br/>
+ <br/>
+</p>
+
+<h2>Download</h2>
+<p>
+ You can download this project in either
+ <a href="http://github.com/flaub/DotWeb/zipball/master">zip</a> or
+ <a href="http://github.com/flaub/DotWeb/tarball/master">tar</a> formats.
+</p>
+<p>
+ You can also clone the project with <a href="http://git-scm.com">Git</a> by running:
+ <pre>$ git clone git://github.com/flaub/DotWeb</pre>
+</p>
+
+Test
+
+{% highlight csharp %}
+public class Test
+{
+ public static void Main() {
+ var x = 1;
+ Console.WriteLine(x);
+ }
+}
+{% endhighlight %}
+
+After test
+
+<ul>
+ {% for post in site.posts %}
+ <li><a href="{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
+</ul>
+
+<a href='/pages/test.html'>Test</a>
View
16 myself.html
@@ -1,16 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
-<html>
- <body onload="javascript:pageTracker._setVar('myself');">
- OK
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- try{
- var pageTracker = _gat._getTracker("UA-3313431-5");
- pageTracker._trackPageview();
- } catch(err) {}
- </script>
- </body>
-</html>
View
9 pages/test.textile
@@ -0,0 +1,9 @@
+---
+layout: default
+title: Test
+---
+
+Test page dude
+
+Title: {{ page.title }}
+Server: {{ site.server }}

0 comments on commit ce4d249

Please sign in to comment.