Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/sada.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@users.noreply.github.com>2018-12-17 02:04:32 +0300
committerGitHub <noreply@github.com>2018-12-17 02:04:32 +0300
commitad6d7fe71b7b789bfc7df4ea4343b3f5483d2781 (patch)
tree392d76deba5fd76d197eb013a77e53c11c604eaf
parente43c2fd0d8ebb903de1532e2666c9c72f34b31bf (diff)
Add files via upload
-rw-r--r--LICENSE20
-rw-r--r--README.md26
-rw-r--r--archetypes/default.md5
-rw-r--r--exampleSite/config.toml140
-rw-r--r--images/screenshot.pngbin0 -> 175027 bytes
-rw-r--r--images/tn.pngbin0 -> 136445 bytes
-rw-r--r--layouts/404.html1
-rw-r--r--layouts/_default/baseof.html11
-rw-r--r--layouts/index.html30
-rw-r--r--layouts/partials/education.html14
-rw-r--r--layouts/partials/experience.html10
-rw-r--r--layouts/partials/footer.html5
-rw-r--r--layouts/partials/head.html19
-rw-r--r--layouts/partials/header.html13
-rw-r--r--layouts/partials/hobby.html6
-rw-r--r--layouts/partials/language.html6
-rw-r--r--layouts/partials/project.html6
-rw-r--r--layouts/partials/skill.html8
-rw-r--r--layouts/partials/social.html9
-rw-r--r--static/images/profile.jpgbin0 -> 426648 bytes
-rw-r--r--theme.toml21
21 files changed, 350 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..883a428
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,20 @@
+The MIT License (MIT)
+
+Copyright (c) 2018 Darshan Baral
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ce58c94
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# Sada Theme
+
+The Sada Theme is a one page responsive portfolio created using Bootstrap 4.
+
+## Installation
+
+Inside the folder of your Hugo site run:
+
+ $ cd themes
+ $ git clone REPO
+
+For more information read the official [setup guide](//gohugo.io/overview/installing/) of Hugo.
+
+
+## Getting started
+
+After installing the Sada Theme successfully, modify the `config.toml` as you wish to generate your online resume.
+
+
+### The config file
+
+You'll find a file called [`config.toml`](//github.com/.../exampleSite/config.toml). Copy the `config.toml`to the root folder of your Hugo site customize it per your need.
+
+### Add your photo
+
+Go to `static/images` and replace the `logo.svg` with your own file. \ No newline at end of file
diff --git a/archetypes/default.md b/archetypes/default.md
new file mode 100644
index 0000000..8e4b597
--- /dev/null
+++ b/archetypes/default.md
@@ -0,0 +1,5 @@
+---
+title: "{{ replace .Name "-" " " | title }}"
+date: {{ .Date }}
+draft: true
+--- \ No newline at end of file
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
new file mode 100644
index 0000000..cd58431
--- /dev/null
+++ b/exampleSite/config.toml
@@ -0,0 +1,140 @@
+baseURL = "/"
+languageCode = "en-us"
+theme = "sada"
+
+[params]
+ title = "Sada Theme"
+ author = "Darshan Baral"
+ description = "Simple bootstrap 4 theme"
+ copyright = ""
+ copyright_link = ""
+
+ # Profile section
+ [params.profile]
+ name = "Sada Theme"
+ photo = "profile.jpg"
+
+ # Section for links to social websites
+ [params.social]
+ title = "Links"
+
+ [[params.social.list]]
+ class = "fab"
+ icon = "fa-linkedin-in"
+ url = "#"
+ title = "LinkedIn"
+
+ [[params.social.list]]
+ class = "fab"
+ icon = "fa-github"
+ url = "#"
+ title = "GitHub"
+
+ [[params.social.list]]
+ class = "ai"
+ icon = "ai-google-scholar"
+ url = "#"
+ title = "Google Scholar"
+
+ [[params.social.list]]
+ class = "ai"
+ icon = "ai-researchgate"
+ url = "#"
+ title = "ResearchGate"
+
+ # Education section
+ [params.education]
+ title = "Education"
+
+ [[params.education.list]]
+ degree = "Masters in Degree 1"
+ college = "University Number 1"
+ dates = "2016 - 2018"
+ thesis_title = "Title of the dissertation"
+ thesis_link = "#"
+
+ [[params.education.list]]
+ degree = "Bachelors in Degree 2"
+ college = "University Number 2"
+ dates = "2010 - 2014"
+
+ # Languages section
+ [params.language]
+ title = "Languages"
+
+ [[params.language.list]]
+ language = "English"
+ level = "Fluent"
+
+ [[params.language.list]]
+ language = "Bird"
+ level = "Basic"
+
+ # Interests section
+ [params.hobbies]
+ title = "Hobbies"
+
+ [[params.hobbies.list]]
+ interest = "Travelling"
+
+ [[params.hobbies.list]]
+ interest = "Music"
+
+ [[params.hobbies.list]]
+ interest = "Flying"
+
+ [[params.hobbies.list]]
+ interest = "Baking"
+
+ [params.aboutme]
+ description = "Tagline. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
+
+ # Experiences section
+ [params.experiences]
+ icon = "fa-briefcase"
+ title = "Experiences"
+
+ [[params.jobs.list]]
+ position = "Job Number 1"
+ dates = "2018 - *Present*"
+ link = "#"
+ company = "Company name 1"
+
+ [[params.jobs.list]]
+ position = "Job Number 2"
+ dates = "2016 - 2018"
+ link = "#"
+ company = "Company name 2"
+ details = "Brief description of the `work` done. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
+
+ # Projects section
+ [params.projects]
+ icon = "fa-project-diagram"
+ title = "Projects"
+
+ [[params.projects.list]]
+ title = "Awesome Project 1"
+ url = "#"
+ description = "Description of the *awesome* project 1"
+
+ [[params.projects.list]]
+ title = "Awesome Project 2"
+ url = "#"
+ description = "Description of the **awesome** project 2. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
+
+ # Skills section
+ [params.skills]
+ icon = "fa-cogs"
+ title = "Skills"
+
+ [[params.skills.list]]
+ skill = "Skill 1, Skill 2"
+ skillrating = 95 # out of 100
+
+ [[params.skills.list]]
+ skill = "Skill 3"
+ skillrating = 90
+
+ [[params.skills.list]]
+ skill = "Skill 4"
+ skillrating = 80 \ No newline at end of file
diff --git a/images/screenshot.png b/images/screenshot.png
new file mode 100644
index 0000000..a8072eb
--- /dev/null
+++ b/images/screenshot.png
Binary files differ
diff --git a/images/tn.png b/images/tn.png
new file mode 100644
index 0000000..a32faae
--- /dev/null
+++ b/images/tn.png
Binary files differ
diff --git a/layouts/404.html b/layouts/404.html
new file mode 100644
index 0000000..94e8fbb
--- /dev/null
+++ b/layouts/404.html
@@ -0,0 +1 @@
+Page not found. \ No newline at end of file
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..5f8e2ec
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ {{- partial "head.html" . -}}
+ <body>
+ {{- partial "header.html" . -}}
+ <div id="content">
+ {{- block "main" . }}{{- end }}
+ </div>
+ {{- partial "footer.html" . -}}
+ </body>
+</html>
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..ee24438
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.Language }}">
+
+{{ partial "head.html" . }}
+
+<body class="bg-dark" style="font-family: 'Alegreya Sans', sans-serif;">
+
+ <div class="container">
+ {{ partial "header.html" . }}
+ <div class="row mt-1">
+ <div class="col-sm-4 order-sm-2 bg-secondary text-white rounded pt-3">
+ {{ partial "education.html" . }}
+ <hr style="width:50%;">
+ {{ partial "language.html" . }}
+ <hr style="width:50%;">
+ {{ partial "hobby.html" . }}
+ </div>
+
+ <div class="col-sm-8 text-white pt-3">
+ {{ partial "experience.html" . }}
+ {{ partial "project.html" . }}
+ {{ partial "skill.html" . }}
+ </div>
+ </div>
+ </div>
+
+ {{ partial "footer.html" . }}
+</body>
+
+</html> \ No newline at end of file
diff --git a/layouts/partials/education.html b/layouts/partials/education.html
new file mode 100644
index 0000000..2d83f5f
--- /dev/null
+++ b/layouts/partials/education.html
@@ -0,0 +1,14 @@
+<h3>{{ .Site.Params.education.title }}</h3>
+{{ range .Site.Params.education.list }}
+<dl>
+ <dt><i class="fas fa-graduation-cap"></i> {{ .degree }}</dt>
+ <dd class="mb-0 ml-3">{{ .college }}</dd>
+ <dd class="mb-0 ml-3">{{ .dates }}</dd>
+ {{ if .thesis_link }}
+ <dd class="mb-0 ml-4">
+ Thesis:
+ <a class="text-warning" href="{{ .thesis_link }}"><i>{{ .thesis_title }}</i></a>
+ </dd>
+ {{ end }}
+</dl>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/experience.html b/layouts/partials/experience.html
new file mode 100644
index 0000000..bc50fc4
--- /dev/null
+++ b/layouts/partials/experience.html
@@ -0,0 +1,10 @@
+<h3><i class="fas {{ .Site.Params.experiences.icon }}"></i> {{ .Site.Params.experiences.title }}</h3>
+
+{{ range .Site.Params.jobs.list }}
+<dl>
+ <dt>{{ .position }}</dt>
+ <dd class="mb-0 ml-3">{{ .dates | markdownify }}</dd>
+ <dd class="mb-0 ml-3">{{ if .link }}<a class="text-warning" href="{{ .link }}">{{ .company }}</a>{{ else }} {{ .company }} {{ end }}</dd>
+ <dd class="mb-0 ml-3">{{ .details | markdownify }}</dd>
+</dl>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..b90ddf5
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,5 @@
+<footer class="text-center m-4">
+ <a class="text-warning" href="{{ .Site.Params.copyright_link }}">
+ {{ .Site.Params.copyright | markdownify}}
+ </a> <span class="text-white">|</span> <a class="text-warning" href="https://github.com/darshanbaral/hugo_themes/tree/master/sada"><i>sada</i></a></span>
+</footer> \ No newline at end of file
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..77989c7
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,19 @@
+<head>
+ <title>{{ .Site.Params.title }}</title>
+
+ <meta charset="utf-8">
+ <meta content="width=device-width, initial-scale=1.0" name="viewport">
+ <meta name="description" content="{{ .Site.Params.description }}">
+ <meta name="author" content="{{ .Site.Params.author }}">
+ <link rel="shortcut icon" href="favicon.ico">
+
+ <link crossorigin="anonymous" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
+ integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" rel="stylesheet">
+
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
+ crossorigin="anonymous">
+
+ <link rel="stylesheet" href="https://cdn.rawgit.com/jpswalsh/academicons/master/css/academicons.min.css">
+
+ <link href="https://fonts.googleapis.com/css?family=Alegreya+Sans" rel="stylesheet">
+</head> \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..d7fc9e7
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,13 @@
+<div class="d-flex flex-column flex-sm-row mt-2">
+ <div class="mr-4">
+ <img class="rounded-circle pt-2 mb-2" src="{{ .Site.BaseURL }}/images/{{ .Site.Params.profile.photo }}" alt="{{ .Site.Params.author }}"
+ style="width: 150px;" />
+ {{ partial "social.html" . }}
+ </div>
+
+ <div>
+ <h1 class="text-white mb-1">{{ .Site.Params.profile.name }}</h1>
+ <h3 class="text-light">{{ .Site.Params.description }}</h3>
+ <p class="text-white">{{ .Site.Params.aboutme.description | markdownify }}</p>
+ </div>
+</div> \ No newline at end of file
diff --git a/layouts/partials/hobby.html b/layouts/partials/hobby.html
new file mode 100644
index 0000000..e2164f7
--- /dev/null
+++ b/layouts/partials/hobby.html
@@ -0,0 +1,6 @@
+<h3>{{ .Site.Params.hobbies.title }}</h3>
+<ul class="list-unstyled" style="text-indent: 1.25em;">
+ {{ range .Site.Params.hobbies.list }}
+ <li>{{ .interest }}</li>
+ {{ end }}
+</ul> \ No newline at end of file
diff --git a/layouts/partials/language.html b/layouts/partials/language.html
new file mode 100644
index 0000000..612426b
--- /dev/null
+++ b/layouts/partials/language.html
@@ -0,0 +1,6 @@
+<h3>{{ .Site.Params.language.title }}</h3>
+<ul class="list-unstyled" style="text-indent: 1.25em;">
+ {{ range .Site.Params.language.list }}
+ <li>{{ .language }} <span class="lang-desc">({{ .level }})</span></li>
+ {{ end }}
+</ul> \ No newline at end of file
diff --git a/layouts/partials/project.html b/layouts/partials/project.html
new file mode 100644
index 0000000..6270627
--- /dev/null
+++ b/layouts/partials/project.html
@@ -0,0 +1,6 @@
+<h3 class="mt-4"><i class="fas {{ .Site.Params.projects.icon }}"></i> {{ .Site.Params.projects.title }}</h3>
+{{ range .Site.Params.projects.list }}
+<ul class="list-unstyled">
+ <li><a class="text-warning" href="{{ .url }}">{{ .title }}</a> - {{ .description | markdownify }}</li>
+</ul>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/skill.html b/layouts/partials/skill.html
new file mode 100644
index 0000000..fb20a4b
--- /dev/null
+++ b/layouts/partials/skill.html
@@ -0,0 +1,8 @@
+<h3><i class="fas {{ .Site.Params.skills.icon }}"></i> {{ .Site.Params.skills.title }}</h3>
+{{ range .Site.Params.skills.list }}
+<div class="rounded w-100 bg-secondary mt-4">
+ <div class="card bg-success" style="width: {{ .skillrating }}%;">
+ <code class="text-white ml-2">{{ .skill }}</code>
+ </div>
+</div>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
new file mode 100644
index 0000000..2b57649
--- /dev/null
+++ b/layouts/partials/social.html
@@ -0,0 +1,9 @@
+<ul class="list-inline mb-1">
+ {{ range .Site.Params.social.list }}
+ <li class="list-inline-item ml-1 mr-1">
+ <a class="text-warning" href="{{ .url }}">
+ <i class="{{ .class }} {{ .icon }}" style="font-size:25px;"></i>
+ </a>
+ </li>
+ {{ end }}
+</ul> \ No newline at end of file
diff --git a/static/images/profile.jpg b/static/images/profile.jpg
new file mode 100644
index 0000000..42e6efc
--- /dev/null
+++ b/static/images/profile.jpg
Binary files differ
diff --git a/theme.toml b/theme.toml
new file mode 100644
index 0000000..c93fe4e
--- /dev/null
+++ b/theme.toml
@@ -0,0 +1,21 @@
+# theme.toml template for a Hugo theme
+# See https://github.com/gohugoio/hugoThemes#themetoml for an example
+
+name = "Sada"
+license = "MIT"
+licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
+description = "Simple theme for resume created using Bootstrap 4"
+homepage = "https://github.com/darshanbaral/hugo_themes/tree/master/sada"
+tags = ["portfolio", "resume", "simple", "onepage"]
+features = ["responsive"]
+min_version = "0.41"
+
+[author]
+ name = "Darshan Baral"
+ homepage = "darshanbaral.com"
+
+# If porting an existing theme
+[original]
+ name = ""
+ homepage = ""
+ repo = "" \ No newline at end of file