Add option to disable Github Corner, update resume.example.yaml

This commit is contained in:
Jarno Rankinen 2024-02-10 10:56:04 +02:00
parent db2ca13c7b
commit 5a19ed18e7
4 changed files with 95 additions and 27 deletions

86
data/resume.example.yaml Normal file
View File

@ -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: []

View File

@ -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: []

View File

@ -109,6 +109,7 @@ type Meta struct {
Description string `yaml:"description"`
Robots string `yaml:"robots"`
ThemeColor string `yaml:"theme-color"`
GithubCorner bool `yaml:"github-corner"`
}
type Language struct {

View File

@ -24,7 +24,9 @@
<body id="body-app">
{{ if .Meta.GithubCorner }}
{{ template "githubCorner" }}
{{ end }}
<header class="line has-background-primary"></header>