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>2018-12-19 03:42:35 +0300
committerGitHub <noreply@github.com>2018-12-19 03:42:35 +0300
commit715e3f29143864319c5374e4aceb356b74892100 (patch)
treeca333f24de8ca73eb8f82d063210bf00f406622f
parent3d16714040dc50a55320b643efa64362af08ff63 (diff)
parent76ec432baee0a5f933c97fc76b5f7029a6aa7059 (diff)
Merge pull request #7 from xaviablaza/github-icon
Add GitHub icon
-rw-r--r--exampleSite/config-empty.toml7
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/footer.html12
-rw-r--r--layouts/partials/hero.html12
4 files changed, 30 insertions, 2 deletions
diff --git a/exampleSite/config-empty.toml b/exampleSite/config-empty.toml
index cdaa97d..2c0aa03 100644
--- a/exampleSite/config-empty.toml
+++ b/exampleSite/config-empty.toml
@@ -37,16 +37,19 @@ theme = "hugo-lodi-theme"
# LinkedIn URL
# linkedin = ""
-
+
# Medium username
# medium = "asdf"
+ # Github username
+ # github = ""
+
[params.nav]
enable = true
[params.hero]
enable = true
-
+
# Place this image in the static/img folder
avatar = "avatar.jpg"
subtitle = "Hi! I'm Juan, a front-end developer from Manila."
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 517efbb..1036f1a 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -16,6 +16,7 @@ googleAnalytics = "UA-XXXXXXXX-Y"
dribbble = "alexiscollado"
linkedin = "https://www.linkedin.com/in/alexander-hans-collado-jr-9444146a"
medium = "ahvccollado"
+ github = "github"
[params.nav]
enable = true
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e980a67..3359427 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -100,6 +100,18 @@
<img src="img/medium.png" style="width: 16px;" alt="">
</a>
{{ end }}
+ {{ if isset .Site.Params "github" }}
+ <a href="https://github.com/{{ .Site.Params.Github }}" target="blank">
+ <svg width="17px" height="17px" viewBox="0 0 17 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>social-16px_logo-github</title>
+ <g id="Portfolio" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+ <g id="GitHub-Mark" transform="translate(-136.000000, -55.000000)" fill="#505050">
+ <path d="M144.319263,55.455 C139.902185,55.455 136.32,59.0366937 136.32,63.4552456 C136.32,66.9897924 138.612029,69.9880428 141.791009,71.0459021 C142.191267,71.1195692 142.337128,70.8725389 142.337128,70.6603777 C142.337128,70.4708077 142.330252,69.967416 142.326323,69.2999922 C140.101086,69.7832483 139.631581,68.2273994 139.631581,68.2273994 C139.267666,67.303123 138.743156,67.057075 138.743156,67.057075 C138.016799,66.5610499 138.798161,66.5708722 138.798161,66.5708722 C139.601132,66.6273503 140.02349,67.3954524 140.02349,67.3954524 C140.737078,68.617835 141.896107,68.2647241 142.351861,68.0599296 C142.424546,67.5432777 142.631305,67.1906579 142.859673,66.9907746 C141.083314,66.7889268 139.215608,66.1023495 139.215608,63.0368165 C139.215608,62.163616 139.527465,61.4490452 140.039206,60.8901576 C139.956698,60.6878187 139.682166,59.8740429 140.117784,58.7729656 C140.117784,58.7729656 140.789137,58.5578577 142.317483,59.5931258 C142.95544,59.4153426 143.640053,59.326942 144.320246,59.3235043 C144.999947,59.326942 145.684069,59.4153426 146.323008,59.5931258 C147.850372,58.5578577 148.520743,58.7729656 148.520743,58.7729656 C148.957343,59.8740429 148.68281,60.6878187 148.600794,60.8901576 C149.113517,61.4490452 149.422919,62.163616 149.422919,63.0368165 C149.422919,66.1102073 147.552266,66.7864712 145.770505,66.9843901 C146.057315,67.2314204 146.313186,67.7195876 146.313186,68.4660808 C146.313186,69.5352357 146.303364,70.3981229 146.303364,70.6603777 C146.303364,70.8745034 146.447751,71.1234981 146.853411,71.045411 C150.029936,69.9850961 152.32,66.9888101 152.32,63.4552456 C152.32,59.0366937 148.737815,55.455 144.319263,55.455" id="Fill-4"></path>
+ </g>
+ </g>
+ </svg>
+ </a>
+ {{ end }}
</div>
<a href="#" style="color: #574cdd; text-decoration: underline;" data-scroll-goto="0">Back to top</a>
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html
index b04b187..6cb044c 100644
--- a/layouts/partials/hero.html
+++ b/layouts/partials/hero.html
@@ -105,6 +105,18 @@
<img src="{{ .Site.BaseURL }}img/medium.png" style="width: 16px;" alt="">
</a>
{{ end }}
+ {{ if isset .Site.Params "github" }}
+ <a href="https://github.com/{{ .Site.Params.Github }}" target="blank">
+ <svg width="17px" height="17px" viewBox="0 0 17 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>social-16px_logo-github</title>
+ <g id="Portfolio" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+ <g id="GitHub-Mark" transform="translate(-136.000000, -55.000000)" fill="#505050">
+ <path d="M144.319263,55.455 C139.902185,55.455 136.32,59.0366937 136.32,63.4552456 C136.32,66.9897924 138.612029,69.9880428 141.791009,71.0459021 C142.191267,71.1195692 142.337128,70.8725389 142.337128,70.6603777 C142.337128,70.4708077 142.330252,69.967416 142.326323,69.2999922 C140.101086,69.7832483 139.631581,68.2273994 139.631581,68.2273994 C139.267666,67.303123 138.743156,67.057075 138.743156,67.057075 C138.016799,66.5610499 138.798161,66.5708722 138.798161,66.5708722 C139.601132,66.6273503 140.02349,67.3954524 140.02349,67.3954524 C140.737078,68.617835 141.896107,68.2647241 142.351861,68.0599296 C142.424546,67.5432777 142.631305,67.1906579 142.859673,66.9907746 C141.083314,66.7889268 139.215608,66.1023495 139.215608,63.0368165 C139.215608,62.163616 139.527465,61.4490452 140.039206,60.8901576 C139.956698,60.6878187 139.682166,59.8740429 140.117784,58.7729656 C140.117784,58.7729656 140.789137,58.5578577 142.317483,59.5931258 C142.95544,59.4153426 143.640053,59.326942 144.320246,59.3235043 C144.999947,59.326942 145.684069,59.4153426 146.323008,59.5931258 C147.850372,58.5578577 148.520743,58.7729656 148.520743,58.7729656 C148.957343,59.8740429 148.68281,60.6878187 148.600794,60.8901576 C149.113517,61.4490452 149.422919,62.163616 149.422919,63.0368165 C149.422919,66.1102073 147.552266,66.7864712 145.770505,66.9843901 C146.057315,67.2314204 146.313186,67.7195876 146.313186,68.4660808 C146.313186,69.5352357 146.303364,70.3981229 146.303364,70.6603777 C146.303364,70.8745034 146.447751,71.1234981 146.853411,71.045411 C150.029936,69.9850961 152.32,66.9888101 152.32,63.4552456 C152.32,59.0366937 148.737815,55.455 144.319263,55.455" id="Fill-4"></path>
+ </g>
+ </g>
+ </svg>
+ </a>
+ {{ end }}
</div>
{{ if isset .Site.Params.Hero "resume" }}
<a href="{{ .Site.BaseURL }}{{ .Site.Params.Hero.Resume }}" target="blank" class="download-resume" onclick="ga('send', {hitType: 'event',eventCategory: 'CTA',eventAction: 'download'});">