stevelane / hugo-icon Goto Github PK
View Code? Open in Web Editor NEWIcon theme for Hugo
License: MIT License
Icon theme for Hugo
License: MIT License
I'm trying to add a "Blog" link to the main nav so I can link to /blog
, but I can't find any examples or documentation on how to add a link to the main nav that doesn't go to a section.
Is this possible? If so, how?
Thanks for the theme!
I built a hugo-icon web page on RStudio using blogdown (@yihui).
The deploy in the local host was perfect and very nice.
However, when I go to Netlify for deploy, the outcome is a blank page.
I checked for url basename and it corresponds to my domain.
Here the deploy details from Netlify:
12:24:48 AM: Build ready to start
12:24:51 AM: build-image version: 84aca9ba39e0ee86ba194760fbfc51a808f62543
12:24:51 AM: buildbot version: 1ac64ca11e029436ed45ac81a38b9839778ec314
12:24:51 AM: Fetching cached dependencies
12:24:51 AM: Starting to download cache of 70.1MB
12:24:51 AM: Finished downloading cache in 309.774013ms
12:24:51 AM: Starting to extract cache
12:24:53 AM: Finished extracting cache in 1.389418327s
12:24:53 AM: Finished fetching cache in 1.735306961s
12:24:53 AM: Starting to prepare the repo for build
12:24:53 AM: Preparing Git Reference refs/heads/master
12:24:54 AM: Starting build script
12:24:54 AM: Installing dependencies
12:24:54 AM: Started restoring cached node version
12:24:56 AM: Finished restoring cached node version
12:24:56 AM: v8.15.1 is already installed.
12:24:57 AM: Now using node v8.15.1 (npm v6.4.1)
12:24:57 AM: Attempting ruby version 2.3.6, read from environment
12:24:58 AM: Using ruby version 2.3.6
12:24:59 AM: Using PHP version 5.6
12:24:59 AM: Installing Hugo 0.49.2
12:24:59 AM: Started restoring cached go cache
12:24:59 AM: Finished restoring cached go cache
12:24:59 AM: unset GOOS;
12:24:59 AM: unset GOARCH;
12:24:59 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.10.linux.amd64';
12:24:59 AM: export PATH="/opt/buildhome/.gimme/versions/go1.10.linux.amd64/bin:${PATH}";
12:24:59 AM: go version >&2;
12:24:59 AM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.10.linux.amd64.env';
12:24:59 AM: go version go1.10 linux/amd64
12:24:59 AM: Installing missing commands
12:24:59 AM: Verify run directory
12:24:59 AM: Executing user command: hugo
12:24:59 AM: Building sites โฆ
12:24:59 AM:
12:24:59 AM: | EN
12:24:59 AM: +------------------+----+
12:24:59 AM: Pages | 10
12:24:59 AM: Paginator pages |
12:24:59 AM: 0
12:24:59 AM: Non-page files | 0
12:24:59 AM: Static files | 90
12:24:59 AM: Processed images | 0
12:24:59 AM: Aliases | 0
12:24:59 AM: Sitemaps |
12:24:59 AM: 1
12:24:59 AM: Cleaned | 0
12:24:59 AM: Total in 24 ms
12:24:59 AM: Caching artifacts
12:24:59 AM: Started saving pip cache
12:24:59 AM: Finished saving pip cache
12:24:59 AM: Started saving emacs cask dependencies
12:24:59 AM: Finished saving emacs cask dependencies
12:24:59 AM: Started saving maven dependencies
12:24:59 AM: Finished saving maven dependencies
12:24:59 AM: Started saving boot dependencies
12:24:59 AM: Finished saving boot dependencies
12:24:59 AM: Started saving go dependencies
12:24:59 AM: Finished saving go dependencies
12:24:59 AM: Build script success
12:24:59 AM: Starting to deploy site from 'public'
12:24:59 AM: Starting post processing
12:25:00 AM: Post processing done
12:25:00 AM: Site is live
12:25:10 AM: Finished processing build request in 19.357107448s
12:25:10 AM: Shutting down logging, 0 messages pending
Many thanks, @maordano
Originally posted by @braian125 in #27 (comment)
# Navigation section
[params.nav]
mission = "Our Mission"
services = "Services"
team = "The Team"
contact = "Get In Touch"
# Include logo instead if HOME:
# logo = "path/to/logo"
I preferred to use the front matter method of defining menu entries:
<ul class="fh5co-menu-1" aria-label="menu">`
{{ $current := . }}
{{ range .Site.Menus.main }}
<li class="" aria-label="{{ .Name }}">
<a href="{{ .URL }}" data-nav-section="{{ lower .Name }}" class="menu__items__item__link {{ if $current.IsMenuCurrent "main" . }}active{{ end }}" alt="{{ .Name }}" role="menuitem">
{{ upper .Title }}
</a>
</li>
{{ end }}
</ul>
{{ range first 3 (where .Site.RegularPages ".Type" "areas") }}
<div class="col-md-6">
<div class="service">
<div class="icon"><img src="{{ .Params.icon }}"></div>
<h3>{{ .Title | markdownify }}</h3>
<p>{{ .Content | markdownify }}</p>
</div>
</div>
{{end}}
As per this comment, the mission and services contact buttons don't send the user to the contact section.
I think a function similar to this one should work.
So far I haven't found a way to add alt text descriptions to images. Is this possible?
I have
[[params.mission.item]]
subtitle = "this and that with a superscript"
but the tag is displayed just as - it doesn't get turned into a superscript. Is this something that can be fixed in the theme?
Thanks
Thanks for this theme! Works great out of the box, but it would be great to link to / provide some documentation, even rough, on how to customize the different sections, or add new sections. For instance, I am trying to change the 'register' section to a standard html + iframe google doc.
Hi @SteveLane ,
Thank you for this project - It is very good skin in terms of design and simplicity.
However, the current way to setup the themes is strictly through config.toml which is not very Hugo friendly (adding text / items is really hard work).
I already modified that largely on my own project, but this will break the current implementation.
Let me know if you wish me to create a pull request or just preferred me to keep my own branch.
Cheers,
Dudi
Hello Steve,
Re:
https://discourse.gohugo.io/t/hugo-theme-jquery-and-bootstrap-vulnerabilities/19727
I am wondering if anything can be done to address the security concerns around Jquery and Bootstrap versions.
I really like the theme, but am concerned it may be a bit outdated.
Regards,
According to the MIT license (also stated as MIT on https://themes.gohugo.io/hugo-icon/ ) I am allowed to use/modify this theme however I see fit, but https://themes.gohugo.io/hugo-icon/ states otherwise.
I have no issue with paying money for the theme, but it would be nice if it was stated somewhere that this is not actually licensed under MIT if it is not.
Great port btw, super easy to customize ๐
Hello
I would like to add a social icon for gitlab or for example a python icon for the service section.
I look quickly a the icomoon.css
and simple-line-icons.css
but I do not understand precisely what I must add in that files. Are the font from fontawesome ? I tried to obtain the character code from the website but it does not work.
Thanks
Germain
Please add parameter to configuration file for changing action
in contacts form.
https://github.com/SteveLane/hugo-icon/blob/master/layouts/partials/contact-form.html#L9
For example https://formspree.io/ supports same fields so netlify can be transparent replaced with self-hosted server + formspree
I followed the instructions for adding a Blog section to Icon.
The Blog menu item was added but I can not get any content to render. Only <pre>
tag.
Could you possibly add a file in the example site blog content which will render when the instructions are followed? This would clear up any confusion and add value to the theme. Thanks!
Thanks for the nice theme. Is it possible to support multiple languages in this theme?
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.