From 8176e8ffd21ea78597355b1d2379c5e7d245735f Mon Sep 17 00:00:00 2001 From: Ashutosh <216.ashutosh@gmail.com> Date: Wed, 8 Jun 2016 20:10:04 +0530 Subject: [PATCH] added project,social share,google analytics --- _config.yml | 30 ++++++ _data/projects.json | 31 ++++++ _includes/analytics.html | 10 ++ _includes/project_tags.html | 25 +++++ _includes/share-page.html | 20 ++++ _includes/social_links.html | 7 ++ _layouts/default.html | 69 +++++++++++++ _layouts/post.html | 3 +- _layouts/project.html | 63 ++++++++++++ _layouts/project_single.html | 15 +++ _project/cool-project.md | 5 + projects.md | 7 ++ static/css/projects.css | 71 ++++++++++++++ static/css/thickbox.css | 163 +++++++++++++++++++++++++++++++ static/img/loadingAnimation.gif | Bin 0 -> 5886 bytes static/img/macFFBgHack.png | Bin 0 -> 207 bytes static/js/projects.js | 41 ++++++++ static/js/thickbox-compressed.js | 10 ++ static/projects/placeholder.jpg | Bin 0 -> 139227 bytes 19 files changed, 569 insertions(+), 1 deletion(-) create mode 100644 _data/projects.json create mode 100644 _includes/analytics.html create mode 100644 _includes/project_tags.html create mode 100644 _includes/share-page.html create mode 100644 _includes/social_links.html create mode 100644 _layouts/project.html create mode 100644 _layouts/project_single.html create mode 100644 _project/cool-project.md create mode 100644 projects.md create mode 100644 static/css/projects.css create mode 100644 static/css/thickbox.css create mode 100644 static/img/loadingAnimation.gif create mode 100644 static/img/macFFBgHack.png create mode 100644 static/js/projects.js create mode 100644 static/js/thickbox-compressed.js create mode 100644 static/projects/placeholder.jpg diff --git a/_config.yml b/_config.yml index 1a55c28..4a52f44 100644 --- a/_config.yml +++ b/_config.yml @@ -3,13 +3,43 @@ description: My Personal Stack Problems author: Agus Makmun github: https://github.com/agusmakmun about: I am freelance developer. Currently doing more in backend, actually in Python and Django. +disqus_shortname: aboutashu +google_analytics: UA-XXXXXXXX-Y + +enableTags: true +tagarray: [] + +collections: + project: + output: true + permalink: /project/:path/ + +social: + - icon: fa-facebook + link: "#" + - icon: fa-skype + link: "#" + - icon: fa-twitter + link: "#" + - icon: fa-linkedin + link: "#" + - icon: fa-stack-exchange + link: "#" + +share: + twitter_username: 216ashutosh + fb_appid: 0000000000000 + urls: - text: About Me url: /about/ + - text: Projects + url: /projects/ - text: Github url: https://github.com/agusmakmun - text: XML Feed url: /feed.xml + url: "https://agusmakmun.github.io" baseurl: "" paginate: 20 diff --git a/_data/projects.json b/_data/projects.json new file mode 100644 index 0000000..c52980c --- /dev/null +++ b/_data/projects.json @@ -0,0 +1,31 @@ +[ + { + "slug": "cool-project", + "name": "Cool project 1", + "image": "placeholder.jpg", + "url": "#", + "date": "Jan 2014", + "tags": ["Angular JS","API"] + }, + { + "name": "Cool project 2", + "image": "placeholder.jpg", + "url": "#", + "date": "May 2014", + "tags": ["Android","PHP"] + }, + { + "name": "Cool project 3", + "image": "placeholder.jpg", + "url": "#", + "date": "June 2014", + "tags": ["HTML","JQuery","PHP"] + }, + { + "name": "Cool project 4", + "image": "placeholder.jpg", + "date": "Oct 2016", + "tags": ["Android","nodejs"] + } + +] \ No newline at end of file diff --git a/_includes/analytics.html b/_includes/analytics.html new file mode 100644 index 0000000..bb6b281 --- /dev/null +++ b/_includes/analytics.html @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/_includes/project_tags.html b/_includes/project_tags.html new file mode 100644 index 0000000..de11b90 --- /dev/null +++ b/_includes/project_tags.html @@ -0,0 +1,25 @@ +{% if site.enableTags == true %} +