Add option to disable Github Corner, update resume.example.yaml
This commit is contained in:
parent
db2ca13c7b
commit
5a19ed18e7
|
@ -0,0 +1,86 @@
|
||||||
|
# Meta tag configuration
|
||||||
|
# All keys correspond to a meta tag name attribute, and value content attribute
|
||||||
|
# e.g. <meta name="robots" value="index, follow">
|
||||||
|
meta:
|
||||||
|
# Set the content for the robots meta tag (noindex to disable search engine indexing)
|
||||||
|
robots: "index, follow"
|
||||||
|
language: "en-EN"
|
||||||
|
author: "Donald Duck"
|
||||||
|
# theme-color: "#bd93f9"
|
||||||
|
title: ""
|
||||||
|
description: "Professional job applicant"
|
||||||
|
favicon: ""
|
||||||
|
github-corner: false
|
||||||
|
theme: "light"
|
||||||
|
profile:
|
||||||
|
name: "Donald Duck"
|
||||||
|
title: "Professional job applicant"
|
||||||
|
city: "City, Country"
|
||||||
|
phone: "+358 xx xxx xxxx"
|
||||||
|
email: "your@email.com"
|
||||||
|
photo: "url-to-photo"
|
||||||
|
summary: >-
|
||||||
|
Insert summary here. Multiple
|
||||||
|
lines can be used, but line breaks are determined
|
||||||
|
by the renderer
|
||||||
|
experience:
|
||||||
|
- company: Company 1
|
||||||
|
location: City, country
|
||||||
|
title: Professional employee
|
||||||
|
period: "03/2023 - "
|
||||||
|
description:
|
||||||
|
- Each item in this list
|
||||||
|
- Will be a new item
|
||||||
|
- In the CV
|
||||||
|
- company: Company 2
|
||||||
|
location: City, country
|
||||||
|
title: Professional employee
|
||||||
|
period: "03/2022 - 03/2023"
|
||||||
|
description:
|
||||||
|
- Each item in this list
|
||||||
|
- Will be a new item
|
||||||
|
- In the CV
|
||||||
|
- company: Company 3
|
||||||
|
location: City, country
|
||||||
|
title: Professional employee
|
||||||
|
period: "03/2021 - 03/2022"
|
||||||
|
description:
|
||||||
|
- Each item in this list
|
||||||
|
- Will be a new item
|
||||||
|
- In the CV
|
||||||
|
|
||||||
|
education:
|
||||||
|
- degree: B.S. in Job interviews
|
||||||
|
name: Job interviewee
|
||||||
|
faculty: School for Job applicants
|
||||||
|
city: City, Country
|
||||||
|
period: 1/1996 - 12/1996
|
||||||
|
- degree: Undergraduate of CV Authoring
|
||||||
|
name: Technical writer
|
||||||
|
faculty: School for Job applicants
|
||||||
|
city: City, Country
|
||||||
|
period: 1/1995 - 12/1995
|
||||||
|
|
||||||
|
skills:
|
||||||
|
- name: Skill 1
|
||||||
|
level: 1
|
||||||
|
- name: Skill 2
|
||||||
|
level: 2
|
||||||
|
- name: Skill 3
|
||||||
|
level: 3
|
||||||
|
- name: Skill 4
|
||||||
|
level: 4
|
||||||
|
- name: Skill 5
|
||||||
|
level: 5
|
||||||
|
languages:
|
||||||
|
- name: Language 1
|
||||||
|
level: 5
|
||||||
|
- name: Language 2
|
||||||
|
level: 4
|
||||||
|
- name: Language 1
|
||||||
|
level: 3
|
||||||
|
- name: Language 2
|
||||||
|
level: 2
|
||||||
|
|
||||||
|
## Not implemented yet
|
||||||
|
socials: []
|
|
@ -1,21 +0,0 @@
|
||||||
# Meta tag configuration
|
|
||||||
# All keys correspond to a meta tag name attribute, and value content attribute
|
|
||||||
# e.g. <meta name="robots" value="index, follow">
|
|
||||||
meta:
|
|
||||||
# Set the content for the robots meta tag (noindex to disable search engine indexing)
|
|
||||||
robots: "index, follow"
|
|
||||||
language: "en-EN"
|
|
||||||
author: "Job Applicant"
|
|
||||||
theme-color: "#bd93f9"
|
|
||||||
## Set the page title (shown in the browser tab). If empty, "Name - Title" from profile will be used
|
|
||||||
title:
|
|
||||||
description: "Professional employee"
|
|
||||||
theme: "dark"
|
|
||||||
profile:
|
|
||||||
name: "Job Applicant"
|
|
||||||
title: "Professional employee"
|
|
||||||
city: "Oulu, Finland"
|
|
||||||
phone: "+358 xx xxx xxxx"
|
|
||||||
email: "iwannajob@email.com"
|
|
||||||
photo: "https://url.to/profile/photo"
|
|
||||||
socials: []
|
|
13
resume.go
13
resume.go
|
@ -103,12 +103,13 @@ type Social struct {
|
||||||
type Socials []Social
|
type Socials []Social
|
||||||
|
|
||||||
type Meta struct {
|
type Meta struct {
|
||||||
Language string `yaml:"language"`
|
Language string `yaml:"language"`
|
||||||
Author string `yaml:"author"`
|
Author string `yaml:"author"`
|
||||||
Title string `yaml:"title"`
|
Title string `yaml:"title"`
|
||||||
Description string `yaml:"description"`
|
Description string `yaml:"description"`
|
||||||
Robots string `yaml:"robots"`
|
Robots string `yaml:"robots"`
|
||||||
ThemeColor string `yaml:"theme-color"`
|
ThemeColor string `yaml:"theme-color"`
|
||||||
|
GithubCorner bool `yaml:"github-corner"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Language struct {
|
type Language struct {
|
||||||
|
|
|
@ -24,7 +24,9 @@
|
||||||
|
|
||||||
<body id="body-app">
|
<body id="body-app">
|
||||||
|
|
||||||
|
{{ if .Meta.GithubCorner }}
|
||||||
{{ template "githubCorner" }}
|
{{ template "githubCorner" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<header class="line has-background-primary"></header>
|
<header class="line has-background-primary"></header>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue