kaapiandcode / hugo-goa Goto Github PK
View Code? Open in Web Editor NEWSimple Minimalistic Theme for Hugo
Home Page: https://kaapiandcode.github.io/hugo-goa-demo/
License: MIT License
Simple Minimalistic Theme for Hugo
Home Page: https://kaapiandcode.github.io/hugo-goa-demo/
License: MIT License
Hi,
I'm new to this theme and just getting started. I noticed that the YouTube social link changed in a recent commit (02d7477) changed the channel link from:
youtube.com/channel/{name}
To:
youtube.com/c/{name}
The second form is a YouTube custom channel URL, which not all channels are eligible for (see YouTube's eligibility requirements).
It would be nice if there was a way to have social links for YouTube that work for every channel, but still allow users with a custom channel URL to use that.
If you are willing, I could put together a pull request. I was thinking you could do something like split the youtube
param in config.toml into two -- one for a channel ID and one for a custom channel name, and users could use one or the other.
Before I put together a pull request, is that an approach you'd want to take? I'm sure there are other ways to solve this, too.
I get this error messages when I try to install your theme in Hugo v 0.17. When I try to preview, I get error 255.
Started building sites ... ERROR: 2016/11/05 10:32:06 template.go:132: template: theme/partials/li.html:7:29: executing "theme/partials/li.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/li.html ERROR: 2016/11/05 10:32:06 template.go:132: template: theme/partials/li.html:7:29: executing "theme/partials/li.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/li.html ERROR: 2016/11/05 10:32:06 template.go:132: template: theme/partials/content.html:8:40: executing "theme/partials/content.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/content.html ERROR: 2016/11/05 10:32:06 template.go:132: template: theme/partials/content.html:8:40: executing "theme/partials/content.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/content.html ERROR:
2016/11/05 10:32:06 template.go:132: template: theme/partials/content.html:8:40: executing "theme/partials/content.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/content.html ERROR: 2016/11/05 10:32:06 template.go:132: template: theme/partials/content.html:8:40: executing "theme/partials/content.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/content.html ERROR: 2016/11/05 10:32:06 template.go:132: template: theme/partials/content.html:8:40: executing "theme/partials/content.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/content.html ERROR: 2016/11/05 10:32:06 template.go:132: template: theme/partials/main_menu.html:2:11: executing "theme/partials/main_menu.html" at : error calling sort: sequence must be provided in theme/partials/main_menu.html Built site for language en: 0 of 4 drafts rendered 0 future content 0 expired content 5 pages created 0 non-page files copied 0 paginator pages created 0 tags created 0 topics created total in 18 ms
The problem article and git repository of its is here. Sorry written in Japanese. But it is no matter.
https://alicemacs.com/blog/predict_lcg/
https://github.com/owlinux1000/blog
I don't want to insert Table of Contents. But, This is automatically inserted. How do I disable it.
Hello!, first of all thanks for your theme, is awesome!
I have deployed hugo with github pages, but when accessing via github.io, it shows as if it were 50% in size, you have to raise the zoom a lot so that it is shown to "normal" size, I have not known how to find any option or fix it with github pages.
Any ideas?
Thank you.
Hi, everyone. Previos web has been built successfully, i didn't changes anything, but failed this time. I was wondering how to fix this problem?
Thanks so much
10:13:55 PM: Build ready to start
10:13:57 PM: build-image version: 8925038cf853b22d6397cdcb9904ac88b66bb383 (focal)
10:13:57 PM: build-image tag: v4.5.0
10:13:57 PM: buildbot version: 1166b873df3086892bcef41356ad6efa7b9e401d
10:13:57 PM: Fetching cached dependencies
10:13:57 PM: Failed to fetch cache, continuing with build
10:13:57 PM: Starting to prepare the repo for build
10:13:58 PM: No cached dependencies found. Cloning fresh repo
10:13:58 PM: git clone https://github.com/SUNLOVEERIN/academic-page
10:14:00 PM: Preparing Git Reference refs/heads/main
10:14:02 PM: Parsing package.json dependencies
10:14:02 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'hugo --gc --minify -b $URL' versus 'hugo --gc --minify' in the Netlify UI
10:14:03 PM: Starting build script
10:14:03 PM: Installing dependencies
10:14:03 PM: Python version set to 2.7
10:14:04 PM: v16.13.0 is already installed.
10:14:04 PM: Now using node v16.13.0 (npm v8.1.0)
10:14:04 PM: Started restoring cached build plugins
10:14:04 PM: Finished restoring cached build plugins
10:14:05 PM: Attempting ruby version 2.7.2, read from environment
10:14:06 PM: Using ruby version 2.7.2
10:14:07 PM: Using PHP version 8.0
10:14:07 PM: Installing Hugo 0.87.0
10:14:08 PM: hugo v0.87.0-B0C541E4+extended linux/amd64 BuildDate=2021-08-03T10:57:28Z VendorInfo=gohugoio
10:14:08 PM: Started restoring cached go cache
10:14:08 PM: Finished restoring cached go cache
10:14:08 PM: go version go1.16.5 linux/amd64
10:14:08 PM: go version go1.16.5 linux/amd64
10:14:08 PM: Installing missing commands
10:14:08 PM: Verify run directory
10:14:10 PM:
10:14:10 PM: ────────────────────────────────────────────────────────────────
10:14:10 PM: Netlify Build
10:14:10 PM: ────────────────────────────────────────────────────────────────
10:14:10 PM:
10:14:10 PM: ❯ Version
10:14:10 PM: @netlify/build 18.24.0
10:14:10 PM:
10:14:10 PM: ❯ Flags
10:14:10 PM: baseRelDir: true
10:14:10 PM: buildId: 6197a31366e7a800bc770162
10:14:10 PM: deployId: 6197a31366e7a800bc770164
10:14:10 PM:
10:14:10 PM: ❯ Current directory
10:14:10 PM: /opt/build/repo
10:14:10 PM:
10:14:10 PM: ❯ Config file
10:14:10 PM: /opt/build/repo/netlify.toml
10:14:10 PM:
10:14:10 PM: ❯ Context
10:14:10 PM: production
10:14:10 PM:
10:14:10 PM: ❯ Installing plugins
10:14:10 PM: - [email protected]
10:14:12 PM:
10:14:12 PM: ❯ Loading plugins
10:14:12 PM: - [email protected] from netlify.toml
10:14:12 PM:
10:14:12 PM: ────────────────────────────────────────────────────────────────
10:14:12 PM: 1. netlify-plugin-hugo-cache-resources (onPreBuild event)
10:14:12 PM: ────────────────────────────────────────────────────────────────
10:14:12 PM:
10:14:12 PM: Checking if resources exist at "resources"
10:14:12 PM: No cache found for resources folder
10:14:12 PM:
10:14:12 PM: (netlify-plugin-hugo-cache-resources onPreBuild completed in 216ms)
10:14:12 PM:
10:14:12 PM: ────────────────────────────────────────────────────────────────
10:14:12 PM: 2. build.command from netlify.toml
10:14:12 PM: ────────────────────────────────────────────────────────────────
10:14:12 PM:
10:14:12 PM: $ hugo --gc --minify -b $URL
10:14:12 PM: Start building sites …
10:14:12 PM: hugo v0.87.0-B0C541E4+extended linux/amd64 BuildDate=2021-08-03T10:57:28Z VendorInfo=gohugoio
10:14:16 PM: Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:21:5: executing "main" at <partial "widget_page.html" .>: error calling partial: execute of template failed: template: partials/widget_page.html:146:9: executing "partials/widget_page.html" at <partial $widget_path $widget_args>: error calling partial: "/opt/build/repo/themes/github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5/layouts/partials/widgets/accomplishments.html:35:18": execute of template failed: template: partials/widgets/accomplishments.html:35:18: executing "partials/widgets/accomplishments.html" at <time .date_start>: error calling time: unable to parse date: 2021-10-1
10:14:16 PM: Total in 4013 ms
10:14:16 PM:
10:14:16 PM: ────────────────────────────────────────────────────────────────
10:14:16 PM: "build.command" failed
10:14:16 PM: ────────────────────────────────────────────────────────────────
10:14:16 PM:
10:14:16 PM: Error message
10:14:16 PM: Command failed with exit code 255: hugo --gc --minify -b $URL
10:14:16 PM:
10:14:16 PM: Error location
10:14:16 PM: In build.command from netlify.toml:
10:14:16 PM: hugo --gc --minify -b $URL
10:14:16 PM:
10:14:16 PM: Resolved config
10:14:16 PM: build:
10:14:16 PM: command: hugo --gc --minify -b $URL
10:14:16 PM: commandOrigin: config
10:14:16 PM: environment:
10:14:16 PM: - HUGO_VERSION
10:14:16 PM: - HUGO_ENABLEGITINFO
10:14:16 PM: - HUGO_ENV
10:14:16 PM: publish: /opt/build/repo/public
10:14:16 PM: publishOrigin: config
10:14:16 PM: plugins:
10:14:16 PM: - inputs:
10:14:16 PM: debug: true
10:14:16 PM: origin: config
10:14:16 PM: package: netlify-plugin-hugo-cache-resources
10:14:17 PM: Caching artifacts
10:14:17 PM: Started saving build plugins
10:14:17 PM: Finished saving build plugins
10:14:17 PM: Started saving pip cache
10:14:17 PM: Finished saving pip cache
10:14:17 PM: Started saving emacs cask dependencies
10:14:17 PM: Finished saving emacs cask dependencies
10:14:17 PM: Started saving maven dependencies
10:14:17 PM: Finished saving maven dependencies
10:14:17 PM: Started saving boot dependencies
10:14:17 PM: Finished saving boot dependencies
10:14:17 PM: Started saving rust rustup cache
10:14:17 PM: Finished saving rust rustup cache
10:14:17 PM: Started saving go dependencies
10:14:17 PM: Finished saving go dependencies
10:14:19 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
10:14:19 PM: Creating deploy upload records
10:14:19 PM: Failing build: Failed to build site
10:14:19 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
10:14:19 PM: Finished processing build request in 21.90925132s
Using hugo 0.80.0 or newer version in 2019 failed to parse the example site:
cd themes/hugo-goa/exampleSite/
hugo server
Error: Error building site: failed to render pages: render of "home" failed: "/home/shenwei/shenwei/scripts/github/shenwei.me/themes/hugo-goa/exampleSite/themes/hugo-goa/layouts/index.html:3:21": execute of template failed: template: index.html:9:3: executing "index.html" at <partial "main_menu.html" .>: error calling partial: "/home/shenwei/shenwei/scripts/github/shenwei.me/themes/hugo-goa/exampleSite/themes/hugo-goa/layouts/partials/main_menu.html:3:21": execute of template failed: template: partials/main_menu.html:3:21: executing "partials/main_menu.html" at <.Site.Menus.main>: can't evaluate field Site in type navigation.Menu
Fixed
WARN 2019/12/17 21:37:54 Page.RSSLink is deprecated and will be removed in a future release. Use the Output Format's link, e.g. something like:
{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}
Hello there) Great theme! Please add protocol to git clone url in Installation section. It doesn't work without it
I found the Prev/Next Order does match with the weight you set in config>
For example here the order is: about -> experience -> publications -> others , however, after hugo rendering the pages, the order is messed, the about became the last, does anyone know why?
[[menu.main]]
name = "About"
identifier = "About"
weight = 100
url = "/about/"
[[menu.main]]
name = "Experience"
identifier = "Experience"
weight = 200
url = "/experience/"
[[menu.main]]
name = "Publications"
identifier = "Publications"
weight = 300
url = "/publications/"
[[menu.main]]
name = "Others"
identifier = "Others"
weight = 400
url = "/others/"
Can you implement at least three languages by user choose in the theme?
Thanks a lot for this excellent Hugo theme. I have used it for my personal blog here. Unfortunately, the pagination seems not working. Here is my config.toml
...
theme = "hugo-goa"
Paginate = 5
...
The /blog/
page seems showing a list with more than 5 posts. I've tried to dig into layouts/partials/li.html
but the code there looks quite unconventional compared to Hugo official guide.
Any hints, everyone?
Thanks.
Hello!
I've stumbled upon the very similart issue as the dim0627/hugo_theme_beg#19:
Except one thing: in original issue images are just mess up the page, and in this theme they are cut in half where text ends. max-width could fix this in my opinion.
FIXED
Hey
adding a kaggle logo would be great for people in data science or machine learning
would be great if it could be added
Could google scholar be added to the social sites?
Hello! Love the theme and used blogdown
with R to make my own site (www.alessandravalcarcel.com). I was wondering if it is possible to create a simple navigation bar that would be available on all pages except the home or main page? Can I change the css and .toml file to do this myself? I'd prefer a nice simple navigation bar fixed in the top right maybe with the page name on the top right is better than the home navigation simply at the bottom of the page.
I'm using 0.32.4
Hugo Static Site Generator v0.32.4 darwin/amd64 BuildDate: 2018-01-11T23:53:36+01:00
GOOS="darwin"
GOARCH="amd64"
GOVERSION="go1.9.2"
I get this error when I render a new site with just the about page from the demo site:
ERROR 2018/01/12 00:33:44 Error while rendering "home" in "": template: theme/index.html:9:3: executing "theme/index.html" at <partial "main_menu.h...>: error calling partial: template: theme/partials/main_menu.html:2:11: executing "theme/partials/main_menu.html" at <sort .Site.Menus.mai...>: error calling sort: sequence must be provided
First, thank you for this theme!
I think it would be great to have settings in the config file that allow people to set custom images for the logo and icon.
The author image is not shown up on the site
Hello @shenoybr I am one of the maintainers of the Hugo Themes repository.
Recently I reviewed the deploy log of the Hugo Themes website and it seems that in line 6 and lines 191-200 of your theme's README you have entered insecure URLS to the following external images:
http://i.imgur.com/vqMd1Mx.png
http://i.imgur.com/dfj8MHz.png
http://i.imgur.com/mMFfkZY.png
http://i.imgur.com/7e67ypn.png
http://i.imgur.com/lz3RGH9.png
http://i.imgur.com/IPggNGk.png
http://i.imgur.com/FW1Bdln.png
http://i.imgur.com/vTY5GeX.png
http://i.imgur.com/aJZQYZ6.png
http://i.imgur.com/rGQJAF3.png
These images are throwing Mixed Content browser warnings on the Hugo website since it is served under HTTPS
.
Can you please change the URLs of these images to their https
versions so that these warnings are fixed?
Once you do this please let me know.
Thanks
Hi,
thanks for the great theme.
I have a small question:
How can i change that the social media links are opened in a new tab?
I couldnt find the file where the links are build to add the "target=blank" parameter.
Thank you for your help!
...without losing my configuration and content?
I'm a hugo newbie, but it seems that disqus doesn't work. I added my shortname, but don't see any comment section. I also can't find a reference to the internal disqus template in your repo.
I want to add my stack overflow link in [params.social] .
Does it support ?
When I insert images into my blog posts they are much larger than the view space, meaning there's a scroll that's weird.
I'd like to fix and playing in the console I see that I can add
img {
width: 100%;
}
So I think this could be a good fix (I'm happy to submit a PR), but also, how do I add my own custom CSS when working with this theme?
This is a typo. It should be pinterest
I'm not sure whether or not this is a theme issue but no RSS feeds are generated when using this theme.
For some reason, I believe right after I installed the latest hugo-goa theme, my posts started appearing in reverse order. Is this a known issue? The theme is really great and I would love to continue to use it 😄
hugo version: 0.30
Here are the errors I get when trying to run 'hugo' with the theme selected.
Started building sites ...
ERROR: 2016/11/18 11:42:20 template.go:132: template: theme/partials/li.html:7:29: executing "theme/partials/li.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/li.html
ERROR: 2016/11/18 11:42:20 template.go:132: template: theme/partials/content.html:8:40: executing "theme/partials/content.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/content.html
ERROR: 2016/11/18 11:42:20 template.go:132: template: theme/partials/content.html:8:40: executing "theme/partials/content.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/content.html
ERROR: 2016/11/18 11:42:20 template.go:132: template: theme/partials/content.html:8:40: executing "theme/partials/content.html" at <.Site.Params.dateFor...>: invalid value; expected string in theme/partials/content.html
ERROR: 2016/11/18 11:42:20 template.go:132: template: theme/partials/main_menu.html:2:11: executing "theme/partials/main_menu.html" at <sort .Site.Menus.mai...>: error calling sort: sequence must be provided in theme/partials/main_menu.html
Thank you for any help.
index.html
in /content/about
folder is not loaded at: http://localhost:1313/about, look at the below page, plz:
But if I change the file name to something else like test.md
, it's loaded at http://localhost:1313/about/test
Also, if I rename /content/about/index.md
file to about.md
and move it to the /content
, it will be loaded at http://localhost:1313/about currectly.
There's same issue with the 3rd item in the main menu.
## Main Menu
[[menu.main]]
name = "blog"
weight = 100
identifier = "blog"
url = "/blog/"
[[menu.main]]
name = "about"
identifier = "about"
weight = 200
url = "/about/"
[[menu.main]]
name = "3rd"
identifier = "3rd"
weight = 300
url = "/3rd/"
Hello!
This is a concise and wonderful theme for blogs, but I'm wondering where to enable showing pictures in the articles of blog. It seems that the function isn't supported. But I don't think a blog is complete without pictures. I really appreciate it if you tell me how to do.
I am trying to start the server with hugo server
inside the theme root directory.
I got the following error
Error: Unable to find theme Directory: C:\homepage\hugo-goa\themes\hugo-goa
Enable twitter, facebook or another social platform to share blog post.
After adding theme, I am getting following error.
I have tried with brand new site, without any content, facing the same issue.
➜ quickstart git:(master) ✗ hugo server -D
Building sites … WARN 2019/09/19 17:58:56 Page's .RSSLink is deprecated and will be removed in a future release. Use the Output Format's link, e.g. something like:
{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}.
Total in 7 ms
Error: Error building site: failed to render pages: render of "home" failed: "/root/quickstart/themes/hugo-goa/layouts/index.html:2:11": execute of template failed: template: index.html:9:3: executing "index.html" at <partial "main_menu.html" .>: error calling partial: "/root/quickstart/themes/hugo-goa/layouts/partials/main_menu.html:2:11": execute of template failed: template: partials/main_menu.html:2:11: executing "partials/main_menu.html" at <sort .Site.Menus.main>: error calling sort: sequence must be provided
➜ quickstart git:(master) ✗ hugo version
Hugo Static Site Generator v0.58.2-253E5FDC linux/amd64 BuildDate: 2019-09-13T08:05:59Z
➜ quickstart git:(master) ✗ cat config.toml
baseURL = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "hugo-goa"
➜ quickstart git:(master) ✗ ll themes/hugo-goa
total 20K
drwxr-xr-x. 2 root root 24 Sep 19 17:57 archetypes
drwxr-xr-x. 6 root root 131 Sep 19 17:57 exampleSite
drwxr-xr-x. 2 root root 42 Sep 19 17:57 images
drwxr-xr-x. 4 root root 72 Sep 19 17:57 layouts
-rw-r--r--. 1 root root 1.1K Sep 19 17:57 LICENSE
-rw-r--r--. 1 root root 12K Sep 19 17:57 README.md
drwxr-xr-x. 5 root root 217 Sep 19 17:57 static
-rw-r--r--. 1 root root 480 Sep 19 17:57 theme.toml
Demo link doesnt work🙏
Some button to active a dark mode
Will you upgrade to Bootstrap 4.x?
Is there way to remove Disqus
section on About page? There is comments = false
rule on this page but I still can't disable comments.
Very nice site and with nice design
Is there a way to change the colour of the subheadings?
Started building sites ...
ERROR: 2016/12/31 18:37:01 general.go:236: theme/partials/content.html is an incomplete or empty template
ERROR: 2016/12/31 18:37:01 general.go:236: theme/partials/li.html is an incomplete or empty template
Built site for language en:
Is this theme related error?
I am using 0.18.1(Linux 64bit).
Add ' ' after each social link to make things less crowded.
Google has a new recommended Google Analytics snippet to replace the current one used by the theme:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=INSERT_GA_ID_HERE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', INSERT_GA_ID_HERE);
</script>
Thanks for the theme! It is really great! Is there a way to use ai icons (academicons) like ORCID and Publons icons?
I have the following setting in config.toml:
baseurl = "https://davidcai.github.io/dcai-blog"
canonifyURLs = true
All images in blog posts have correct base URLs prefixed to image filenames, e.g. "https://davidcai.github.io/dcai-blog/img/snapshot-diff.png". However, for the avatar/author image, the src attribute still points to "img/headshot.jpg" which doesn't include path "dcai-blog".
I guess the problem is in layouts/partials/avatar.html
:
{{ with .Site.Params.authorimage }} <img src="img/{{ . }}" alt="Author Image" class="img-circle text-center headshot"> {{ end }}
If I put /
in front of img/{{ . }}
, the image URL will be correctly resolved as "https://davidcai.github.io/dcai-blog/img/headshot.jpg".
I tried inserting my social IDs in the config file but it didn't work properly. Can you help me?
For example:
twitter = "<bocciaman>" facebook = "<anwar.abdallah1>"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.