Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Updated Wyam; switched to Wyam's Blog recipe
- Loading branch information
Showing
32 changed files
with
420 additions
and
599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
# gniriki.com | ||
Gniriki.com website code | ||
|
||
Build site: | ||
Clone the Wyam submodule: | ||
git submodule init | ||
git submodule update | ||
|
||
Build wyam | ||
.\wyam\build | ||
|
||
Run wyam | ||
.\wyam.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,7 @@ | ||
Pipelines.Add("Posts", | ||
ReadFiles(@"posts\*.md"), // Read all markdown files in the "posts" directory | ||
FrontMatter(Yaml()), // Load any frontmatter and parse it as YAML markup | ||
Markdown(), // Render the markdown content | ||
Meta("Post", @doc.Content), // Move the markdown content to metadata | ||
Concat( | ||
ReadFiles(@"posts\*.cshtml").Where(x => Path.GetFileName(x)[0] != '_' && Path.GetFileName(x) != "index.cshtml"), | ||
FrontMatter(Yaml()) | ||
), | ||
Razor(), // Compile and render the page template | ||
Excerpt(), | ||
WriteFiles("") // Write the post file | ||
); | ||
#recipe Blog | ||
#theme CleanBlog | ||
|
||
Pipelines.Add("News", | ||
ReadFiles(@"news\*.md"), // Read all markdown files in the "posts" directory | ||
FrontMatter(Yaml()), // Load any frontmatter and parse it as YAML markup | ||
Markdown(), // Render the markdown content | ||
Meta("NewsContent", @doc.Content), | ||
Razor(), | ||
Excerpt() | ||
); | ||
|
||
Pipelines.Add("Games", | ||
ReadFiles(@"games\*.cshtml").Where(x => System.IO.Path.GetFileName(x)[0] != '_'), | ||
Razor(), | ||
WriteFiles("") | ||
); | ||
|
||
Pipelines.Add("Home", | ||
ReadFiles(@"*.cshtml").FromTopDirectoryOnly().Where(x => System.IO.Path.GetFileName(x)[0] != '_'), | ||
Razor(), | ||
WriteFiles("") | ||
); | ||
|
||
Pipelines.Add("Resources", | ||
CopyFiles("*").WithoutExtensions(".cshtml", ".md", ".less") | ||
); | ||
Settings[Keys.Host] = "gniriki.com"; | ||
Settings[BlogKeys.Title] = "Gniriki Games"; | ||
Settings[BlogKeys.Description] = "Gniriki Games"; | ||
Settings[BlogKeys.Intro] = "My name is Bartosz Borowiecki and I'm game and .NET developer. I created this blog to write about the things I'm creating and the things I learned, so others can benefit from it."; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Title: Page Not Found | ||
ShowInNavbar: false | ||
--- | ||
# This is not the page you're looking for, move along |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> | ||
<ul class="list-inline text-center"> | ||
<li> | ||
<a href="https://twitter.com/Gniriki"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
<!-- <li> | ||
<a href="#"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li>--> | ||
<li> | ||
<a href="https://github.com/gniriki/"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-github fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
</ul> | ||
|
||
<p class="copyright text-muted">Copyright © 2016 by Bartosz Borowiecki @@ Gniriki. | ||
<br /> | ||
This site is licensed under a <a rel="license" | ||
href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a> | ||
<br /> | ||
<a href="https://github.com/gniriki/gniriki.com"><i class="fa fa-github"></i> This Site on GitHub</a> | <strong><a href="http://wyam.io">Generated by Wyam</a></strong></p> | ||
</div> | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.