vimux / binario Goto Github PK
View Code? Open in Web Editor NEWResponsive card-based & code-light Hugo theme
Home Page: https://binario.netlify.com
License: MIT License
Responsive card-based & code-light Hugo theme
Home Page: https://binario.netlify.com
License: MIT License
As per https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference
If I include dateFormat = "January 02, 2006 13:00"
in config.toml
, and 2019-06-23T10:33:31+02:00
in my post's front matter, I expect to see June 26, 2019 10:33
in the resulting html but the result is June 26, 2019 69:00
.
Is this a bug in layouts/partials/post_meta/date.html
or am I misunderstanding something?
I noticed that google search console shows me some Page with redirect
entries and all of them point to urls that can be accessed from the post list. So for instance there's
https://morfikov.github.io/categories/linux
and it should be
https://morfikov.github.io/categories/linux/
This can be fixed by (I think) adding the missing slash in 'themes/binario/layouts/partials/entry/meta/categories.html'
in the 5th line:
<a class="meta-categories__link" href="{{ "categories/" | relLangURL }}{{ . | urlize | lower }}" rel="category">
vs.
<a class="meta-categories__link" href="{{ "categories/" | relLangURL }}{{ . | urlize | lower }}/" rel="category">
Hi. Can change the theme from dark to light? And how?
I would like to add this open source analytics to my blog, but it doesn't identify the analytics,
In config file theme set is "binario" but it require to be "Binario"
Is there a way to make the first paragraph of an article to be in the post summary?
Is it possible to set different column numbers for tags/categories and post view?
Is there something like archive page, where all post names are listed and grouped by year/month?
Is there a tag cloud?
Hey :) Very nice theme! Well done :D
I am wondering whether it is possible to use a theme on a subpath, so:
Do you know whether this is possible at all ?
hello, hi !!! Binario is fun and cool !
I tryed to configure multilingual mode in binario. I order to that :
baseURL = "https://example.com/"
title = "Coh@bit - Fablab"
languageCode = "fr"
paginate = 10
theme = "binario"
[Params]
description = "le Fablab de l'université de Bordeaux"
columns = 2
mainSections = ["post"]
dateFormat = "January 02, 2006"
DefaultContentLanguage = "fr"
defaultContentLanguageInSubdir = true
[languages]
[languages.fr]
contentDir = "content/french"
languageName = "Français"
weight = 1
[languages.en]
contentDir = "content/english"
languageName = "English"
weight = 2`
```
Then I run hugo server, no error returned, but Site still use english file contents. Did I missed something?
Tags list in a single page don't show some page tags because of urlized characters.
tags:
- "Révolution française"
Tag "Révolution française" don't show up.
Tag "Révolution française" displays in tags list like others.
Caused by 077ae03
My articles have the "C#" tag, but the tags don't have it. Also, "C#"is not shown in categories.
And if you type /tags/C# in the browser address bar, the page 404 is displayed.
As I understand it, this is a bug. How is this resolved?
P.S. I'm not good at web design. But I liked your theme.
Hi, I tried you theme today. The Rmd post does not work like the other md posts. bg color is white and UTF-8 also does not work. Seems that the HTML head is not the same than with md.
Maybe this has something to go with blogdown 1.2.
In the RStudio viewer everything seems well, but if I transfer the public folder to my webspace, the bug comes up.
Hi,
can you please add support for a Mastodon share button? And it would be great, if you could also add support for the Mastodon verification link, so that the link is added to the header or footer. Currently I had to add it by myself into the footer.html.
Thank you!
Discord support for the social icons would be great ...
Is there a way for me to change the favicon from the default icons without editing the theme itself?
A few weeks ago, I received an email from Disqus saying the following:
Hi there,
Thanks for using Disqus! Your site was recently approved for ads, but we noticed that you don’t currently having any campaigns running. If you’d prefer a non-ads supported plan, you can choose between either of our ads-free plans here:
Plus - $12/month or $11/month with our yearly discount Pro - $115/month or $105/month with our yearly discount
browse plans
Each of these plans comes with an ads-free version of Disqus and our Pro plan offers a variety of additional engagement features. You can review these options from your Subscription and Billing page.
Thank you,
Basically if you're not going to pay them, there's no way to use Disqus without serving intrusive adds in the comments section. I've always been having an adds free blog, and I wanted it to stay in this way. Currently I had to disable comments on my blog, and look for some Disqus alternative, but the Binario theme currently doesn't support any other comment system.
I wanted to ask whether are there any plans to make such support?
The internal Hugo template google_analytics_async.html
no longer works because Google has removed the version of Google Analytics it uses. Newer Hugo versions (>=v0.119.0) already warn about this.
WARN _internal/google_analytics_async.html is no longer supported by Google and will be removed in a future version of Hugo
The other, regular internal Hugo GA template (google_analytics.html
) that we use, already handles Google Analytics 4 in an asynchronous way. So, it's time to remove the async GA include.
Original reported to gohugoio/hugo#6613
hugo version:
Hugo Static Site Generator v0.60.1/extended darwin/amd64 BuildDate: unknown
OS: MacOS Catalina 10.15.2
Theme update to latest with:
git clone https://github.com/Vimux/Binario.git
No modification.
Live URL: https://johnsiu.com/blog/k8s-installation/
Raw md: https://raw.githubusercontent.com/J-Siu/johnsiu.com/master/content/blog/k8s-installation.md
Theme: https://github.com/Vimux/Binario (latest pull master)
I added following in my config.toml:
[markup]
[markup.tableOfContents]
endLevel = 10
startLevel = 3
The ToC does not nest/indent correctly:
The 3 lines in red rectangle are level 4 and should be indented.
PS: I tried using the default(removing the markup section) and reduce all headers by 1 level but result is the same.
If I enable toc, the "Table of Contents" will show but empty if expended.
In config file theme set is "binario" but it require to be "Binario"
How can the height of the post excerpt be smaller and the same height?
Thank you~
Hello. Just discovered hugo and binario theme is the best way to write a great website for a great chess club (Amateur Chess Club Lupiae 1970 from Lecce, Italy!!! .... little advertising!!!!! :D) Me and my friends are asking ourselves if it s possible what we ask in the title... In order to have a card very wide (e.g. with a photo attached) and then to not have the adjacent cards , in which just two lines are written, taking the height of the bigger card. Thanks and we apologize if this place was not the best to make a question like that.
Andrea
Hello,
I'd love it if Binario supported the title
function, so that I can set my article titles to always use Chicago or Go or AP style.
Thanks,
I tried to create a custom css file within the site's static/css
folder with the following content:
.breadcrumb__item::after {
display: block;
margin: 0 .3125rem;
content: "/";
}
This had no effect. What am I missing?
Having the separator character as a configurable param in config.toml would be nice. Could anyone give me some orientation on how could it be implemented?
Been digging for a bit I cannot find anything conclusive.
Is there anyway to change the background color of highlight blocks? I'd like something a bit Darker for the default Binario dark theme.
I've tried setting the background-color
in main.css in pre
or code
but it doesn't seem to change. Looking at the page source, it seems to set 272822
as the color code but I cannot find any reference to that value in the code.
I'll play around a bit more to see if I can figure it out.
The Chromium console states: "Error while trying to use the following icon from the Manifest: http://localhost/icons/192.png (Download error or resource isn't a valid image)"
How do I specify the icons for the manifest file in the config (toml in my case)? I find that one is being generated:
{
"name": "Binario",
"short_name": "Binario",
"display": "browser",
"background_color": "#2a2a2a",
"theme_color": "#1b1b1b","description": "Responsive card-based & code-light Hugo theme","orientation": "portrait","start_url": "/","scope": "/",
"icons": [
{
"src": "icons/192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icons/512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
I'm not sure where the 192 and 512 versions are specified and for some reason Chromium says it can't find the one in icons/192.png... though it appears to be there.
After upgrading to newest hugo server, it looks like index.html isn't build properly. It just shows "Posts" and not the list/index of my posts.
config.toml hasn't been changed. And when I click on the "Posts" link the list of posts look like this:
Also, regular HTML links do not show as links - only the text is shown.
My public version still looks OK: zartmann.dk
I have add the description params in my config.toml and sended to my blog, but the google chrome lighthouse acuse my blog with seo (89) with message:
Document does not have a meta descriptionDescription text is empty.
Meta descriptions may be included in search results to concisely summarize page content. Learn more.
Can we have a pinterest share button also?
Thank you!!
Hello there does this project support multi languages, saw the folder but no description in the intro and nothing in the demo like a language switch. Thanks
I was testing nginx /404.html configuration and discover the "Go back to main page" link has not effect.
I tried on both my site and your demo, same result:
This is a feature request. While this is something which can be implemented by sites using the theme, it would be nice to have this support in the theme itself.
The idea is to have what sk3 is using in the enableUserCanonical
parameter.
I found that this is needed in order to overcome an issue with Google Search Console, where public sites which refer to my site do so by adding a URL parameter, which generates an indexing error in Google Search console.
See discussion here: https://support.google.com/webmasters/thread/216999759/
The code potential change is minimal, and would require adding more documentation on top of it in order to create a clean PR.
https://gist.github.com/bugok/57addf42a5a47ae8e5594bb8af242386
I'd be happy to submit a PR for this myself, I'm opening this issue to understand if @Vimux thinks this is a good idea or not. If it's a good idea - please let me know how you'd like the PR to look in terms of expected changes, and testing.
Thanks!
Currently, binario makes the assumption that mastodon users use the mastodon.social
instance. This assumption is incorrect for an estimated 78% of mastodon users. I originally ran into this issue after putting my mastodon username into the config:
[Params.Social]
mastodon = "@[email protected]"
This created a link to: https://mastodon.social/@@[email protected]
The correct link would have been: https://mst3k.interlinked.me/@jadenw
Mastodon usernames are structured as follows:
@username@instance
And user homepages:
https://instance/@username
I think the title describes the problem, I can't put the categories/tags page in the main menu.
Hugo 0.57 breaks how the home section works and causes problems for many themes (including Binario).
Due to the nature of the changes that were introduced in Hugo v.0.57.0 (briefly described in #678 (comment) a great number of theme demos now display empty homepages and/or post lists that point to section lists (instead of individual posts).
Will you accept PR for adding Google AdSense features?
Repo: https://github.com/J-Siu/Binario
Working site: https://johnsiu.com/
When I built my site, I got the following errors:
Building sites … WARN 2019/06/09 19:25:58 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function. WARN 2019/06/09 19:25:58 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 }}. WARN 2019/06/09 19:25:59 Page's .UniqueID is deprecated and will be removed in a future release. Use .File.UniqueID. WARN 2019/06/09 19:25:59 .File.UniqueID on zero object. Wrap it in if or with: {{ with .File }}{{ .UniqueID }}{{ end }}
Not exactly an "issue", but I hope you don't mind. :)
I've been trying for some time to figure out how to re-order the main menu items. I don't know any front-end stuff really. I am using Hugo via an R package called blogdown. I'm usually pretty good at figuring stuff out - taught myself R that way. But I haven't figured this out after a pretty diligent effort (I promise).
So, how do I re-order the items in my main menu?
OS version: MacOS Monterey 12.2.1
hugo version:
$ hugo version
hugo v0.92.2+extended darwin/amd64 BuildDate=unknown
binario version: Running off of commit 2b03419d526ee21e2a325932c96b79d994782dcb
Demo: sources: https://github.com/bugok/blog. Live at https://bugok.github.io/blog/
When changing the line 36 of the config.toml file from meta = ["date", "categories"]
to meta = ["date", "categories", "tags"]
, I get the following error when running hugo
:
0|[noamler@noamler-mbp]:blog (main)$ hugo
Start building sites …
hugo v0.92.2+extended darwin/amd64 BuildDate=unknown
ERROR 2022/03/04 10:21:38 render of "taxonomy" failed: execute of template failed: template: _default/list.html:13:8: executing "main" at <.Render>: error calling Render: failed to execute template ["summary"] v: execute of template failed: template: _default/summary.html:7:5: executing "_default/summary.html" at <partial "entry/meta.html" (dict "page" . "class" "mt tar")>: error calling partial: "/Users/noamler/sources/blog/themes/binario/layouts/partials/entry/meta.html:8:7": execute of template failed: template: partials/entry/meta.html:8:7: executing "partials/entry/meta.html" at <partial $metaFieldPath $page>: error calling partial: partial "entry/meta/tags.html" not found
ERROR 2022/03/04 10:21:38 render of "page" failed: execute of template failed: template: _default/single.html:7:8: executing "main" at <partial "entry/meta.html" (dict "page" . "class" "mb")>: error calling partial: "/Users/noamler/sources/blog/themes/binario/layouts/partials/entry/meta.html:8:7": execute of template failed: template: partials/entry/meta.html:8:7: executing "partials/entry/meta.html" at <partial $metaFieldPath $page>: error calling partial: partial "entry/meta/tags.html" not found
ERROR 2022/03/04 10:21:38 render of "home" failed: execute of template failed: template: index.html:14:8: executing "main" at <.Render>: error calling Render: "/Users/noamler/sources/blog/content/post/im_the_tech_lead_i_can_create_panic.md:8:7": failed to execute template ["summary"] v: execute of template failed: template: _default/summary.html:7:5: executing "_default/summary.html" at <partial "entry/meta.html" (dict "page" . "class" "mt tar")>: error calling partial: "/Users/noamler/sources/blog/themes/binario/layouts/partials/entry/meta.html:8:7": execute of template failed: template: partials/entry/meta.html:8:7: executing "partials/entry/meta.html" at <partial $metaFieldPath $page>: error calling partial: partial "entry/meta/tags.html" not found
ERROR 2022/03/04 10:21:38 render of "section" failed: execute of template failed: template: _default/list.html:13:8: executing "main" at <.Render>: error calling Render: "/Users/noamler/sources/blog/content/post/im_the_tech_lead_i_can_create_panic.md:8:7": failed to execute template ["summary"] v: execute of template failed: template: _default/summary.html:7:5: executing "_default/summary.html" at <partial "entry/meta.html" (dict "page" . "class" "mt tar")>: error calling partial: "/Users/noamler/sources/blog/themes/binario/layouts/partials/entry/meta.html:8:7": execute of template failed: template: partials/entry/meta.html:8:7: executing "partials/entry/meta.html" at <partial $metaFieldPath $page>: error calling partial: partial "entry/meta/tags.html" not found
Error: Error building site: failed to render pages: render of "taxonomy" failed: execute of template failed: template: _default/list.html:13:8: executing "main" at <.Render>: error calling Render: failed to execute template ["summary"] v: execute of template failed: template: _default/summary.html:7:5: executing "_default/summary.html" at <partial "entry/meta.html" (dict "page" . "class" "mt tar")>: error calling partial: "/Users/noamler/sources/blog/themes/binario/layouts/partials/entry/meta.html:8:7": execute of template failed: template: partials/entry/meta.html:8:7: executing "partials/entry/meta.html" at <partial $metaFieldPath $page>: error calling partial: partial "entry/meta/tags.html" not found
Total in 60 ms
Hi,
Thanks for this nice theme!
I would like to change the order of the elements of the menu. How can I do that?
Thanks for your answer.
Best regards
Hi! I'm very new to html. I installed hugo and Binario few hours ago. I'm confused about formating my post. For example I want heading 1 as shown in this https://binario.netlify.app/post/basic-elements/ so I assumed I edit my-post.md like
<h1>Test<h1>
but it didn't work. Need some guidance.
I set the paginate = "10" in my config.toml but in the home page it can't work.
Maybe I'm doing something wrong?
This is my github pages: Click Here
Maybe it can be usefull to allow configuring sub-reddit for share on reddit button ?
I'm using /fantasy/
as my baseurl. CSS and JS are loading fine, however images aren't. I found this thread which suggests that it's a theme issue. Normally I'd try to open a PR but I don't really understand what's going on here so I'm just opening a ticket instead. Is this solvable?
I can't just rewrite the URL in nginx to workaround the issue unfortunately because I'm hosting two separate blogs on my domain, so the other one needs to have the base url work normally.
Thanks!
Here's a link to my site in case it helps - but there's spoilers for several fantasy novels on it, so be careful. The images are meant to break up the spoiler part from the non-spoiler part.
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.