diff options
author | Jerry Kiely <jerry@cowboysmall.com> | 2019-11-03 21:18:08 +0300 |
---|---|---|
committer | Jerry Kiely <jerry@cowboysmall.com> | 2019-11-03 21:18:08 +0300 |
commit | 55b267598977ff5535c1431cac8520ce6bac1822 (patch) | |
tree | 8094805d84c698a78672e540d83b0d4239556e34 /layouts | |
parent | 27a26ff6bbcdce61834c5c1afd5febbadb559e94 (diff) |
initial import
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/404.html | 0 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 11 | ||||
-rw-r--r-- | layouts/_default/list.html | 0 | ||||
-rw-r--r-- | layouts/_default/single.html | 0 | ||||
-rw-r--r-- | layouts/index.html | 73 | ||||
-rw-r--r-- | layouts/partials/awards.html | 14 | ||||
-rw-r--r-- | layouts/partials/contact.html | 8 | ||||
-rw-r--r-- | layouts/partials/education.html | 15 | ||||
-rw-r--r-- | layouts/partials/experience.html | 22 | ||||
-rw-r--r-- | layouts/partials/footer.html | 13 | ||||
-rw-r--r-- | layouts/partials/head.html | 15 | ||||
-rw-r--r-- | layouts/partials/header.html | 15 | ||||
-rw-r--r-- | layouts/partials/information.html | 21 | ||||
-rw-r--r-- | layouts/partials/interests.html | 11 | ||||
-rw-r--r-- | layouts/partials/lang.html | 3 | ||||
-rw-r--r-- | layouts/partials/languages.html | 11 | ||||
-rw-r--r-- | layouts/partials/profile.html | 4 | ||||
-rw-r--r-- | layouts/partials/projects.html | 19 | ||||
-rw-r--r-- | layouts/partials/scripts.html | 4 | ||||
-rw-r--r-- | layouts/partials/sidebar.html | 24 | ||||
-rw-r--r-- | layouts/partials/skills.html | 16 | ||||
-rw-r--r-- | layouts/partials/social.html | 14 | ||||
-rw-r--r-- | layouts/partials/summary.html | 13 |
23 files changed, 326 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/404.html 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/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/_default/list.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/_default/single.html diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..a7707bc --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,73 @@ +<!DOCTYPE html> + +{{ partial "lang.html" . }} + +<head> + + {{ partial "head.html" . }} + +</head> + +<body> + + <div class="main-wrapper"> + + <div class="container px-3 px-lg-5"> + + <article class="resume-wrapper mx-auto theme-bg-light p-5 mb-5 my-5 shadow-lg"> + + {{ partial "header.html" . }} + + <hr> + + {{ if .Site.Params.summary.enable }} + {{ partial "summary.html" . }} + {{ end }} + + <hr> + + <div class="resume-body"> + + <div class="row"> + + <div class="resume-main col-12 col-lg-8 col-xl-9 pr-0 pr-lg-5"> + + {{ if .Site.Params.experience.enable }} + {{ partial "experience.html" . }} + {{ end }} + + {{ if .Site.Params.projects.enable }} + {{ partial "projects.html" . }} + {{ end }} + + {{ if .Site.Params.information.enable }} + {{ partial "information.html" . }} + {{ end }} + + </div><!--//resume-main--> + + {{ partial "sidebar.html" . }} + + </div><!--//row--> + + </div><!--//resume-body--> + + <hr> + + {{ if .Site.Params.social.enable }} + {{ partial "social.html" . }} + {{ end }} + + </article> + + </div><!--//container--> + + {{ partial "footer.html" . }} + + </div><!--//main-wrapper--> + + {{ partial "scripts.html" . }} + +</body> + +</html> diff --git a/layouts/partials/awards.html b/layouts/partials/awards.html new file mode 100644 index 0000000..4c75ebd --- /dev/null +++ b/layouts/partials/awards.html @@ -0,0 +1,14 @@ + <section class="education-section py-3"> + + <h3 class="text-uppercase resume-section-heading mb-4">{{ i18n "awards" }}</h3> + + <ul class="list-unstyled resume-awards-list"> + {{ range .Site.Params.awards.list }} + <li class="mb-3"> + <div class="font-weight-bold">{{ .name }}</div> + <div class="text-muted">{{ .body }}</div> + </li> + {{ end }} + </ul> + + </section><!--//education-section--> diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html new file mode 100644 index 0000000..30147b6 --- /dev/null +++ b/layouts/partials/contact.html @@ -0,0 +1,8 @@ + <div class="resume-contact col-12 col-md-6 col-lg-4 col-xl-3"> + <ul class="list-unstyled mb-0"> + {{ range .Site.Params.contact.list }} + <li class="mb-2"><i class="{{ .style }} {{ .icon }} fa-fw fa-lg mr-2 "></i><a class="resume-link" href="{{ .url }}">{{ .text }}</a></li> + {{ end }} + <li class="mb-0"><i class="fas fa-map-marker-alt fa-fw fa-lg mr-2"></i>{{ .Site.Params.contact.location }}</li> + </ul> + </div><!--//resume-contact--> diff --git a/layouts/partials/education.html b/layouts/partials/education.html new file mode 100644 index 0000000..5cc0785 --- /dev/null +++ b/layouts/partials/education.html @@ -0,0 +1,15 @@ + <section class="education-section py-3"> + + <h3 class="text-uppercase resume-section-heading mb-4">{{ i18n "education" }}</h3> + + <ul class="list-unstyled resume-education-list"> + {{ range .Site.Params.education.list }} + <li class="mb-3"> + <div class="resume-degree font-weight-bold">{{ .degree }}</div> + <div class="resume-degree-org text-muted">{{ .university }}</div> + <div class="resume-degree-time text-muted">{{ .date }}</div> + </li> + {{ end }} + </ul> + + </section><!--//education-section--> diff --git a/layouts/partials/experience.html b/layouts/partials/experience.html new file mode 100644 index 0000000..d930f7c --- /dev/null +++ b/layouts/partials/experience.html @@ -0,0 +1,22 @@ + <section class="work-section py-3"> + + <h3 class="text-uppercase resume-section-heading mb-4">{{ i18n "experiences" }}</h3> + + {{ range .Site.Params.experience.list }} + <div class="item mb-3"> + <div class="item-heading row align-items-center mb-2"> + <h4 class="item-title col-12 col-md-6 col-lg-6 mb-2 mb-md-0">{{ .title }}</h4> + <div class="item-meta col-12 col-md-6 col-lg-6 text-muted text-left text-md-right">{{ .company }} | {{ .dates }}</div> + </div> + <div class="item-content"> + <p>{{ with .details }}{{ . | markdownify }}{{ end }}</p> + <ul class="resume-list"> + {{ range .items }} + <li><span class="resume-degree font-weight-bold">{{ .heading }}</span> {{ with .details }}{{ . | markdownify }}{{ end }}</li> + {{ end }} + </ul> + </div> + </div><!--//item--> + {{ end }} + + </section><!--//work-section--> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..f99b1ec --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,13 @@ + <footer class="footer text-center py-4"> + + <!--/* + This template is released under the Creative Commons Attribution 3.0 License. + Please keep the attribution link below when using for your own project. + Thank you for your support. :) + If you'd like to use the template without the attribution, you can buy the commercial license via our website: themes.3rdwavemedia.com + */--> + + <small class="copyright text-muted">Designed with <i class="fas fa-heart"></i> by <a class="theme-link" href="http://themes.3rdwavemedia.com" target="_blank">Xiaoying Riley</a> for developers</small> + <br> + <small class="copyright">{{ now.Year }} © {{ with .Site.Params.footer.copyright }}{{ . | markdownify }}{{ else }}Ported to Hugo by <a href="https://github.com/cowboysmall" target="_blank">CowboySmall</a>{{ end }}</small> + </footer> diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..6ea43c0 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,15 @@ + <title>{{ .Site.Title }}</title> + + <!-- Meta --> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="description" content="{{ .Site.Params.description }}"> + <meta name="author" content="{{ .Site.Params.author }}"> + + <link rel="shortcut icon" href="favicon.ico"> + + <!-- Google Fonts --> + <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900"> + <!-- Theme CSS --> + <link rel="stylesheet" href="{{ .Site.BaseURL }}assets/css/devresume.css" id="theme-style"> diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..323fe5d --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,15 @@ + <div class="resume-header"> + + <div class="row align-items-center"> + + {{ if .Site.Params.profile.enable }} + {{ partial "profile.html" . }} + {{ end }} + + {{ if .Site.Params.contact.enable }} + {{ partial "contact.html" . }} + {{ end }} + + </div><!--//row--> + + </div><!--//resume-header--> diff --git a/layouts/partials/information.html b/layouts/partials/information.html new file mode 100644 index 0000000..87c6652 --- /dev/null +++ b/layouts/partials/information.html @@ -0,0 +1,21 @@ + <section class="project-section py-3"> + + <h3 class="text-uppercase resume-section-heading mb-4">{{ i18n "information" }}</h3> + + {{ range .Site.Params.information.list }} + <div class="item mb-3"> + <div class="item-heading row align-items-center mb-2"> + <h4 class="item-title col-12 col-md-12 col-lg-12 mb-2 mb-md-0">{{ .title }}</h4> + </div> + <div class="item-content"> + <p>{{ with .details }}{{ . | markdownify }}{{ end }}</p> + <ul class="list-unstyled resume-skills-list"> + {{ range .items }} + <li class="mb-2">{{ with .details }}{{ . | markdownify }}{{ end }}</li> + {{ end }} + </ul> + </div> + </div><!--//item--> + {{ end }} + + </section><!--//project-section--> diff --git a/layouts/partials/interests.html b/layouts/partials/interests.html new file mode 100644 index 0000000..04905e4 --- /dev/null +++ b/layouts/partials/interests.html @@ -0,0 +1,11 @@ + <section class="skills-section py-3"> + + <h3 class="text-uppercase resume-section-heading mb-4">{{ i18n "interests" }}</h3> + + <ul class="list-unstyled resume-interests-list mb-0"> + {{ range .Site.Params.interests.list }} + <li class="mb-2">{{ .name }}</li> + {{ end }} + </ul> + + </section><!--//certificates-section--> diff --git a/layouts/partials/lang.html b/layouts/partials/lang.html new file mode 100644 index 0000000..29ec3d0 --- /dev/null +++ b/layouts/partials/lang.html @@ -0,0 +1,3 @@ +<!--[if IE 8]> <html lang="{{ .Site.LanguageCode }}" class="ie8"> <![endif]--> +<!--[if IE 9]> <html lang="{{ .Site.LanguageCode }}" class="ie9"> <![endif]--> +<!--[if !IE]><!--> <html lang="{{ .Site.LanguageCode }}"> <!--<![endif]--> diff --git a/layouts/partials/languages.html b/layouts/partials/languages.html new file mode 100644 index 0000000..5d1bcba --- /dev/null +++ b/layouts/partials/languages.html @@ -0,0 +1,11 @@ + <section class="skills-section py-3"> + + <h3 class="text-uppercase resume-section-heading mb-4">{{ i18n "languages" }}</h3> + + <ul class="list-unstyled resume-lang-list"> + {{ range .Site.Params.languages.list }} + <li class="mb-2">{{ .name }} <span class="text-muted">({{ .level }})</span></li> + {{ end }} + </ul> + + </section><!--//certificates-section--> diff --git a/layouts/partials/profile.html b/layouts/partials/profile.html new file mode 100644 index 0000000..5a2068f --- /dev/null +++ b/layouts/partials/profile.html @@ -0,0 +1,4 @@ + <div class="resume-title col-12 col-md-6 col-lg-8 col-xl-9"> + <h2 class="resume-name mb-0 text-uppercase">{{ .Site.Params.profile.name }}</h2> + <div class="resume-tagline mb-3 mb-md-0">{{ .Site.Params.profile.tagline }}</div> + </div><!--//resume-title--> diff --git a/layouts/partials/projects.html b/layouts/partials/projects.html new file mode 100644 index 0000000..56d5aaa --- /dev/null +++ b/layouts/partials/projects.html @@ -0,0 +1,19 @@ + <section class="project-section py-3"> + + <h3 class="text-uppercase resume-section-heading mb-4">{{ i18n "projects" }}</h3> + + {{ range .Site.Params.projects.list }} + <div class="item mb-3"> + <div class="item-heading row align-items-center mb-2"> + <h4 class="item-title col-12 col-md-6 col-lg-8 mb-2 mb-md-0"> + <a class="resume-link" href="{{ .url }}">{{ .title }}</a> + </h4> + <div class="item-meta col-12 col-md-6 col-lg-4 text-muted text-left text-md-right">{{ .meta }}</div> + </div> + <div class="item-content"> + <p>{{ .tagline }}</p> + </div> + </div><!--//item--> + {{ end }} + + </section><!--//project-section--> diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html new file mode 100644 index 0000000..ea35661 --- /dev/null +++ b/layouts/partials/scripts.html @@ -0,0 +1,4 @@ + <!-- FontAwesome JS--> + <script defer src="https://use.fontawesome.com/releases/v5.8.1/js/all.js" integrity="sha384-g5uSoOSBd7KkhAMlnQILrecXvzst9TdC09/VM+pjDTCM+1il8RHz5fKANTFFb+gQ" crossorigin="anonymous"></script> + + {{ template "_internal/google_analytics_async.html" . }} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html new file mode 100644 index 0000000..31901a7 --- /dev/null +++ b/layouts/partials/sidebar.html @@ -0,0 +1,24 @@ + <aside class="resume-aside col-12 col-lg-4 col-xl-3 px-lg-4 pb-lg-4"> + + + {{ if .Site.Params.skills.enable }} + {{ partial "skills.html" . }} + {{ end }} + + {{ if .Site.Params.education.enable }} + {{ partial "education.html" . }} + {{ end }} + + {{ if .Site.Params.awards.enable }} + {{ partial "awards.html" . }} + {{ end }} + + {{ if .Site.Params.languages.enable }} + {{ partial "languages.html" . }} + {{ end }} + + {{ if .Site.Params.interests.enable }} + {{ partial "interests.html" . }} + {{ end }} + + </aside><!--//resume-aside--> diff --git a/layouts/partials/skills.html b/layouts/partials/skills.html new file mode 100644 index 0000000..a500af9 --- /dev/null +++ b/layouts/partials/skills.html @@ -0,0 +1,16 @@ + <section class="skills-section py-3"> + + <h3 class="text-uppercase resume-section-heading mb-4">{{ i18n "skills" }}</h3> + + {{ range .Site.Params.skills.list }} + <div class="item"> + <h4 class="item-title">{{ .title }}</h4> + <ul class="list-unstyled resume-skills-list"> + {{ range .items }} + <li class="mb-2">{{ with .details }}{{ . | markdownify }}{{ end }}</li> + {{ end }} + </ul> + </div><!--//item--> + {{ end }} + + </section><!--//skills-section--> diff --git a/layouts/partials/social.html b/layouts/partials/social.html new file mode 100644 index 0000000..ccb4e30 --- /dev/null +++ b/layouts/partials/social.html @@ -0,0 +1,14 @@ + <div class="resume-footer text-center"> + + <ul class="resume-social-list list-inline mx-auto mb-0 d-inline-block text-muted"> + {{ range .Site.Params.social.list }} + <li class="list-inline-item mb-lg-0 mr-3"> + <a class="resume-link" href="{{ .url }}"> + <i class="{{ .style }} {{ .icon }} fa-2x mr-2" data-fa-transform="down-4"></i> + <span class="d-none d-lg-inline-block text-muted">{{ .title }}</span> + </a> + </li> + {{ end }} + </ul> + + </div><!--//resume-footer--> diff --git a/layouts/partials/summary.html b/layouts/partials/summary.html new file mode 100644 index 0000000..c2412ba --- /dev/null +++ b/layouts/partials/summary.html @@ -0,0 +1,13 @@ + <div class="resume-intro py-3"> + + <div class="media flex-column flex-md-row align-items-center"> + + <img class="resume-profile-image mb-3 mb-md-0 mr-md-5 ml-md-0 rounded mx-auto" src="{{ .Site.BaseURL }}assets/images/resume-profile.png" alt="image"> + + <div class="media-body text-left"> + <p class="mb-0">{{ .Site.Params.summary.text }}</p> + </div><!--//media-body--> + + </div> + + </div><!--//resume-intro--> |