diff --git a/.editorconfig b/.editorconfig
index 1a62086..4a7ea30 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -5,5 +5,8 @@ indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
trim_trailing_whitespace = false
-insert_final_newline = false
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a8669b1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+yarn.lock
+node_modules
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..1892455
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,24 @@
+
+
+
+ {{ partialCached "head.html" . }}
+
+
+ {{ block "header" . }}
+ {{ partialCached "header.html" . }}
+ {{ end }}
+
+ {{ block "main" . }}
+ {{ end }}
+
+
+
+ {{ partialCached "javascript.html" . }}
+ {{ partialCached "google_analytics.html" . }}
+ {{ partialCached "piwik_analytics.html" . }}
+
+
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index e69de29..98539fc 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -0,0 +1,3 @@
+{{ partial "header.html" . }}
+
+{{ partial "footer.html" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index e69de29..a41a215 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -0,0 +1,9 @@
+{{ define "main" }}
+
+
+ {{ .Content }}
+
+{{ end }}
diff --git a/layouts/index.html b/layouts/index.html
index e69de29..4f938f5 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -0,0 +1,14 @@
+{{ define "main" }}
+
+
+ {{ $paginator = .Paginate ( where .Data.Pages "Type" "post") }}
+ {{ range $paginator.Pages }}
+ {{ .Render "summary" }}
+ {{ end }}
+
+ {{ partial "pagination.html" . }}
+
+{{ end }}
diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html
new file mode 100644
index 0000000..ca04abf
--- /dev/null
+++ b/layouts/partials/favicon.html
@@ -0,0 +1 @@
+
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e69de29..d6c36a7 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -0,0 +1 @@
+{{ partial "sotial.html" . }}
diff --git a/layouts/partials/google_analytics.html b/layouts/partials/google_analytics.html
new file mode 100644
index 0000000..52f9a94
--- /dev/null
+++ b/layouts/partials/google_analytics.html
@@ -0,0 +1,12 @@
+{{ with .Site.Params.googleAnalytics }}
+
+{{ end }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..5a6a36a
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,30 @@
+
+
+
+
+
+{{ .Hugo.Generator }}
+
+{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} - {{ .Site.Title }}{{ end }}
+
+
+
+
+
+
+
+
+{{ with .Site.Params.highlightjs }}
+
+{{ end }}
+
+
+{{ if .RSSLink }}
+
+{{ end }}
+
+{{ partial "favicon.html" . }}
+
+{{ range .Site.Params.custom_css }}
+
+{{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index e69de29..60d7860 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -0,0 +1 @@
+{{ partial "menu.html" . }}
diff --git a/layouts/partials/javascript.html b/layouts/partials/javascript.html
new file mode 100644
index 0000000..f1e83e0
--- /dev/null
+++ b/layouts/partials/javascript.html
@@ -0,0 +1,18 @@
+
+{{ with .Site.Params.highlightjs }}
+ {{ range $.Site.Params.highlightjs_extra_languages }}
+
+ {{ end }}
+
+{{ end }}
+
+
+
+
+
+
+
+
+{{ range .Site.Params.custom_js }}
+
+{{ end }}
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
new file mode 100644
index 0000000..34c8fdd
--- /dev/null
+++ b/layouts/partials/menu.html
@@ -0,0 +1,33 @@
+
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html
new file mode 100644
index 0000000..7890a9f
--- /dev/null
+++ b/layouts/partials/pagination.html
@@ -0,0 +1,38 @@
+{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
+ {{ $paginator := .Paginator }}
+
+{{ end }}
diff --git a/layouts/partials/piwik_analytics.html b/layouts/partials/piwik_analytics.html
new file mode 100644
index 0000000..1e89c5e
--- /dev/null
+++ b/layouts/partials/piwik_analytics.html
@@ -0,0 +1,16 @@
+{{ with .Site.Params.piwikAnalytics }}
+
+
+
+{{ end }}
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
new file mode 100644
index 0000000..602a6be
--- /dev/null
+++ b/layouts/partials/social.html
@@ -0,0 +1,160 @@
+
+ {{ if .RSSLink }}
+ -
+ RSS
+
+ {{ end }}
+
+ {{ with .Site.Social.twitter }}
+ -
+ Twitter
+
+ {{ end }}
+ {{ with .Site.Social.gnusocial }}
+ -
+ GNU social
+
+ {{ end }}
+ {{ with .Site.Social.facebook }}
+ -
+ Facebook
+
+ {{ end }}
+ {{ with .Site.Social.googleplus }}
+ -
+ Google+
+
+ {{ end }}
+ {{ with .Site.Social.weibo }}
+ -
+ Weibo
+
+ {{ end }}
+ {{ with .Site.Social.tumblr }}
+ -
+ Tumblr
+
+ {{ end }}
+
+ {{ with .Site.Social.instagram }}
+ -
+ Instagram
+
+ {{ end }}
+ {{ with .Site.Social.flickr }}
+ -
+ Flickr
+
+ {{ end }}
+ {{ with .Site.Social.photo500px }}
+ -
+ 500px
+
+ {{ end }}
+ {{ with .Site.Social.pinterest }}
+ -
+ Pinterest
+
+ {{ end }}
+ {{ with .Site.Social.youtube }}
+ -
+ YouTube
+
+ {{ end }}
+ {{ with .Site.Social.vimeo }}
+ -
+ Vimeo
+
+ {{ end }}
+ {{ with .Site.Social.vine }}
+ -
+ Vine
+
+ {{ end }}
+ {{ with .Site.Social.slideshare }}
+ -
+ SlideShare
+
+ {{ end }}
+ {{ with .Site.Social.deviantart }}
+ -
+ Deviantart
+
+ {{ end }}
+
+ {{ with .Site.Social.linkedin }}
+ -
+ LinkedIn
+
+ {{ end }}
+ {{ with .Site.Social.xing }}
+ -
+ Xing
+
+ {{ end }}
+
+ {{ with .Site.Social.reddit }}
+ -
+ Reddit
+
+ {{ end }}
+ {{ with .Site.Social.hackernews }}
+ -
+ Hacker News
+
+ {{ end }}
+
+ {{ with .Site.Social.github }}
+ -
+ GitHub
+
+ {{ end }}
+ {{ with .Site.Social.gitlab }}
+ -
+ GitLab
+
+ {{ end }}
+ {{ with .Site.Social.bitbucket }}
+ -
+ Bitbucket
+
+ {{ end }}
+ {{ with .Site.Social.stackoverflow }}
+ -
+ Stack Overflow
+
+ {{ end }}
+ {{ with .Site.Social.serverfault }}
+ -
+ Server Fault
+
+ {{ end }}
+
+ {{ with .Site.Social.steam }}
+ -
+ Steam
+
+ {{ end }}
+ {{ with .Site.Social.mobygames }}
+ -
+ MobyGames
+
+ {{ end }}
+
+ {{ with .Site.Social.lastfm }}
+ -
+ Last.fm
+
+ {{ end }}
+ {{ with .Site.Social.discogs }}
+ -
+ Discogs
+
+ {{ end }}
+
+ {{ with .Site.Social.keybase }}
+ -
+ Keybase
+
+ {{ end }}
+
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..9f5b5d9
--- /dev/null
+++ b/package.json
@@ -0,0 +1,13 @@
+{
+ "name": "hugo-bootswatch-slate",
+ "version": "0.1.0",
+ "description": "A hugo theme based on the Slate Bootswatch theme",
+ "main": "index.js",
+ "repository": "git@github.com:gardient/hugo-bootswatch-slate.git",
+ "author": "Gardient ",
+ "license": "MIT",
+ "private": false,
+ "devDependencies": {
+ "standard": "^10.0.3"
+ }
+}
diff --git a/static/js/hugo-bootswatch-slate.js b/static/js/hugo-bootswatch-slate.js
new file mode 100644
index 0000000..c7ef443
--- /dev/null
+++ b/static/js/hugo-bootswatch-slate.js
@@ -0,0 +1,2 @@
+/* globals hljs */
+if (hljs !== null) hljs.initHighlightingOnLoad()
diff --git a/theme.toml b/theme.toml
index fa689ac..af99cd7 100644
--- a/theme.toml
+++ b/theme.toml
@@ -1,21 +1,21 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
-name = "Hugo Bootswatch Slate"
-license = "MIT"
-licenselink = "https://github.com/gardient/hugo-bootswatch-slategit /blob/master/LICENSE.md"
-description = "A hugo theme based on the Slate Bootswatch theme "
-homepage = "https://gyulakerezsi.ro/"
-tags = ['blog']
+name = 'Hugo Bootswatch Slate'
+license = 'MIT'
+licenselink = 'https://github.com/gardient/hugo-bootswatch-slategit/blob/master/LICENSE.md'
+description = 'A hugo theme based on the Slate Bootswatch theme'
+homepage = 'https://gyulakerezsi.ro/'
+tags = ['blog', 'Bootstrap', 'Font Awesome', 'Highligh.js', 'dark']
features = ['blog']
-min_version = "0.36"
+min_version = '0.36'
[author]
- name = "gardient"
- homepage = "https://gyulakerezsi.ro"
+ name = 'gardient'
+ homepage = 'https://gyulakerezsi.ro/'
# If porting an existing theme
[original]
- name = "Slate"
- homepage = "https://bootswatch.com/slate/"
- repo = "https://github.com/thomaspark/bootswatch/tree/master/dist/slate"
+ name = 'Slate'
+ homepage = 'https://bootswatch.com/slate/'
+ repo = 'https://github.com/thomaspark/bootswatch/tree/master/dist/slate'