├── .editorconfig ├── .gitignore ├── LICENSE ├── README.md ├── shard.yml ├── spec ├── builder_spec.cr ├── collection_spec.cr ├── config_spec.cr ├── defaults_spec.cr ├── fixtures │ ├── _config.complex.yml │ ├── _config.default.yml │ ├── exploit.md │ ├── properties.html │ ├── simple-site │ │ ├── Gemfile │ │ ├── _build │ │ │ ├── 2017 │ │ │ │ ├── 07 │ │ │ │ │ └── 16 │ │ │ │ │ │ └── my-first-post.html │ │ │ │ └── 08 │ │ │ │ │ └── 07 │ │ │ │ │ └── markdown.html │ │ │ ├── css │ │ │ │ └── site.css │ │ │ ├── folder │ │ │ │ └── file.html │ │ │ ├── index.html │ │ │ ├── no-frontmatter.markdown │ │ │ └── simple.css │ │ ├── _config.yml │ │ ├── _include.html │ │ ├── _includes │ │ │ └── foo.html │ │ ├── _layouts │ │ │ ├── base.html │ │ │ ├── include.html │ │ │ ├── page.html │ │ │ ├── post.html │ │ │ └── simple.html │ │ ├── _posts │ │ │ ├── 2017-07-16-my-first-post.html │ │ │ └── 2017-08-07-markdown.md │ │ ├── css │ │ │ └── site.css │ │ ├── folder │ │ │ └── file.html │ │ ├── index.md │ │ ├── no-frontmatter.markdown │ │ └── simple.scss │ └── simple.html ├── frontmatter_spec.cr ├── generator │ ├── collections_spec.cr │ ├── files_spec.cr │ └── pagination_spec.cr ├── integration │ ├── jekyll_test_site_spec.cr │ └── simple_build_spec.cr ├── pipeline_spec.cr ├── processor │ ├── crinja_spec.cr │ ├── layout_spec.cr │ ├── markdown_spec.cr │ └── sass_spec.cr ├── resource_spec.cr ├── server_spec.cr ├── site_spec.cr ├── spec_helper.cr └── support │ └── tempfile.cr └── src ├── app.cr ├── builder.cr ├── cli.cr ├── collection.cr ├── collection └── config.cr ├── config.cr ├── crinja_lib.cr ├── criss.cr ├── ext └── string.cr ├── frontmatter.cr ├── generator.cr ├── generator ├── collections.cr ├── files.cr └── pagination.cr ├── paginator.cr ├── pipeline.cr ├── priority.cr ├── processor.cr ├── processor ├── crinja.cr ├── layout.cr ├── markdown.cr └── sass.cr ├── resource.cr ├── server.cr ├── site.cr └── util ├── def_and_equals.cr └── yaml_unmapped.cr /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/README.md -------------------------------------------------------------------------------- /shard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/shard.yml -------------------------------------------------------------------------------- /spec/builder_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/builder_spec.cr -------------------------------------------------------------------------------- /spec/collection_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/collection_spec.cr -------------------------------------------------------------------------------- /spec/config_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/config_spec.cr -------------------------------------------------------------------------------- /spec/defaults_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/defaults_spec.cr -------------------------------------------------------------------------------- /spec/fixtures/_config.complex.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/_config.complex.yml -------------------------------------------------------------------------------- /spec/fixtures/_config.default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/_config.default.yml -------------------------------------------------------------------------------- /spec/fixtures/exploit.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/exploit.md -------------------------------------------------------------------------------- /spec/fixtures/properties.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/properties.html -------------------------------------------------------------------------------- /spec/fixtures/simple-site/Gemfile: -------------------------------------------------------------------------------- 1 | # This file should be ignored 2 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_build/2017/07/16/my-first-post.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/simple-site/_build/2017/07/16/my-first-post.html -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_build/2017/08/07/markdown.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/simple-site/_build/2017/08/07/markdown.html -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_build/css/site.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | height: 100%; 3 | } 4 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_build/folder/file.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_build/index.html: -------------------------------------------------------------------------------- 1 |
Index
2 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_build/no-frontmatter.markdown: -------------------------------------------------------------------------------- 1 | # Header 2 | 3 | * List 4 | * Item 5 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_build/simple.css: -------------------------------------------------------------------------------- 1 | html body { 2 | color: red; } 3 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_config.yml: -------------------------------------------------------------------------------- 1 | port: 4001 2 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_include.html: -------------------------------------------------------------------------------- 1 | Should be included 2 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_includes/foo.html: -------------------------------------------------------------------------------- 1 | FOO included 2 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_layouts/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/simple-site/_layouts/base.html -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_layouts/include.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: none 3 | --- 4 | {% include "foo.html" %} 5 | 6 | {{ content }} 7 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_layouts/page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/simple-site/_layouts/page.html -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_layouts/post.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/simple-site/_layouts/post.html -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_layouts/simple.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: base 3 | --- 4 | {{ content }} 5 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_posts/2017-07-16-my-first-post.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: My first post 3 | author: straight-shoota 4 | --- 5 | 6 |Hello World!
7 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/_posts/2017-08-07-markdown.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/simple-site/_posts/2017-08-07-markdown.md -------------------------------------------------------------------------------- /spec/fixtures/simple-site/css/site.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | height: 100%; 3 | } 4 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/folder/file.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Homepage 3 | --- 4 | Index 5 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/no-frontmatter.markdown: -------------------------------------------------------------------------------- 1 | # Header 2 | 3 | * List 4 | * Item 5 | -------------------------------------------------------------------------------- /spec/fixtures/simple-site/simple.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/simple-site/simple.scss -------------------------------------------------------------------------------- /spec/fixtures/simple.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/fixtures/simple.html -------------------------------------------------------------------------------- /spec/frontmatter_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/frontmatter_spec.cr -------------------------------------------------------------------------------- /spec/generator/collections_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/generator/collections_spec.cr -------------------------------------------------------------------------------- /spec/generator/files_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/generator/files_spec.cr -------------------------------------------------------------------------------- /spec/generator/pagination_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/generator/pagination_spec.cr -------------------------------------------------------------------------------- /spec/integration/jekyll_test_site_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/integration/jekyll_test_site_spec.cr -------------------------------------------------------------------------------- /spec/integration/simple_build_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/integration/simple_build_spec.cr -------------------------------------------------------------------------------- /spec/pipeline_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/pipeline_spec.cr -------------------------------------------------------------------------------- /spec/processor/crinja_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/processor/crinja_spec.cr -------------------------------------------------------------------------------- /spec/processor/layout_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/processor/layout_spec.cr -------------------------------------------------------------------------------- /spec/processor/markdown_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/processor/markdown_spec.cr -------------------------------------------------------------------------------- /spec/processor/sass_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/processor/sass_spec.cr -------------------------------------------------------------------------------- /spec/resource_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/resource_spec.cr -------------------------------------------------------------------------------- /spec/server_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/server_spec.cr -------------------------------------------------------------------------------- /spec/site_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/site_spec.cr -------------------------------------------------------------------------------- /spec/spec_helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/spec_helper.cr -------------------------------------------------------------------------------- /spec/support/tempfile.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/spec/support/tempfile.cr -------------------------------------------------------------------------------- /src/app.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/app.cr -------------------------------------------------------------------------------- /src/builder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/builder.cr -------------------------------------------------------------------------------- /src/cli.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/cli.cr -------------------------------------------------------------------------------- /src/collection.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/collection.cr -------------------------------------------------------------------------------- /src/collection/config.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/collection/config.cr -------------------------------------------------------------------------------- /src/config.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/config.cr -------------------------------------------------------------------------------- /src/crinja_lib.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/crinja_lib.cr -------------------------------------------------------------------------------- /src/criss.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/criss.cr -------------------------------------------------------------------------------- /src/ext/string.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/ext/string.cr -------------------------------------------------------------------------------- /src/frontmatter.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/frontmatter.cr -------------------------------------------------------------------------------- /src/generator.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/generator.cr -------------------------------------------------------------------------------- /src/generator/collections.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/generator/collections.cr -------------------------------------------------------------------------------- /src/generator/files.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/generator/files.cr -------------------------------------------------------------------------------- /src/generator/pagination.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/generator/pagination.cr -------------------------------------------------------------------------------- /src/paginator.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/paginator.cr -------------------------------------------------------------------------------- /src/pipeline.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/pipeline.cr -------------------------------------------------------------------------------- /src/priority.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/priority.cr -------------------------------------------------------------------------------- /src/processor.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/processor.cr -------------------------------------------------------------------------------- /src/processor/crinja.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/processor/crinja.cr -------------------------------------------------------------------------------- /src/processor/layout.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/processor/layout.cr -------------------------------------------------------------------------------- /src/processor/markdown.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/processor/markdown.cr -------------------------------------------------------------------------------- /src/processor/sass.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/processor/sass.cr -------------------------------------------------------------------------------- /src/resource.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/resource.cr -------------------------------------------------------------------------------- /src/server.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/server.cr -------------------------------------------------------------------------------- /src/site.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/site.cr -------------------------------------------------------------------------------- /src/util/def_and_equals.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/util/def_and_equals.cr -------------------------------------------------------------------------------- /src/util/yaml_unmapped.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/straight-shoota/criss/HEAD/src/util/yaml_unmapped.cr --------------------------------------------------------------------------------