diff options
author | Derek Severin <severinderek@gmail.com> | 2018-09-13 13:03:20 +0300 |
---|---|---|
committer | Derek Severin <severinderek@gmail.com> | 2018-09-13 13:03:20 +0300 |
commit | a5e43b6bb87c9b04f610927f89f3ee3f8fa9e349 (patch) | |
tree | 216ca13ac837ef357a4f1ee33c7277d21ac48404 | |
parent | e77f34cefb2dbf7f77993a7a2ec2c59d54363b9b (diff) |
Pro content updated & project's period fixed
16 files changed, 81 insertions, 3 deletions
diff --git a/exampleSite/content/pro/_index.md b/exampleSite/content/pro/_index.md new file mode 100644 index 0000000..88a8ae5 --- /dev/null +++ b/exampleSite/content/pro/_index.md @@ -0,0 +1,9 @@ +--- +title: "PROFESSIONAL" +sections_title: "Companies" +sections_order: "startDate" +sections_order_reverse: true +posts_title: "Projects" +--- + +Here are different companies...
\ No newline at end of file diff --git a/exampleSite/content/pro/client-x/_index.md b/exampleSite/content/pro/client-x/_index.md new file mode 100644 index 0000000..acd8c7b --- /dev/null +++ b/exampleSite/content/pro/client-x/_index.md @@ -0,0 +1,10 @@ ++++ +title = "Client X" +subtitle = "Freelance" +startDate = "2016-08-01" +endDate = "2016-12-01" +small_image = "comp3.png" +posts_title = "PROJECTS:" ++++ + +Some freelance work for a specific client. diff --git a/exampleSite/content/pro/client-x/comp3.png b/exampleSite/content/pro/client-x/comp3.png Binary files differnew file mode 100644 index 0000000..d36197e --- /dev/null +++ b/exampleSite/content/pro/client-x/comp3.png diff --git a/exampleSite/content/pro/client-x/single-project/food-royal.jpg b/exampleSite/content/pro/client-x/single-project/food-royal.jpg Binary files differnew file mode 100644 index 0000000..afa1cf5 --- /dev/null +++ b/exampleSite/content/pro/client-x/single-project/food-royal.jpg diff --git a/exampleSite/content/pro/client-x/single-project/index.md b/exampleSite/content/pro/client-x/single-project/index.md new file mode 100644 index 0000000..b058985 --- /dev/null +++ b/exampleSite/content/pro/client-x/single-project/index.md @@ -0,0 +1,9 @@ ++++ +title = "The One Project" +subtitle = "Didn't do much here..." +image = "food-royal.jpg" +categories = [ "food" ] +tags = [ "bundle" ] ++++ + +This one was somehow related to food. diff --git a/exampleSite/content/pro/company/_index.md b/exampleSite/content/pro/company/_index.md new file mode 100644 index 0000000..1362c0c --- /dev/null +++ b/exampleSite/content/pro/company/_index.md @@ -0,0 +1,11 @@ ++++ +title = "COMPANY" +subtitle = "With a role" +startDate = "2012-04-01" +endDate = "2016-04-01" +small_image = "comp2.png" +posts_title = "PROJECTS:" ++++ + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus auctor, ex sit amet condimentum placerat, neque dolor facilisis purus, in elementum ex urna at ante. Praesent turpis leo, auctor at justo vel, dignissim imperdiet tellus. Vivamus nec orci luctus, pharetra mauris eget, tristique ligula. Integer elit lorem, blandit ut eros et, efficitur aliquet dui. Aenean sed orci lorem. Nulla facilisi. Cras sollicitudin odio eu erat sollicitudin, sit amet volutpat risus condimentum. Praesent blandit vitae magna pellentesque vestibulum. Nam et facilisis lacus. Proin malesuada est at tellus semper, vel porttitor massa malesuada. +Nulla at quam sit amet lectus interdum blandit. Phasellus dolor velit, ullamcorper id justo vitae, hendrerit dictum elit. Curabitur cursus efficitur ex, in volutpat tortor. Nunc venenatis, mauris nec ultrices vulputate, libero ante volutpat ante, sit amet efficitur metus neque a diam. Nulla facilisi. Nam porta sagittis magna, et congue mi venenatis eu. Duis luctus, nisl sit amet volutpat semper, lorem quam congue tortor, eget finibus justo mi sit amet elit. Sed et nisl quis ante rhoncus vehicula vitae a lectus. Pellentesque mollis eu velit eget sodales. diff --git a/exampleSite/content/pro/company/comp2.png b/exampleSite/content/pro/company/comp2.png Binary files differnew file mode 100644 index 0000000..dd33131 --- /dev/null +++ b/exampleSite/content/pro/company/comp2.png diff --git a/exampleSite/content/pro/company/single-project/images/draw2.jpg b/exampleSite/content/pro/company/single-project/images/draw2.jpg Binary files differnew file mode 100644 index 0000000..9bdd34d --- /dev/null +++ b/exampleSite/content/pro/company/single-project/images/draw2.jpg diff --git a/exampleSite/content/pro/company/single-project/index.md b/exampleSite/content/pro/company/single-project/index.md new file mode 100644 index 0000000..b2d8731 --- /dev/null +++ b/exampleSite/content/pro/company/single-project/index.md @@ -0,0 +1,11 @@ +--- +title: "A Weird Project" +subtitle: "Freestyle weirdness" +categories: [ "art", "IT" ] +tags: [ "bundle", "drawing" ] +resources: +- src: "images/draw2.jpg" + title: "Weird drawinf" + params: + copyright: "DEREK SEVERIN" +--- diff --git a/exampleSite/content/pro/the-awesome-company/_index.md b/exampleSite/content/pro/the-awesome-company/_index.md new file mode 100644 index 0000000..ccb675f --- /dev/null +++ b/exampleSite/content/pro/the-awesome-company/_index.md @@ -0,0 +1,12 @@ ++++ +title = "THE AWESOME COMPANY" +startDate = "2010-06-01" +endDate = "2012-02-01" +#image = "hero.jpg" +small_image = "comp1.png" +small_url = "http://some_url.url" +posts_title = "PROJECTS:" ++++ + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus auctor, ex sit amet condimentum placerat, neque dolor facilisis purus, in elementum ex urna at ante. Praesent turpis leo, auctor at justo vel, dignissim imperdiet tellus. Vivamus nec orci luctus, pharetra mauris eget, tristique ligula. Integer elit lorem, blandit ut eros et, efficitur aliquet dui. Aenean sed orci lorem. Nulla facilisi. Cras sollicitudin odio eu erat sollicitudin, sit amet volutpat risus condimentum. Praesent blandit vitae magna pellentesque vestibulum. Nam et facilisis lacus. Proin malesuada est at tellus semper, vel porttitor massa malesuada. +Nulla at quam sit amet lectus interdum blandit. Phasellus dolor velit, ullamcorper id justo vitae, hendrerit dictum elit. Curabitur cursus efficitur ex, in volutpat tortor. Nunc venenatis, mauris nec ultrices vulputate, libero ante volutpat ante, sit amet efficitur metus neque a diam. Nulla facilisi. Nam porta sagittis magna, et congue mi venenatis eu. Duis luctus, nisl sit amet volutpat semper, lorem quam congue tortor, eget finibus justo mi sit amet elit. Sed et nisl quis ante rhoncus vehicula vitae a lectus. Pellentesque mollis eu velit eget sodales. diff --git a/exampleSite/content/pro/the-awesome-company/comp1.png b/exampleSite/content/pro/the-awesome-company/comp1.png Binary files differnew file mode 100644 index 0000000..967a2fa --- /dev/null +++ b/exampleSite/content/pro/the-awesome-company/comp1.png diff --git a/exampleSite/content/pro/the-awesome-company/other-project/draw4.jpg b/exampleSite/content/pro/the-awesome-company/other-project/draw4.jpg Binary files differnew file mode 100644 index 0000000..ad38db7 --- /dev/null +++ b/exampleSite/content/pro/the-awesome-company/other-project/draw4.jpg diff --git a/exampleSite/content/pro/the-awesome-company/other-project/index.md b/exampleSite/content/pro/the-awesome-company/other-project/index.md new file mode 100644 index 0000000..75068b5 --- /dev/null +++ b/exampleSite/content/pro/the-awesome-company/other-project/index.md @@ -0,0 +1,9 @@ +--- +title: "A Different Project" +subtitle: "With a subtitle." +small_image: "draw4.jpg" +categories: [ "IT", "art" ] +tags: [ "bundle", "music", "drawing" ] +--- + +Not much more to say, but it is as a "bundle" post. diff --git a/exampleSite/content/pro/the-awesome-company/simple-project.md b/exampleSite/content/pro/the-awesome-company/simple-project.md new file mode 100644 index 0000000..8e9b497 --- /dev/null +++ b/exampleSite/content/pro/the-awesome-company/simple-project.md @@ -0,0 +1,7 @@ ++++ +title = "A Simple Project" +categories = [ "IT" ] +tags = [ "simple" ] ++++ + +This is a simple project with not much to say or to show... diff --git a/exampleSite/data/contact.yaml b/exampleSite/data/contact.yaml index 78fa982..24c6de8 100644 --- a/exampleSite/data/contact.yaml +++ b/exampleSite/data/contact.yaml @@ -13,8 +13,8 @@ email: social: - icon: "fa-linkedin" icon_pack: "fab" - link: "//linkedin.com/in/derekseverin" + link: "//linkedin.com" - icon: "fa-github" icon_pack: "fab" - link: "//github.com/2-REC" + link: "//github.com" --- diff --git a/layouts/partials/pages/title.html b/layouts/partials/pages/title.html index dca9e84..699bb86 100644 --- a/layouts/partials/pages/title.html +++ b/layouts/partials/pages/title.html @@ -19,7 +19,7 @@ {{ $months := int (sub $months (mul $years 12)) }} to <i>{{ dateFormat .Site.Params.projects.date_format .Params.endDate }}</i> - ({{ if gt $years 0 }}{{ $years }} years, {{ end }}{{ $months }} months) + ({{ if gt $years 0 }}{{ $years }} year{{ if gt $years 1 }}s{{ end }}{{ end }}{{ if and (gt $years 0) (gt $months 0) }}, {{ end }}{{ if gt $months 0 }}{{ $months }} month{{ if gt $months 1 }}s{{ end }}{{ end }}) {{ end }} </h3> {{ end }} |