diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 63405cf..f28da75 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -20,5 +20,31 @@ enableEmoji: true # Custom parameters params: - # Github Repo URL. This is used to add "Improve This Page" button + # background image of the landing page + background: "images/background.jpg" + + # GitHub repo URL of your site gitRepo: https://github.com/hossainemruz/toha-example-site + + # specify whether you want to write blog post or not + enableBlogPost: true + + # specify the list of custom menus that you want to show in the top navbar. + # they will be separated by a divider from the main menus. + customMenus: + - name: Notes + url: https://hossainnotes.netlify.app/docs/example/ + + # some information about you + author: + name: "Jane Doe" + image: "images/avatar.png" + # give your some contact information. they will be used in the footer + contactInfo: + email: "janedoe@example.com" + phone: "+0123456789" + # a summary of what you do + summary: + - I am a Developer + - I work with Go + - I love to work with some fun projects diff --git a/exampleSite/data/achievements.yaml b/exampleSite/data/achievements.yaml deleted file mode 100644 index fb4bc23..0000000 --- a/exampleSite/data/achievements.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# Your achievements achievements -achievements: - - title: Best Presenter - image: images/achievements/presenter.jpg - summary: Best presenter in 2020 XYZ conference. - - title: Champion - image: images/achievements/sport.jpg - summary: Champion in cycling inter-city cycling championship 2020. - - title: Graduation - image: images/achievements/graduation-cap.jpg - summary: Received Bachelor of Science (B.Sc.) in Computer Science and Engineer from XYZ University. - - title: Award Winner - image: images/achievements/woman-winner.jpg - summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? diff --git a/exampleSite/data/experiences.yaml b/exampleSite/data/experiences.yaml deleted file mode 100644 index abefadc..0000000 --- a/exampleSite/data/experiences.yaml +++ /dev/null @@ -1,43 +0,0 @@ -# Your experiences -experiences: - - designation: Software Engineer - company: - name: Example Co. - url: "https://www.example.com" - location: Dhaka Branch - # company overview - overview: Example Co. is a widely recognized company for cloud native development. It build tools for Kubernetes. - start: Nov 2017 - # don't provide end date if you are currently working there. It will be replaced by "Present" - # end: Dec 2020 - # give some points about what was your responsibilities at the company. - responsibilities: - - Design, develop and manage disaster recovery tool [Xtool](https://www.example.com) that backup Kubernetes volumes, databases and cluster's resource definition. - - My another responsibilities. - - My more responsibilities. - - - designation: Software Engineer - company: - name: PreExample Co. - url: "https://www.preexample.com" - location: Nowhere - overview: PreExample Co. is gateway company to enter into Example co. So, nothing special here. - start: March 2016 - end: May 2017 - responsibilities: - - Write lots of example codes. - - Read lots of examples. - - See lots of example videos. - - - designation: Intern - company: - name: Intern Counting Company (ICC). - url: "https://www.intern.com" - location: Intern Land - overview: Intern counting Company (ICC) is responsible for counting worldwide intern Engineer. - start: Jun 2015 - end: Jan 2016 - responsibilities: - - Count lost of interns. - - Count more interns. - - Count myself as intern. diff --git a/exampleSite/data/projects.yaml b/exampleSite/data/projects.yaml deleted file mode 100644 index 99dd016..0000000 --- a/exampleSite/data/projects.yaml +++ /dev/null @@ -1,54 +0,0 @@ -# filter buttons -buttons: - - name: All - filter: "all" - - name: Professional - filter: "professional" - - name: Academic - filter: "academic" - - name: Hobby - filter: "hobby" - -# your projects -projects: - - name: Kubernetes - logo: images/projects/kubernetes.png - role: Contributor - timeline: "March 2018 - Present" - repo: https://github.com/kubernetes/kubernetes # if your project is public repo on github, then provide this link. it will show star count. - #url: "" # if your project is not a public repo but it has a website, or any external details url then provide it here. don't provide "repo" and "url" simultaneously. - summary: Production-Grade Container Scheduling and Management . - tags: ["professional", "kubernetes", "cloud"] - - - name: Tensorflow - logo: images/projects/tensorflow.png - role: Developer - timeline: "Jun 2018 - Present" - repo: https://github.com/tensorflow/tensorflow - #url: "" - summary: An Open Source Machine Learning Framework for Everyone. - tags: ["professional", "machine-learning","academic"] - - - name: A sample academic paper - role: Team Lead - timeline: "Jan 2017 - Nov 2017" - url: "https://www.example.com" - summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Sapiente eius reprehenderit animi suscipit autem eligendi esse amet aliquid error eum. Accusantium distinctio soluta aliquid quas placeat modi suscipit eligendi nisi. - tags: ["academic","iot"] - - - name: Nocode - logo: images/projects/no-code.png - role: Nothing - timeline: "Oct 2019 - Dec 2019" - repo: https://github.com/kelseyhightower/nocode - #url: "" - summary: The best way to write secure and reliable applications. Write nothing; deploy nowhere. - tags: ["hobby", "fun"] - - - name: Toha - logo: images/projects/toha.png - role: Owner - timeline: "Jun 2019 - Present" - repo: https://github.com/hossainemruz/toha - summary: A Hugo theme for personal portfolio. - tags: ["hobby","hugo","theme","professional"] diff --git a/exampleSite/data/about.yaml b/exampleSite/data/sections/about.yaml similarity index 92% rename from exampleSite/data/about.yaml rename to exampleSite/data/sections/about.yaml index 5fac037..8ae9359 100644 --- a/exampleSite/data/about.yaml +++ b/exampleSite/data/sections/about.yaml @@ -1,3 +1,10 @@ +# section information +section: + name: About + enable: true + weight: 1 + showOnNavbar: true + # your designation designation: Software Engineer # your company information @@ -53,4 +60,4 @@ softSkills: color: pink - name: Hard Working percentage: 85 - color: green + color: green \ No newline at end of file diff --git a/exampleSite/data/sections/achievements.yaml b/exampleSite/data/sections/achievements.yaml new file mode 100644 index 0000000..5877753 --- /dev/null +++ b/exampleSite/data/sections/achievements.yaml @@ -0,0 +1,21 @@ +# section information +section: + name: Achievements + enable: true + weight: 6 + showOnNavbar: true + +# Your achievements achievements +achievements: +- title: Best Presenter + image: images/achievements/presenter.jpg + summary: Best presenter in the 2020 XYZ conference. +- title: Champion + image: images/achievements/sport.jpg + summary: Champion in cycling inter-city cycling championship 2020. +- title: Graduation + image: images/achievements/graduation-cap.jpg + summary: Received Bachelor of Science (B.Sc.) in Computer Science and Engineer from XYZ University. +- title: Award Winner + image: images/achievements/woman-winner.jpg + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? diff --git a/exampleSite/data/sections/experiences.yaml b/exampleSite/data/sections/experiences.yaml new file mode 100644 index 0000000..3ed8349 --- /dev/null +++ b/exampleSite/data/sections/experiences.yaml @@ -0,0 +1,51 @@ +# section information +section: + name: Experiences + enable: true + weight: 3 + showOnNavbar: true + + +# Your experiences +experiences: +- designation: Software Engineer + company: + name: Example Co. + url: "https://www.example.com" + location: Dhaka Branch + # company overview + overview: Example Co. is a widely recognized company for cloud-native development. It builds tools for Kubernetes. + start: Nov 2017 + # don't provide end date if you are currently working there. It will be replaced by "Present" + # end: Dec 2020 + # give some points about what was your responsibilities at the company. + responsibilities: + - Design, develop and manage disaster recovery tool [Xtool](https://www.example.com) that backup Kubernetes volumes, databases, and cluster's resource definition. + - My another responsibility. + - My more responsibilities. + +- designation: Software Engineer + company: + name: PreExample Co. + url: "https://www.preexample.com" + location: Nowhere + overview: PreExample Co. is a gateway company to enter into Example co. So, nothing special here. + start: March 2016 + end: May 2017 + responsibilities: + - Write lots of example codes. + - Read lots of examples. + - See lots of example videos. + +- designation: Intern + company: + name: Intern Counting Company (ICC). + url: "https://www.intern.com" + location: Intern Land + overview: Intern counting Company (ICC) is responsible for counting worldwide intern Engineers. + start: Jun 2015 + end: Jan 2016 + responsibilities: + - Count lost of interns. + - Count more interns. + - Count me as an intern. diff --git a/exampleSite/data/sections/projects.yaml b/exampleSite/data/sections/projects.yaml new file mode 100644 index 0000000..0d84565 --- /dev/null +++ b/exampleSite/data/sections/projects.yaml @@ -0,0 +1,61 @@ +# section information +section: + name: Projects + enable: true + weight: 4 + showOnNavbar: true + +# filter buttons +buttons: +- name: All + filter: "all" +- name: Professional + filter: "professional" +- name: Academic + filter: "academic" +- name: Hobby + filter: "hobby" + +# your projects +projects: +- name: Kubernetes + logo: images/projects/kubernetes.png + role: Contributor + timeline: "March 2018 - Present" + repo: https://github.com/kubernetes/kubernetes # If your project is a public repo on GitHub, then provide this link. it will show star count. + #url: "" # If your project is not a public repo but it has a website or any external details url then provide it here. don't provide "repo" and "url" simultaneously. + summary: Production-Grade Container Scheduling and Management. + tags: ["professional", "kubernetes", "cloud"] + +- name: Tensorflow + logo: images/projects/tensorflow.png + role: Developer + timeline: "Jun 2018 - Present" + repo: https://github.com/tensorflow/tensorflow + #url: "" + summary: An Open Source Machine Learning Framework for Everyone. + tags: ["professional", "machine-learning","academic"] + +- name: A sample academic paper + role: Team Lead + timeline: "Jan 2017 - Nov 2017" + url: "https://www.example.com" + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Sapiente eius reprehenderit animi suscipit autem eligendi esse amet aliquid error eum. Accusantium distinctio soluta aliquid quas placeat modi suscipit eligendi nisi. + tags: ["academic","iot"] + +- name: Nocode + logo: images/projects/no-code.png + role: Nothing + timeline: "Oct 2019 - Dec 2019" + repo: https://github.com/kelseyhightower/nocode + #url: "" + summary: The best way to write secure and reliable applications. Write nothing; deploy nowhere. + tags: ["hobby", "fun"] + +- name: Toha + logo: images/projects/toha.png + role: Owner + timeline: "Jun 2019 - Present" + repo: https://github.com/hossainemruz/toha + summary: A Hugo theme for personal portfolio. + tags: ["hobby","hugo","theme","professional"] diff --git a/exampleSite/data/sections/recent-posts.yaml b/exampleSite/data/sections/recent-posts.yaml new file mode 100644 index 0000000..9fb496a --- /dev/null +++ b/exampleSite/data/sections/recent-posts.yaml @@ -0,0 +1,8 @@ +# section information +section: + name: Recent Posts + enable: true + weight: 5 + showOnNavbar: true + +# no other configuration is required diff --git a/exampleSite/data/skills.yaml b/exampleSite/data/sections/skills.yaml similarity index 67% rename from exampleSite/data/skills.yaml rename to exampleSite/data/sections/skills.yaml index 00c673b..05730d8 100644 --- a/exampleSite/data/skills.yaml +++ b/exampleSite/data/sections/skills.yaml @@ -1,5 +1,12 @@ +# section information +section: + name: Skills + enable: true + weight: 2 + showOnNavbar: true + # Your Skills. -# Give a summary of you each skill in summary section. +# Give a summary of you each skill in the summary section. skills: - name: Kubernetes icon: "images/skills/kubernetes.png" @@ -7,7 +14,7 @@ skills: - name: Go Development icon: "images/skills/go.png" - summary: "Using as main language for professional development. Capable of writing scalable, testable, and maintainable program." + summary: "Using as the main language for professional development. Capable of writing scalable, testable, and maintainable program." - name: Cloud Computing icon: "images/skills/cloud.png" @@ -23,11 +30,11 @@ skills: - name: Linux icon: "images/skills/linux.png" - summary: "Using as main operating system. Capable of writing bash/shell scripts." + summary: "Using as the main operating system. Capable of writing bash/shell scripts." - name: Git icon: "images/skills/git.png" - summary: "Experienced with git based development. Mostly, use Github. Also have experience in working with GitLab." + summary: "Experienced with git-based development. Mostly, use Github. Also, have experience in working with GitLab." - name: C++ icon: "images/skills/c++.png" diff --git a/exampleSite/data/site.yaml b/exampleSite/data/site.yaml deleted file mode 100644 index 019d8b6..0000000 --- a/exampleSite/data/site.yaml +++ /dev/null @@ -1,40 +0,0 @@ -# background image of the landing page -background: "images/background.jpg" - -# some information about you -author: - name: "Jane Doe" - image: "images/avatar.png" - # give your some contact information. they will be used in the footer - contactInfo: - email: "janedoe@example.com" - phone: "+0123456789" - # a summary of what you do - summary: - - I am a Developer - - I work with Go - - I love to work with some fun projects - -# Menus of the home page -menus: -- name: Home - url: "#home" - weight: 1 -- name: About - url: "#about" - weight: 2 -- name: Skills - url: "#skills" - weight: 3 -- name: Experiences - url: "#experiences" - weight: 4 -- name: Projects - url: "#projects" - weight: 5 -- name: Recent Posts - url: "#recent-posts" - weight: 6 -- name: Achievements - url: "#achievements" - weight: 7 diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 7b00091..5f463ab 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,7 +3,7 @@ {{ end }} {{ define "navbar" }} - {{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" true) }} + {{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" true "navBrandURL" .Site.BaseURL ) }} {{ end }} {{ define "content" }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 30dc63d..42b71f7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,7 +7,7 @@ {{ end }} {{ define "navbar" }} - {{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" false) }} + {{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" false "navBrandURL" "/posts") }} {{ end }} {{ define "content" }} @@ -44,31 +44,7 @@
- {{ .Site.Data.about.summary | markdownify }} -
-+ {{ .summary | markdownify }} +
+