diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..13e5a4f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Matches multiple files with brace expansion notation +# Set default charset +[*.{js,py}] +charset = utf-8 + +# 4 space indentation +[{*.json,*.yml,*.styl,*.ejs}] +indent_style = space +indent_size = 2 diff --git a/.gitignore b/.gitignore index 8b5ae8e..ffba1b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -_config.yml \ No newline at end of file +_config.yml +*.iml +.idea diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index 432eb6e..de345c4 100644 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -1,37 +1,34 @@ \ No newline at end of file + + + diff --git a/layout/_partial/profile.ejs b/layout/_partial/profile.ejs index 5aca08d..8d324c2 100644 --- a/layout/_partial/profile.ejs +++ b/layout/_partial/profile.ejs @@ -1,42 +1,38 @@ \ No newline at end of file +
+
+ <%= site.posts.length %> + <%= (site.posts.length > 1 ? __('profile.posts') : __('profile.post')) %> +
+
+ <%= site.tags.length %> + <%= (site.tags.length > 1 ? __('profile.tags') : __('profile.tag')) %> +
+
+ <% if(theme.contacts) { %> +
+ + + <% for(var i in theme.contacts) { %> + + <% } %> + +
+
+ <% } %> + <% if(theme.about) { %> +
+

About

+

<%- theme.about %>

+
+ <% } %> + +