appernetic / hugo-bootstrap-premium Goto Github PK
View Code? Open in Web Editor NEWHugo appernetic bootstrap premium theme
License: MIT License
Hugo appernetic bootstrap premium theme
License: MIT License
Is there a setting to use the inverse navbar options for each theme? Or do we need to modify the header files directly?
Sorry for this request..
is posible to add adsense on the theme site.
this theme is awesome, i like it.
thanks..
I am trying this out and it looks very good with mulilanguage support, but I can't get the lanuage switcher to work. I followed the instructions and made the change in the pathnamereplace.js file. But with that enabled my browser page does these refreshes and flickers constantly. But I do notice in the js file it says this has been tested with Chrome 36 etc, This is pretty old. Is this still working for others?
Also I don't see any discus commenting available, although that's enabled in the conf.
<link rel="stylesheet" href="{{ "/css/highlight/" | absURL }}default.css">
does not work any longer.
To have it work we need to remove the first / like this:
<link rel="stylesheet" href="{{ "css/highlight/" | absURL }}default.css">
Hi guys,
"Back to top" feature not working for me. I'm not sure if it is general issue or not working for me only.
Steps to reproduce:
I'm using Firefox 38.8.0
Cheers.
Hi @appernetic
On the Hugo Themes website the demo of the Hugo Bootstrap Premium Theme has its Hugo Pipes Assets missing.
For a workaround please see the Common Permalink Issues in the updated README of the Hugo Themes repository.
If you are using Hugo Pipes to publish your theme's resources due to bug gohugoio/hugo#5226 you will need to temporarily use .RelPermalink in the templates, so that these assets are served correctly on the website.
For example change line 29 of /layouts/partials/base/imports.html/
to:
<link rel="stylesheet" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}">
Please do this change in the theme's templates and let me know.
Thanks!
CC / @digitalcraftsman
See https://themes.gohugo.io/theme/hpstr-hugo-theme/posts/background-image/
Support site level post background (default) that can be overridden on a per post basis in the frontmatter.
It seems that if the number of posts exceeds the pagination limit, the effect of selecting the next page (that is, #2) redirects to "https://page/2/"
Hello,
I would like to add trailing slashes to tags. Currently this is not done. This becomes a problem when deploying in nginx. It can be solved by adding rules to nginx, but I would like to understand how the tag links are generated, and why they are added to links to posts, but not to tags.
hey! I really like your idea for the popup integration. Would you be able to help me migrate this feature into another theme?
using a customCSS that lives in /static/css no longer works.
The issue is that the minifier is looking for the file in the /themes/... folder and not the project static folder:
Error while rendering "home" in "": template: index.html:1:3: executing "index.html" at <partial "head" .>:
error calling partial: template: partials/head.html:10:5: executing "partials/head.html" at <partial "base/import...>:
error calling partial: template: partials/base/imports.html:55:44: executing "partials/base/imports.html" at <resources.Get>:
error calling Get: stat /home/data/<myproject>/themes/hugo-bootstrap-premium/assets/css/mycustom.css: no such file or directory
The offending code is:
{{ range .Site.Params.customCSS }}
{{ $.Scratch.Add "css" (slice (resources.Get .)) }}
{{ end }}
Since this commit:
Hi,
This theme is great. But for some reason, when I build the site, I get the following warning:
WARNING: calling IsSet with unsupported type "ptr" (*hugolib.MenuEntry) will always return false.
This happens whether I use it on my site or with the ExampleSite in your package. I am using the latest Hugo v0.26 on Ubuntu 16.04, and this is the only theme giving me this error.
Also, is there supposed to be social links showing up on the right sidebar? I have the sidebar enabled and many of the social links (like Facebook and Github) having an ID number (and commented out the rest), but I cannot get them to show up upon building the site.
Thanks!
Is it possible to use this theme with a static home page as the landing page rather than the list of blog posts?
Hello.
I play with language settings but I don't find a simple solution to change the date format per language. E.g. in German it would be "2. Jan 2006" while "2 Jan, 2006" in English.
I can change the format in data/Formats.yaml
.
I saw that this is then used in themes/hugo-bootstrap-premium/layouts/partials/modules/page/date.html
and in themes/hugo-bootstrap-premium/layouts/partials/modules/site/lastupdate.html
. I don't know how to neatly make it language adaptive.
Do you have a solution for this?
Great theme and documentation, thanks for sharing.
Sitemap.xml is generated without the domain in the URL.
Needs to be fixed, does not work well with search spiders.
Looks like theme is not usable on mobile devices.
How to reproduce?
It probably doesn't work with Android/Chrome as well.
Hello,
Thanks for a great hugo theme! I migrate my personal blog from octopress to hugo and use your theme there.
Within this theme are some components already bundled (e.g fontawesome), but some not (e.g. angular.js, google fonts). For my sites I usually try to avoid any not needed requests to other sites (performance, stability, privacy..).
So the question, are you open to have other things here bundled as well? If yes, I could provide some PRs
Unable to see sidebar
on the latest code in master.
Config file snippet:
[params]
# You can use markdown here.
BrandImage = "http://blog.appernetic.io/images/apperneticlogo.png" #top header brand image.
Brand = "Enterprise Integration Blog" # brand image alt text.
topline = "few words about your site"
footline = "code with <i class='fa fa-heart'></i>"
# Show a sidebar menu
showRightSidebar = true
For some reason footnotes and toc links don't work properly. For example clicking on footnote one in a post should take me to http://myblog/2018/08/my-first-post/#fn:1
but instead goes to http://myblog/2018/08/my-first-post/#!#fn:1
. Note the extra #!
. Something similar happens with toc links on pages where a toc is used. Any idea why that #!
is being pre-pended?
I'm not sure if you will be able to help with this. I'm using your theme on my blog, which I love. It was working until October 2017. But when I tried to update it this week I got the errors at the end of this message. The XML files (like index.xml) would show the updates, but new HTML files were not getting created.
I think I might not have the multi language configuration disabled properly, but it was working back in October.
I'm running Arch, and after downgrading hugo to 0.30 it worked. Any ideas?
Site files - https://github.com/victorbrca/blog_hug
Public - https://github.com/victorbrca/blog
Any help, link to documentation if very welcomed.
$ hugo -vv
INFO 2018/01/26 18:20:02 Using config file: /home/victor/Git/sites/blog_hugo/config.toml
Building sites … INFO 2018/01/26 18:20:02 syncing static files to /home/victor/Git/sites/blog_hugo/public/
WARN 2018/01/26 18:20:02 No translation bundle found for default language "en"
WARN 2018/01/26 18:20:02 Translation func for language en not found, use default.
WARN 2018/01/26 18:20:02 i18n not initialized, check that you have language file (in i18n) that matches the site language or the default language.
INFO 2018/01/26 18:20:02 found taxonomies: map[string]string{"tag":"tags", "topic":"topics"}
WARN 2018/01/26 18:20:02 [en] Unable to locate layout for "page": [post/single.en.html.html theme/post/single.en.html.html post/single.html.html theme/post/single.html.html post/single.en.html theme/post/single.en.html post/single.html theme/post/single.html _default/single.en.html.html theme/_default/single.en.html.html _default/single.html.html theme/_default/single.html.html _default/single.en.html theme/_default/single.en.html _default/single.html theme/_default/single.html]
WARN 2018/01/26 18:20:02 [en] Unable to locate layout for "page": [page/single.en.html.html theme/page/single.en.html.html page/single.html.html theme/page/single.html.html page/single.en.html theme/page/single.en.html page/single.html theme/page/single.html _default/single.en.html.html theme/_default/single.en.html.html _default/single.html.html theme/_default/single.html.html _default/single.en.html theme/_default/single.en.html _default/single.html theme/_default/single.html]
WARN 2018/01/26 18:20:02 [en] Unable to locate layout for "taxonomy": [tags/tag.en.html.html theme/tags/tag.en.html.html tags/taxonomy.en.html.html theme/tags/taxonomy.en.html.html tags/list.en.html.html theme/tags/list.en.html.html tags/tag.html.html theme/tags/tag.html.html tags/taxonomy.html.html theme/tags/taxonomy.html.html tags/list.html.html theme/tags/list.html.html tags/tag.en.html theme/tags/tag.en.html tags/taxonomy.en.html theme/tags/taxonomy.en.html tags/list.en.html theme/tags/list.en.html tags/tag.html theme/tags/tag.html tags/taxonomy.html theme/tags/taxonomy.html tags/list.html theme/tags/list.html taxonomy/tag.en.html.html theme/taxonomy/tag.en.html.html taxonomy/taxonomy.en.html.html theme/taxonomy/taxonomy.en.html.html taxonomy/list.en.html.html theme/taxonomy/list.en.html.html taxonomy/tag.html.html theme/taxonomy/tag.html.html taxonomy/taxonomy.html.html theme/taxonomy/taxonomy.html.html taxonomy/list.html.html theme/taxonomy/list.html.html taxonomy/tag.en.html theme/taxonomy/tag.en.html taxonomy/taxonomy.en.html theme/taxonomy/taxonomy.en.html taxonomy/list.en.html theme/taxonomy/list.en.html taxonomy/tag.html theme/taxonomy/tag.html taxonomy/taxonomy.html theme/taxonomy/taxonomy.html taxonomy/list.html theme/taxonomy/list.html tag/tag.en.html.html theme/tag/tag.en.html.html tag/taxonomy.en.html.html theme/tag/taxonomy.en.html.html tag/list.en.html.html theme/tag/list.en.html.html tag/tag.html.html theme/tag/tag.html.html tag/taxonomy.html.html theme/tag/taxonomy.html.html tag/list.html.html theme/tag/list.html.html tag/tag.en.html theme/tag/tag.en.html tag/taxonomy.en.html theme/tag/taxonomy.en.html tag/list.en.html theme/tag/list.en.html tag/tag.html theme/tag/tag.html tag/taxonomy.html theme/tag/taxonomy.html tag/list.html theme/tag/list.html _default/tag.en.html.html theme/_default/tag.en.html.html _default/taxonomy.en.html.html theme/_default/taxonomy.en.html.html _default/list.en.html.html theme/_default/list.en.html.html _default/tag.html.html theme/_default/tag.html.html _default/taxonomy.html.html theme/_default/taxonomy.html.html _default/list.html.html theme/_default/list.html.html _default/tag.en.html theme/_default/tag.en.html _default/taxonomy.en.html theme/_default/taxonomy.en.html _default/list.en.html theme/_default/list.en.html _default/tag.html theme/_default/tag.html _default/taxonomy.html theme/_default/taxonomy.html _default/list.html theme/_default/list.html]
WARN 2018/01/26 18:20:02 [en] Unable to locate layout for "taxonomyTerm": [topics/topic.terms.en.html.html theme/topics/topic.terms.en.html.html topics/terms.en.html.html theme/topics/terms.en.html.html topics/list.en.html.html theme/topics/list.en.html.html topics/topic.terms.html.html theme/topics/topic.terms.html.html topics/terms.html.html theme/topics/terms.html.html topics/list.html.html theme/topics/list.html.html topics/topic.terms.en.html theme/topics/topic.terms.en.html topics/terms.en.html theme/topics/terms.en.html topics/list.en.html theme/topics/list.en.html topics/topic.terms.html theme/topics/topic.terms.html topics/terms.html theme/topics/terms.html topics/list.html theme/topics/list.html taxonomy/topic.terms.en.html.html theme/taxonomy/topic.terms.en.html.html taxonomy/terms.en.html.html theme/taxonomy/terms.en.html.html taxonomy/list.en.html.html theme/taxonomy/list.en.html.html taxonomy/topic.terms.html.html theme/taxonomy/topic.terms.html.html taxonomy/terms.html.html theme/taxonomy/terms.html.html taxonomy/list.html.html theme/taxonomy/list.html.html taxonomy/topic.terms.en.html theme/taxonomy/topic.terms.en.html taxonomy/terms.en.html theme/taxonomy/terms.en.html taxonomy/list.en.html theme/taxonomy/list.en.html taxonomy/topic.terms.html theme/taxonomy/topic.terms.html taxonomy/terms.html theme/taxonomy/terms.html taxonomy/list.html theme/taxonomy/list.html topic/topic.terms.en.html.html theme/topic/topic.terms.en.html.html topic/terms.en.html.html theme/topic/terms.en.html.html topic/list.en.html.html theme/topic/list.en.html.html topic/topic.terms.html.html theme/topic/topic.terms.html.html topic/terms.html.html theme/topic/terms.html.html topic/list.html.html theme/topic/list.html.html topic/topic.terms.en.html theme/topic/topic.terms.en.html topic/terms.en.html theme/topic/terms.en.html topic/list.en.html theme/topic/list.en.html topic/topic.terms.html theme/topic/topic.terms.html topic/terms.html theme/topic/terms.html topic/list.html theme/topic/list.html _default/topic.terms.en.html.html theme/_default/topic.terms.en.html.html _default/terms.en.html.html theme/_default/terms.en.html.html _default/list.en.html.html theme/_default/list.en.html.html _default/topic.terms.html.html theme/_default/topic.terms.html.html _default/terms.html.html theme/_default/terms.html.html _default/list.html.html theme/_default/list.html.html _default/topic.terms.en.html theme/_default/topic.terms.en.html _default/terms.en.html theme/_default/terms.en.html _default/list.en.html theme/_default/list.en.html _default/topic.terms.html theme/_default/topic.terms.html _default/terms.html theme/_default/terms.html _default/list.html theme/_default/list.html]
WARN 2018/01/26 18:20:02 [en] Unable to locate layout for "section": [post/post.en.html.html theme/post/post.en.html.html post/section.en.html.html theme/post/section.en.html.html post/list.en.html.html theme/post/list.en.html.html post/post.html.html theme/post/post.html.html post/section.html.html theme/post/section.html.html post/list.html.html theme/post/list.html.html post/post.en.html theme/post/post.en.html post/section.en.html theme/post/section.en.html post/list.en.html theme/post/list.en.html post/post.html theme/post/post.html post/section.html theme/post/section.html post/list.html theme/post/list.html post/post.en.html.html theme/post/post.en.html.html post/section.en.html.html theme/post/section.en.html.html post/list.en.html.html theme/post/list.en.html.html post/post.html.html theme/post/post.html.html post/section.html.html theme/post/section.html.html post/list.html.html theme/post/list.html.html post/post.en.html theme/post/post.en.html post/section.en.html theme/post/section.en.html post/list.en.html theme/post/list.en.html post/post.html theme/post/post.html post/section.html theme/post/section.html post/list.html theme/post/list.html section/post.en.html.html theme/section/post.en.html.html section/section.en.html.html theme/section/section.en.html.html section/list.en.html.html theme/section/list.en.html.html section/post.html.html theme/section/post.html.html section/section.html.html theme/section/section.html.html section/list.html.html theme/section/list.html.html section/post.en.html theme/section/post.en.html section/section.en.html theme/section/section.en.html section/list.en.html theme/section/list.en.html section/post.html theme/section/post.html section/section.html theme/section/section.html section/list.html theme/section/list.html _default/post.en.html.html theme/_default/post.en.html.html _default/section.en.html.html theme/_default/section.en.html.html _default/list.en.html.html theme/_default/list.en.html.html _default/post.html.html theme/_default/post.html.html _default/section.html.html theme/_default/section.html.html _default/list.html.html theme/_default/list.html.html _default/post.en.html theme/_default/post.en.html _default/section.en.html theme/_default/section.en.html _default/list.en.html theme/_default/list.en.html _default/post.html theme/_default/post.html _default/section.html theme/_default/section.html _default/list.html theme/_default/list.html]
WARN 2018/01/26 18:20:02 [en] Unable to locate layout for "home": [page/index.en.html.html theme/page/index.en.html.html page/home.en.html.html theme/page/home.en.html.html page/list.en.html.html theme/page/list.en.html.html page/index.html.html theme/page/index.html.html page/home.html.html theme/page/home.html.html page/list.html.html theme/page/list.html.html page/index.en.html theme/page/index.en.html page/home.en.html theme/page/home.en.html page/list.en.html theme/page/list.en.html page/index.html theme/page/index.html page/home.html theme/page/home.html page/list.html theme/page/list.html index.en.html.html theme/index.en.html.html home.en.html.html theme/home.en.html.html list.en.html.html theme/list.en.html.html index.html.html theme/index.html.html home.html.html theme/home.html.html list.html.html theme/list.html.html index.en.html theme/index.en.html home.en.html theme/home.en.html list.en.html theme/list.en.html index.html theme/index.html home.html theme/home.html list.html theme/list.html _default/index.en.html.html theme/_default/index.en.html.html _default/home.en.html.html theme/_default/home.en.html.html _default/list.en.html.html theme/_default/list.en.html.html _default/index.html.html theme/_default/index.html.html _default/home.html.html theme/_default/home.html.html _default/list.html.html theme/_default/list.html.html _default/index.en.html theme/_default/index.en.html _default/home.en.html theme/_default/home.en.html _default/list.en.html theme/_default/list.en.html _default/index.html theme/_default/index.html _default/home.html theme/_default/home.html _default/list.html theme/_default/list.html]
WARN 2018/01/26 18:20:02 [en] Unable to locate layout for "taxonomyTerm": [tags/tag.terms.en.html.html theme/tags/tag.terms.en.html.html tags/terms.en.html.html theme/tags/terms.en.html.html tags/list.en.html.html theme/tags/list.en.html.html tags/tag.terms.html.html theme/tags/tag.terms.html.html tags/terms.html.html theme/tags/terms.html.html tags/list.html.html theme/tags/list.html.html tags/tag.terms.en.html theme/tags/tag.terms.en.html tags/terms.en.html theme/tags/terms.en.html tags/list.en.html theme/tags/list.en.html tags/tag.terms.html theme/tags/tag.terms.html tags/terms.html theme/tags/terms.html tags/list.html theme/tags/list.html taxonomy/tag.terms.en.html.html theme/taxonomy/tag.terms.en.html.html taxonomy/terms.en.html.html theme/taxonomy/terms.en.html.html taxonomy/list.en.html.html theme/taxonomy/list.en.html.html taxonomy/tag.terms.html.html theme/taxonomy/tag.terms.html.html taxonomy/terms.html.html theme/taxonomy/terms.html.html taxonomy/list.html.html theme/taxonomy/list.html.html taxonomy/tag.terms.en.html theme/taxonomy/tag.terms.en.html taxonomy/terms.en.html theme/taxonomy/terms.en.html taxonomy/list.en.html theme/taxonomy/list.en.html taxonomy/tag.terms.html theme/taxonomy/tag.terms.html taxonomy/terms.html theme/taxonomy/terms.html taxonomy/list.html theme/taxonomy/list.html tag/tag.terms.en.html.html theme/tag/tag.terms.en.html.html tag/terms.en.html.html theme/tag/terms.en.html.html tag/list.en.html.html theme/tag/list.en.html.html tag/tag.terms.html.html theme/tag/tag.terms.html.html tag/terms.html.html theme/tag/terms.html.html tag/list.html.html theme/tag/list.html.html tag/tag.terms.en.html theme/tag/tag.terms.en.html tag/terms.en.html theme/tag/terms.en.html tag/list.en.html theme/tag/list.en.html tag/tag.terms.html theme/tag/tag.terms.html tag/terms.html theme/tag/terms.html tag/list.html theme/tag/list.html _default/tag.terms.en.html.html theme/_default/tag.terms.en.html.html _default/terms.en.html.html theme/_default/terms.en.html.html _default/list.en.html.html theme/_default/list.en.html.html _default/tag.terms.html.html theme/_default/tag.terms.html.html _default/terms.html.html theme/_default/terms.html.html _default/list.html.html theme/_default/list.html.html _default/tag.terms.en.html theme/_default/tag.terms.en.html _default/terms.en.html theme/_default/terms.en.html _default/list.en.html theme/_default/list.en.html _default/tag.terms.html theme/_default/tag.terms.html _default/terms.html theme/_default/terms.html _default/list.html theme/_default/list.html]
WARN 2018/01/26 18:20:02 [en] Unable to locate layout for "404": [404.html]
| EN
+------------------+-----+
Pages | 17
Paginator pages | 0
Non-page files | 0
Static files | 136
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Total in 83 ms
Hi @appernetic ,
There are some errors when starting the example site, but it works well.
git clone https://github.com/appernetic/hugo-bootstrap-premium
cd hugo-bootstrap-premium/exampleSite
mkdir themes; cd themes;
ln -s ../../../hugo-bootstrap-premium
cd ..
hugo server
Started building sites ...
ERROR 2017/05/12 17:30:03 error processing shortcode _internal/shortcodes/relref.html
ERR: template: _internal/shortcodes/relref.html:1:76: executing "_internal/shortcodes/relref.html" at <relref .Page (.Get 0...>: error calling relref: No page found with path or logical name "tutorials/installing-on-windows.md".
ERROR 2017/05/12 17:30:03 error processing shortcode _internal/shortcodes/relref.html
ERR: template: _internal/shortcodes/relref.html:1:76: executing "_internal/shortcodes/relref.html" at <relref .Page (.Get 0...>: error calling relref: No page found with path or logical name "tutorials/installing-on-mac.md".
Wei
I got this error when using the theme with the exampleSite config file:
Building sites … ERROR 2018/08/02 11:22:12 Failed to add template "theme/partials/base/imports.html" in path "/home/ubuntu/newsrv/repo/github_17408926/appernetic-hugo-project/themes/hugo-bootstrap-premium/layouts/partials/base/imports.html": template: theme/partials/base/imports.html:7: function "resources" not defined ERROR 2018/08/02 11:22:12 Failed to add template "theme/partials/base/scripts.html" in path "/home/ubuntu/newsrv/repo/github_17408926/appernetic-hugo-project/themes/hugo-bootstrap-premium/layouts/partials/base/scripts.html": template: theme/partials/base/scripts.html:10: function "resources" not defined ERROR 2018/08/02 11:22:12 theme/partials/base/imports.html : template: theme/partials/base/imports.html:7: function "resources" not defined ERROR 2018/08/02 11:22:12 theme/partials/base/scripts.html : template: theme/partials/base/scripts.html:10: function "resources" not defined ERROR 2018/08/02 11:22:12 Error while rendering "page" in "post/": template: theme/_default/single.html:1:3: executing "theme/_default/single.html" at : error calling partial: template: theme/partials/head.html:10:5: executing "theme/partials/head.html" at : error calling partial: template: "theme/partials/base/imports.html" is an incomplete or empty template
How can I solve this?
Building my site using hugo-bootstrap-premiums works fine with Hugo 0.47, but with Hugo 0.48 I get the following error:
Error while rendering "taxonomy" in "": template: _default/list.html:7:31: executing "_default/list.html" at <.Paginator.Pages>: undefined variable: $index
Any ideas why that might be?
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.