├── .github ├── CODEOWNERS ├── FUNDING.yml ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml ├── scripts │ └── setup_examples_test.bash └── workflows │ └── ci.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── DOC.md ├── LICENSE ├── README.md ├── _examples ├── basic │ ├── main.go │ └── views │ │ ├── 500.html │ │ ├── index.html │ │ ├── layouts │ │ ├── error.html │ │ └── main.html │ │ └── partials │ │ └── footer.html ├── embedded-bindata │ ├── bindata.go │ └── main.go ├── embedded │ ├── data │ │ └── views │ │ │ ├── 500.html │ │ │ ├── index.html │ │ │ ├── layouts │ │ │ ├── error.html │ │ │ └── main.html │ │ │ └── partials │ │ │ └── footer.html │ └── main.go ├── funcs │ ├── main.go │ ├── mycollection │ │ └── mycollection.go │ └── views │ │ └── calc.html ├── multiple │ ├── main.go │ └── views │ │ ├── admin │ │ ├── index.html │ │ └── layouts │ │ │ └── main.html │ │ └── public │ │ ├── 500.html │ │ ├── index.html │ │ ├── layouts │ │ ├── error.html │ │ └── main.html │ │ └── partials │ │ └── footer.html └── static-generator │ ├── go.mod │ ├── go.sum │ ├── main.go │ └── site.yml ├── blocks.go ├── fs.go ├── fs_test.go ├── funcs.go ├── go.mod └── go.sum /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: kataras -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/scripts/setup_examples_test.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/.github/scripts/setup_examples_test.bash -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /DOC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/DOC.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/README.md -------------------------------------------------------------------------------- /_examples/basic/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/_examples/basic/main.go -------------------------------------------------------------------------------- /_examples/basic/views/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/_examples/basic/views/500.html -------------------------------------------------------------------------------- /_examples/basic/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/_examples/basic/views/index.html -------------------------------------------------------------------------------- /_examples/basic/views/layouts/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/_examples/basic/views/layouts/error.html -------------------------------------------------------------------------------- /_examples/basic/views/layouts/main.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/_examples/basic/views/layouts/main.html -------------------------------------------------------------------------------- /_examples/basic/views/partials/footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/_examples/basic/views/partials/footer.html -------------------------------------------------------------------------------- /_examples/embedded-bindata/bindata.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/_examples/embedded-bindata/bindata.go -------------------------------------------------------------------------------- /_examples/embedded-bindata/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/_examples/embedded-bindata/main.go -------------------------------------------------------------------------------- /_examples/embedded/data/views/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kataras/blocks/HEAD/_examples/embedded/data/views/500.html -------------------------------------------------------------------------------- /_examples/embedded/data/views/index.html: -------------------------------------------------------------------------------- 1 |