From e69a80d1b0fc4ca1e8a1c56c0b797a0b337d7407 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Tue, 26 Dec 2017 14:54:01 +0100 Subject: [PATCH] Excluded public and static directories. --- .gitignore | 2 ++ config.toml | 5 +++-- content/post/humble-beginnings.md | 7 +++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index f3c4260..a699e84 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ themes/* test.md +public/* +static/* diff --git a/config.toml b/config.toml index 3c55030..a735a8f 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ # Tranquilpeak -baseURL = "https://basdb.net/" +baseURL = "http://bdebylnet-cdn.s3-website-us-east-1.amazonaws.com" languageCode = "en-us" defaultContentLanguage = "en-us" title = "basdb" @@ -23,6 +23,7 @@ canonifyurls = true job = "Software Engineer" location = "New England" # Your profile picture + gravatarEmail = "bastiandebyl@gmail.com" # picture = "https://cdn1.iconfinder.com/data/icons/ninja-things-1/1772/ninja-simple-512.png" # Menu Configuration @@ -121,7 +122,7 @@ canonifyurls = true # Current image is on AWS S3 and delivered by AWS CloudFront. # Otherwise put your image in folder `static/_images/` (development) or in `source/assets/images/` if you can't or don't want to build the theme, # and use relative url : `your-image.png` - coverImage = "cover.jpg" + coverImage = "https://s3.us-west-2.amazonaws.com/basdb-static-content/site-static/img/cover.png" # Display an image gallery at the end of a post which have photos variables (false: disabled, true: enabled) imageGallery = true diff --git a/content/post/humble-beginnings.md b/content/post/humble-beginnings.md index c18edcd..3aab691 100644 --- a/content/post/humble-beginnings.md +++ b/content/post/humble-beginnings.md @@ -3,9 +3,8 @@ title: "Humble Beginnings" date: 2017-12-21T01:42:57-05:00 categories: ["Blog"] tags: ["code"] -draft: true -thumbnailImagePosition: left -thumbnailImage: "https://s3-us-west-2.amazonaws.com/basdb-static-content/site-static/img/main.png" +thumbnailImagePosition: top +thumbnailImage: "/img/humble-beginnings/main.png" --- After much deliberation I've finally decided to go with the [**Tranquilpeak**](https://github.com/kakawait/hugo-tranquilpeak-theme) theme. However, before this I ran into a slew of issues with the badly ported [**Tracks**](https://github.com/ageekymonk/hugo-tracks-theme) theme from WordPress @@ -18,7 +17,7 @@ If you want a general overview, feel free to check out the relevant [commit](htt The first thing I noticed was that the navigation bar seemed a bit off. -{{< image classes="center" src="https://s3-us-west-2.amazonaws.com/basdb-static-content/site-static/img/header-problem.png" title="Navbar Issue" >}} +{{< image classes="center" src="/img/humble-beginnings/header-problem.png" title="Navbar Issue" >}} The links show as numbers and attempt to link to `/0`, `/1`, and `/2` which lead to 404s. This didn't seem like the intended functionality. It turned out to be a problem with the usage of the following variable: `.Site.Sections`