emielh / tale-hugo Goto Github PK
View Code? Open in Web Editor NEWA port of the Tale theme for Hugo. Tale is a minimal theme curated for storytellers.
Home Page: https://themes.gohugo.io/tale-hugo/
License: MIT License
A port of the Tale theme for Hugo. Tale is a minimal theme curated for storytellers.
Home Page: https://themes.gohugo.io/tale-hugo/
License: MIT License
I wish there was another function that shows how long the blog post takes to read on average, depending on the post length.
I wish there was a config.toml
to make it easier to get started with this very, very minimalist and, in my opinion, very simple theme.
It currently is impossible to use Markdown in the summary variable in page frontmatter. Make sure Markdown in the summary variable is parsed.
This issue split off from #21.
---
...
summary: It's built [hugo](https://gohugo.io/), a very simple yet powerful static site generator framework and the [tale](https://themes.gohugo.io/tale/) theme.
---
<!--more-->
---
...
---
It's built [hugo](https://gohugo.io/), a very simple yet powerful static site generator framework and the [tale](https://themes.gohugo.io/tale/) theme.
<!--more-->
By default, each post has an <h1>
tag on the homepage listing of blog posts. This is incorrect from an SEO perspective. There should only ever be one <h1>
tag on a page.
On the home page, the blog title should be the <h1>
and the blog post list should have <h2>
.
We have recently switched https://github.com/bespinian/blog to this theme and are very happy with it. However, Google Analytics stopped to work. Does Tale officially support Google Analytics or can we add that as a feature?
The favicon will not displayed when deployed to github pages.
I checked the source code of html:
link rel="icon" type="image/png" sizes="16x16" href="https://81app.github.ioimages/favicon-16x16.png"
hugo server
Building sites … WARN 2019/09/23 13:33:41 In the next Hugo version (0.58.0) we will change how $home.Pages behaves. If you want to list all regular pages, replace .Pages or .Data.Pages with .Site.RegularPages in your home page template.
After updating hugo to v >= 0.58, the home page lists the top level pages, instead of the ones in /content/posts. Changing
-{{ range (.Paginate .Pages).Pages }}
+{{ range .Site.RegularPages }}
in /layouts/index.html preserves the existing behavior.
Update: To preserve the paginanion
{{ $paginator := .Paginate (.Site.RegularPages) }}
<div class="catalogue">
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
</div>
Could a dark mode be implemented in the theme?
Currently, only Google Analytics v3 (UA) is supported. We should add support for v4 by using template "_internal/google_analytics.html"
instead of template "_internal/google_analytics_async.html"
.
As the title says
Hi,
I just installed this and I seem to be having an issue displaying posts and the about page, do you have any ideas as to what might be happening? Even tho I have posts in my posts folder when i load the server nothing appears in the list. Similarly it does not seem to detect that I have an about page. Thanks for the help!
Hello,
I'm interested in adding additional pages to my site that one navigates to from the header of the page, similar to an About page. Can you provide additional guidance on how to achieve that? All my attempts have failed so far. My pages are showing up as additional blog posts.
Thanks!
I am still having the problem that the about page shows up on the index page as a blog post. Even when I try content/about/_index.md... does anyone know the solution? I tried reverting to a previous commit when this post was made and the problem is still there. It seems like all files in contents get displayed as blog posts. Does anyone know how to fix this?
Hi @EmielH
It seems that your recent commit 40be04b has broken your theme demo on the Hugo Site.
When I execute the Themes Site Build Script there is the following error despite the committed /resources/
directory:
ERROR 2018/09/07 21:14:52 error: failed to transform resource: TOCSS: failed to transform "scss/tale.scss" (text/x-scss): this feature is not available in your current Hugo version
You theme's demo was once again generated when I reverted your commit so that line 21 of your head.html
partial reads as follows:
{{ $style := resources.Get "scss/tale.scss" | toCSS | minify }}
Can you please look into this?
Thanks.
CC / @digitalcraftsman
I like this theme a lot, but would like to tweak it a little bit. Is there a way to add my own stylesheet in order to override some of the existing rules or add new ones?
Hiya @EmielH, many thanks for porting this theme to hugo and having it well organized!
Is there a single method to override the theme's colors in the tale/assets/tale/*.scss
files or do they have to be painfully iterated manually?
I see hugo has mechanisms to override layout rules via Hugo's Lookup order and was wondering if this theme allows for any similar mechanism for colors.
If not, I'll happily implement a way that will, at minimum, let users define a dark and light theme and let them further extend it to any custom color theme.
BTW I don't actually know hugo or frontend development but the way you laid everything out is so easy to follow. This would be a good "first issue" to get familiar if there is no existing way implemented yet.
Hi there! Really lovely work. I've used this theme to deploy a blog I hope to build a literary journal around, but I'm a little confused on some of the configuration. I'm not sure if there's a better home for these questions, so I figured I'd post here. If you'd prefer I remove and contact you directly, let me know.
content
directory, is it possible to hide that from the rest of the posts and only show on the about page?layouts
and partials
folders, but I couldn't exactly tell what should be modified.Thanks so much!
Hi,
Is it possible to customize the fonts? I tried with customized CSS param but I couldn't get any result?
Thanks
I'm very happy with the introduction of the GDPR-compliant update in #30, which was something that I, up until now, implemented myself by overriding the default template. Unfortunately, the fonts.css
requires the fonts
folder to be located in the domain's root, which is not always the case. My blog, for instance, publishes the blog to /steven.
I believe that the fix is simple. Just change all urls in the fonts.css
from /fonts/libre...
to ../fonts/libre...
.
Example:
Current css:
url('/fonts/libre-baskerville-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
Needed css:
url('../fonts/libre-baskerville-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
If you like, I can create a PR for you.
Changing values in _syntax.scss
has no effect on the code's syntax highlights.
When building the site, the default style is always "monokai" as mentioned in Hugo's Configure Markdown Goldmark Highlight section.
The only way I've managed to change theme is by including the following in config.toml
[markup]
[markup.highlight]
style = "solarized-dark256"
Is there a parameter that needs to be set in config.toml
to use what is defined in _syntax.scss
? It is not mentioned in the README
. sorry for the noob issues :|
instead of having header-menu.html
as a partial, could we use Hugo Menus instead? I'm interested to hear what you think, I'm happy to work on this as a PR.
I am trying to understand the difference between these fields.
# Needed for copyright in footer
[Author]
name = "Alex Ordonez"
# Needed for "written by" in post-info
[Params]
Author = "Alex Ordonez"
I created the about page by the command hugo new about.md
but noticed that the post is added to the index of the blog while it shouldn't. What is the correct way to do it?
Hi,
Is it possible to configure the number of lines to be shown in a post preview? I mean something like this:
# config.toml
[param]
LinesPreview=3
Hi @EmielH
Posts (on the summary page) seems to be aligned one next to the other, instead of one above the other when the post short text is too... short.
I locally fixed the problem fixed by adding a <br/>
at the end of layout/_default/summary.html
but I don't know if it's the right thing to do...
Thanks :)
i don`t know how to config
Could you clarify how to generate a tags page like in the demo here?
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.