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

github.com/xaviablaza/hugo-lodi-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Ablaza <xlablaza@gmail.com>2017-10-17 23:47:58 +0300
committerXavi Ablaza <xlablaza@gmail.com>2017-10-17 23:47:58 +0300
commit255c3ad05d00fdc09d07597b6c3603f91e106336 (patch)
treef42029a2d89be12dc9f9a623883534dfe909226a
parent925e844d1470b6fcb19abaa1e5f448066ebae37a (diff)
Wiring config variables for the <head>
-rw-r--r--exampleSite/config-empty.toml76
-rw-r--r--exampleSite/config.toml6
-rw-r--r--exampleSite/static/img/avatar.jpg (renamed from static/img/avatar.jpg)bin196877 -> 196877 bytes
-rw-r--r--exampleSite/static/img/favicon.png (renamed from static/img/favicon.png)bin15649 -> 15649 bytes
-rw-r--r--exampleSite/static/img/logo.png (renamed from static/img/logo.png)bin3766 -> 3766 bytes
-rw-r--r--exampleSite/static/img/portfolio.jpg (renamed from static/img/portfolio.jpg)bin122806 -> 122806 bytes
-rw-r--r--layouts/partials/head.html10
-rw-r--r--layouts/partials/head_casestudy.html6
8 files changed, 89 insertions, 9 deletions
diff --git a/exampleSite/config-empty.toml b/exampleSite/config-empty.toml
new file mode 100644
index 0000000..b302abf
--- /dev/null
+++ b/exampleSite/config-empty.toml
@@ -0,0 +1,76 @@
+baseURL = "localhost:1313"
+languageCode = "en-us"
+title = "My Portfolio Website"
+theme = "hugo-lodi-theme"
+
+[params]
+ # head theme color
+ theme_color =
+
+ # head description
+ # This is what appears on the preview when posting this site on Facebook for example
+ description = "Portfolio of Alexis Collado, UX Designer"
+
+ # head photo
+ # This is what appears on the preview when posting this site on Facebook for example
+ description_photo = "portfolio.jpg"
+
+ # favicon image (512x512px), place this in the static/img folder
+ favicon = "favicon.jpg"
+
+ # logo image (204x204px), place this in the static/img folder
+ # this appears on the top left of the navigation
+ logo = "logo.jpg"
+
+ # Email
+ email = ""
+
+ # Facebook username
+ facebook = ""
+
+ # Twitter username
+ twitter = ""
+
+ # Dribbble username
+ dribbble = ""
+
+ # LinkedIn URL
+ linkedin = ""
+
+ # Medium username
+ medium = ""
+
+[params.nav]
+ enable = true
+
+[params.hero]
+ enable = true
+
+ # Place this image in the static/img folder
+ avatar = "avatar.jpg"
+ subtitle = "Hi! I'm Alexis, a UX Designer and Evangelist from Manila."
+
+ # Each element in this array makes a new <p> tag
+ # You can write this text in markdown
+ hero_right = [
+ "**Currently doing consultancy work at UX Society. Previously doing UX and product at Agoda in Bangkok, Thailand as an international intern.**",
+ "I founded [User Experience Society](https://www.facebook.com/UXSoc/), the first student UX organization in the Philippines. For two years, we've had 20+ events with 30+ speakers for over 300 members and 500+ attendees. We've expanded to [California](https://www.facebook.com/profile.php?id=245708449193012) this year.",
+ "I do a bit of writing as well. [Here's an article with a total of 21,000+ views to InVision & Medium](http://blog.invisionapp.com/ux-internship-wisdom/) talking about 50 things I learned spending 3 years as a UX intern.",
+ "I help cultivate the design community in Manila too. I'm the youngest core member of [UX Philippines](https://www.facebook.com/groups/uxphilippines/) and I moderated a panel with some cool people for the [UXPH 2017 Conference](https://www.uxphilippines.com).",
+ "I'm finishing my Bachelor's degree in Management Information Systems at the Ateneo de Manila University, expecting to graduate in 2018."]
+
+ # Link to your resume, place your PDF in the /static folder
+ resume = "ResumeCollado.pdf"
+
+[params.process]
+ enable = true
+ title = "My Process"
+ subtitle = "Full Process Design"
+
+[params.case_studies]
+ enable = true
+ title = "Case Studies"
+ subtitle = "Selected Works"
+
+[params.footer]
+ enable = true
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index a14a108..96bae5c 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -4,7 +4,11 @@ title = "My Portfolio Website"
theme = "hugo-lodi-theme"
[params]
+ theme_color = "#574CDD"
description = "Portfolio of Alexis Collado, UX Designer"
+ description_photo = "portfolio.jpg"
+ favicon = "favicon.jpg"
+ logo = "logo.jpg"
email = "myemail@gmail.com"
facebook = "lex.collado"
twitter = "lexiscollado"
@@ -33,4 +37,4 @@ theme = "hugo-lodi-theme"
subtitle = "Selected Works"
[params.footer]
- enable = true \ No newline at end of file
+ enable = true
diff --git a/static/img/avatar.jpg b/exampleSite/static/img/avatar.jpg
index b97255d..b97255d 100644
--- a/static/img/avatar.jpg
+++ b/exampleSite/static/img/avatar.jpg
Binary files differ
diff --git a/static/img/favicon.png b/exampleSite/static/img/favicon.png
index 8581c3f..8581c3f 100644
--- a/static/img/favicon.png
+++ b/exampleSite/static/img/favicon.png
Binary files differ
diff --git a/static/img/logo.png b/exampleSite/static/img/logo.png
index 7e538c9..7e538c9 100644
--- a/static/img/logo.png
+++ b/exampleSite/static/img/logo.png
Binary files differ
diff --git a/static/img/portfolio.jpg b/exampleSite/static/img/portfolio.jpg
index b551ea2..b551ea2 100644
--- a/static/img/portfolio.jpg
+++ b/exampleSite/static/img/portfolio.jpg
Binary files differ
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index cdb1a00..05c682d 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -2,7 +2,7 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{ .Site.Title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="theme-color" content="#574CDD">
+<meta name="theme-color" content="{{ .Site.Params.theme_color }}">
<!-- desc -->
<meta name="description" content="{{ .Site.Params.Description }}">
@@ -10,11 +10,11 @@
<meta name="twitter:description" content="{{ .Site.Params.Description }}">
<!-- image -->
-<meta property="og:image" content="{{ .Site.BaseURL }}img/portfolio.jpg">
-<meta name="twitter:image" content="{{ .Site.BaseURL }}img/portfolio.jpg">
+<meta property="og:image" content="{{ .Site.BaseURL }}img/{{ .Site.Params.description_photo }}">
+<meta name="twitter:image" content="{{ .Site.BaseURL }}img/{{ .Site.Params.description_photo }}">
-<link rel="icon" href="{{ .Site.BaseURL }}img/favicon.png" type="image/x-icon">
-<link rel="shortcut icon" href="{{ .Site.BaseURL }}img/favicon.png" type="image/x-icon">
+<link rel="icon" href="{{ .Site.BaseURL }}img/{{ .Site.Params.Favicon }}" type="image/x-icon">
+<link rel="shortcut icon" href="{{ .Site.BaseURL }}img/{{ .Site.Params.Favicon }}" type="image/x-icon">
<link rel="stylesheet" href="css/css.css" >
<link rel="stylesheet" href="css/final.css">
diff --git a/layouts/partials/head_casestudy.html b/layouts/partials/head_casestudy.html
index 3238fd3..51b5c2f 100644
--- a/layouts/partials/head_casestudy.html
+++ b/layouts/partials/head_casestudy.html
@@ -3,7 +3,7 @@
<title>{{ .Params.Title }}</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="theme-color" content="#574CDD">
+<meta name="theme-color" content="{{ .Site.Params.theme_color }}">
<!-- desc -->
<meta name="description" content="{{ .Description }}">
@@ -14,8 +14,8 @@
<meta property="og:image" content="{{ .Params.Thumbnail }}">
<meta name="twitter:image" content="{{ .Params.Thumbnail }}">
-<link rel="icon" href="{{ .Site.BaseURL }}img/favicon.png" type="image/x-icon">
-<link rel="shortcut icon" href="{{ .Site.BaseURL }}img/favicon.png" type="image/x-icon">
+<link rel="icon" href="{{ .Site.BaseURL }}img/{{ .Site.Params.Favicon }}" type="image/x-icon">
+<link rel="shortcut icon" href="{{ .Site.BaseURL }}img/{{ .Site.Params.Favicon }}" type="image/x-icon">
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/css.css" >
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/final.css">