diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..066ebdf --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/node_modules/ +/static/styles/ diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..72dfa5a --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +date: "2016-11-08T16:00:00+02:00" +title: "Title" +weight: 10 +draft: false +--- diff --git a/archetypes/docs.md b/archetypes/docs.md new file mode 100644 index 0000000..9774f40 --- /dev/null +++ b/archetypes/docs.md @@ -0,0 +1,8 @@ +--- +date: "2016-11-08T16:00:00+02:00" +title: "Title" +weight: 10 +toc: true +draft: false +type: "docs" +--- diff --git a/archetypes/page.md b/archetypes/page.md new file mode 100644 index 0000000..825c1d6 --- /dev/null +++ b/archetypes/page.md @@ -0,0 +1,8 @@ +--- +date: "2016-11-08T16:00:00+02:00" +title: "Title" +weight: 10 +toc: true +draft: false +type: "page" +--- diff --git a/archetypes/post.md b/archetypes/post.md new file mode 100644 index 0000000..b6bb895 --- /dev/null +++ b/archetypes/post.md @@ -0,0 +1,8 @@ +--- +date: "2016-11-08T16:00:00+02:00" +author: "go-gitea" +title: "Title" +tags: ["tag"] +draft: false +type: "post" +--- diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..fa4d535 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,17 @@ +var gulp = require('gulp'); +var sass = require('gulp-sass'); +var sourcemaps = require('gulp-sourcemaps'); + +gulp.task('default', ['sass']); + +gulp.task('sass', function () { + return gulp.src('./src/main.scss') + .pipe(sourcemaps.init()) + .pipe(sass().on('error', sass.logError)) + .pipe(sourcemaps.write('.')) + .pipe(gulp.dest('./static/styles')); +}); + +gulp.task('watch', function () { + gulp.watch('./src/*.scss', ['sass']); +}); diff --git a/i18n/de.yaml b/i18n/de.yaml new file mode 100644 index 0000000..6472e51 --- /dev/null +++ b/i18n/de.yaml @@ -0,0 +1,29 @@ +- id: navbar_menu + translation: "Menü" + +- id: toplink_website + translation: "Website" + +- id: toplink_blog + translation: "Blog" + +- id: toplink_docs + translation: "Doku" + +- id: toplink_code + translation: "Quelltext" + +- id: toplink_downloads + translation: "Downloads" + +- id: toplink_github + translation: "GitHub" + +- id: read_more + translation: "Mehr..." + +- id: page_prev + translation: "Vorherige" + +- id: page_next + translation: "Nächste" diff --git a/i18n/en.yaml b/i18n/en.yaml new file mode 100644 index 0000000..b732115 --- /dev/null +++ b/i18n/en.yaml @@ -0,0 +1,32 @@ +- id: navbar_menu + translation: "Menu" + +- id: toplink_website + translation: "Website" + +- id: toplink_blog + translation: "Blog" + +- id: toplink_docs + translation: "Docs" + +- id: toplink_code + translation: "Import" + +- id: toplink_downloads + translation: "Downloads" + +- id: toplink_github + translation: "GitHub" + +- id: read_more + translation: "More..." + +- id: authored_by + translation: "by" + +- id: page_prev + translation: "Previous" + +- id: page_next + translation: "Next" diff --git a/layouts/404.html b/layouts/404.html index 78875eb..fdf9bc1 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,7 +1,12 @@ {{ partial "header" . }} +{{ partial "navbar" . }} -