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

github.com/samrobbins85/hugo-developer-portfolio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Robbins <samrobbinsgb@gmail.com>2020-07-10 17:43:29 +0300
committerSam Robbins <samrobbinsgb@gmail.com>2020-07-10 17:43:29 +0300
commit4efe43c64c45c80f16c5b548295c7793db2b5e58 (patch)
tree2be20f570fa4dfb2a8f959988c3e60506fb26d9d
parentd143899d69c2528f92a0a14347832a6b66fddfa4 (diff)
Update from feedback
-rw-r--r--exampleSite/data/homepage.yml56
-rw-r--r--layouts/partials/header.html6
-rw-r--r--layouts/portfolio/list.html9
-rw-r--r--static/.htaccess16
4 files changed, 38 insertions, 49 deletions
diff --git a/exampleSite/data/homepage.yml b/exampleSite/data/homepage.yml
index 4a375d4..e81eb3a 100644
--- a/exampleSite/data/homepage.yml
+++ b/exampleSite/data/homepage.yml
@@ -2,12 +2,12 @@
banner:
title: Hi! I’m Sam
social:
- twitter: ''
+ twitter: ""
linkedin: sam-robbins-gb
github: samrobbins85
- gitlab: ''
- facebook: ''
- instagram: ''
+ gitlab: ""
+ facebook: ""
+ instagram: ""
gmail: samrobbinsgb
about:
enable: true
@@ -18,40 +18,44 @@ about:
skill:
enable: true
item:
- - title: JavaScript
- logo: https://res.cloudinary.com/samrobbins/image/upload/v1591793272/logos/logos_javascript_adj1dx.svg
- description: Details coming soon, contact me if you want to know more
+ - title: JavaScript
+ logo: https://res.cloudinary.com/samrobbins/image/upload/v1591793272/logos/logos_javascript_adj1dx.svg
+ description: Details coming soon, contact me if you want to know more
experience:
enable: true
item:
- - logo: https://res.cloudinary.com/samrobbins/image/upload/f_auto,q_auto/v1591793271/logos/logos_google_id6v9a.svg
- title: init.g
- company: Google
- duration: November 2019
+ - logo: https://res.cloudinary.com/samrobbins/image/upload/f_auto,q_auto/v1591793271/logos/logos_google_id6v9a.svg
+ title: init.g
+ company: Google
+ duration: November 2019
hackathons:
enable: true
item:
- - title: Hack Cambridge 2019
- description: Climate change simulator
- image: https://res.cloudinary.com/samrobbins/image/upload/f_auto,q_auto/v1591793405/stickers/Hack_Cambridge_101_ozoq5d.png
- url: none
+ - title: Hack Cambridge 2019
+ description: Climate change simulator
+ image: https://res.cloudinary.com/samrobbins/image/upload/f_auto,q_auto/v1591793405/stickers/Hack_Cambridge_101_ozoq5d.png
+ url: none
certifications:
enable: true
item:
- - title: Microsoft Azure Fundamentals
- image: https://res.cloudinary.com/samrobbins/image/upload/v1592501459/microsoft-certified-fundamentals-badge_cpcgyn.svg
- url: https://www.youracclaim.com/badges/b4cf7a86-eb83-478e-bfd0-9f427c3474a0/public_url
+ - title: Microsoft Azure Fundamentals
+ image: https://res.cloudinary.com/samrobbins/image/upload/v1592501459/microsoft-certified-fundamentals-badge_cpcgyn.svg
+ url: https://www.youracclaim.com/badges/b4cf7a86-eb83-478e-bfd0-9f427c3474a0/public_url
education:
enable: true
item:
- - title: BSc Computer Science
- year: 2018 - Present
- academy: Durham University
- image: https://res.cloudinary.com/samrobbins/image/upload/f_auto,q_auto/v1591793268/logos/logos_Durham_fc2sae.svg
+ - title: BSc Computer Science
+ year: 2018 - Present
+ academy: Durham University
+ image: https://res.cloudinary.com/samrobbins/image/upload/f_auto,q_auto/v1591793268/logos/logos_Durham_fc2sae.svg
leadership:
enable: true
item:
- - logo: https://res.cloudinary.com/samrobbins/image/upload/f_auto,q_auto/v1591793280/logos/logos_yl_qozav6.webp
- title: Young Leader
- company: The Scout Association
- duration: September 2014 - July 2018
+ - logo: https://res.cloudinary.com/samrobbins/image/upload/f_auto,q_auto/v1591793280/logos/logos_yl_qozav6.webp
+ title: Young Leader
+ company: The Scout Association
+ duration: September 2014 - July 2018
+portfolio:
+ filter:
+ - label: Web Dev
+ value: web-dev
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 2cf891d..2676bb6 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -4,7 +4,7 @@
<ul class="uk-navbar-nav uk-visible@s">
{{if .IsHome}}
<li class="uk-active "><a style="font-size: 18px; text-transform: none"
- href="/">{{ with .Site.Params.Home }} {{ . }} {{ end }}</a></li>
+ href="{{.Site.BaseURL}}">{{ with .Site.Params.Home }} {{ . }} {{ end }}</a></li>
{{else}}
<li><a style="font-size: 18px; text-transform: none" href="/">{{ with .Site.Params.Home }} {{ . }}
{{ end }}</a></li>
@@ -37,10 +37,10 @@
<ul class="uk-nav uk-nav-primary uk-nav-center uk-margin-auto-vertical">
{{if .IsHome}}
- <li class="uk-active"><a style="font-size: 18px" href="/">{{ with .Site.Params.Home }} {{ . }} {{ end }}</a>
+ <li class="uk-active"><a style="font-size: 18px" href="{{.Site.BaseURL}}">{{ with .Site.Params.Home }} {{ . }} {{ end }}</a>
</li>
{{else}}
- <li><a style="font-size: 18px" href="/">{{ with .Site.Params.Home }} {{ . }} {{ end }}</a></li>
+ <li><a style="font-size: 18px" href="{{.Site.BaseURL}}">{{ with .Site.Params.Home }} {{ . }} {{ end }}</a></li>
{{end}}
{{ range .Site.Menus.main }}
diff --git a/layouts/portfolio/list.html b/layouts/portfolio/list.html
index 20a4f59..8cb2f71 100644
--- a/layouts/portfolio/list.html
+++ b/layouts/portfolio/list.html
@@ -10,10 +10,11 @@
<ul class="uk-subnav uk-subnav-pill uk-subnav-divider">
<li uk-filter-control><a href="#">All</a> </li>
- <li uk-filter-control="[data-tags*='coursework']"><a href="#">Coursework</a></li>
- <li uk-filter-control="[data-tags*='hackathon']"><a href="#">Hackathons</a></li>
- <li uk-filter-control="[data-tags*='python']"><a href="#">Python</a></li>
- <li uk-filter-control="[data-tags*='web-dev']"><a href="#">Web Dev</a></li>
+ {{ range .Site.Data.homepage.portfolio.filter }}
+
+ <li uk-filter-control="[data-tags*='{{.value}}']"><a href="#">{{.label}}</a></li>
+
+ {{end}}
</ul>
<ul class="js-filter uk-child-width-1-1 uk-child-width-1-4@m uk-text-center" uk-grid uk-height-match="target: > li > div > .fixy">
diff --git a/static/.htaccess b/static/.htaccess
deleted file mode 100644
index 58eeb9f..0000000
--- a/static/.htaccess
+++ /dev/null
@@ -1,16 +0,0 @@
-<IfModule mod_deflate.c>
-AddOutputFilterByType DEFLATE text/plain
-AddOutputFilterByType DEFLATE text/html
-AddOutputFilterByType DEFLATE text/xml
-AddOutputFilterByType DEFLATE text/css
-AddOutputFilterByType DEFLATE application/xml
-AddOutputFilterByType DEFLATE application/xhtml+xml
-AddOutputFilterByType DEFLATE application/rss+xml
-AddOutputFilterByType DEFLATE application/javascript
-AddOutputFilterByType DEFLATE application/x-javascript
-AddOutputFilterByType DEFLATE image/jpg
-AddOutputFilterByType DEFLATE image/png
-AddOutputFilterByType DEFLATE image/gif
-AddOutputFilterByType DEFLATE image/jpeg
-AddOutputFilterByType DEFLATE image/svg+xml
-</IfModule> \ No newline at end of file