thenewdynamic / gohugo-theme-ananke Goto Github PK
View Code? Open in Web Editor NEWAnanke: A theme for Hugo Sites
Home Page: https://gohugo-ananke-theme-demo.netlify.com/
License: MIT License
Ananke: A theme for Hugo Sites
Home Page: https://gohugo-ananke-theme-demo.netlify.com/
License: MIT License
Hi @budparr, this is a nice theme. I like the idea that it's for teaching. People could use that.
Along that line, one idea is: include both the production zipped assets (css/js) and, an unzipped version, so people can see how it works and the difference b/w a minified/zipped and non-minified.
Regards
This will improve performance.
In hugo site, the demo pic shows About
and Articles
pages.
How to do that? Can I create arbitrary number of pages with arbitrary names? I am 100% new to Hugo
. Is this a theme specific question or a Hugo question?
The Hugo doco says that keywords
is a known parameter, but they seem to be ignored in the ananke templates?
Hello! I've been using this theme on my personal blog, https://rcoh.me and it's been great. Along the way I've added some features that I'm happy to bring upstream of you're interested:
Currently HLJS is cued off of the class language-html
or other appropriate language. Code blocks only get that class if they're wrapped in a short-code, and handling of the shortcode is inconsistent through the docs, leaving many left without highlight.
So either we need to find a way to apply hljs to generic code that doesn't have that class or apply the shortcode uniformly to the code.
In-line code examples
First thing I wanted to customize was the font. Ran straight into gohugoio/hugo#3505
Currently, dates are only show on article pages for content in the post
directory. Some people don't want to use that file structure for posts, but still consider them posts. We need to make this more flexible.
As brought up in #85
hi,
please add support for this.
mbana-mb:cv mbana$ ll
total 24K
drwxr-xr-x 2 mbana staff 170 Aug 22 15:07 .
drwxr-xr-x 5 mbana staff 204 Aug 22 15:01 ..
-rw-r--r-- 1 mbana staff 577 Aug 22 15:07 _index.md
-rw-r--r-- 1 mbana staff 1020 Aug 22 15:11 cover-letter.md
-rw-r--r-- 1 mbana staff 13K Aug 22 15:10 resume.md
in resume.md
i want all the headings to show up on the right-hand side of the page. currently it only lists the other pages in the same directory.
Thanks a lot,
Why i can`t see the description values , and when i change my browser,the end of the page became the middle of the page??
WARNING: Page's Now is deprecated and will be removed in a future release. Use now (the template func).
Thanks for developing the theme, I find it very nice and functional.
I only have one small gripe: the them does not display the dates of blog posts. In the demo there seems to be the same issue: even though the markdown files have the date information, it is not displayed.
Is there some setting I can tweak to show the date on the blog posts?
Love the style. Just made my personal website with it. Are there any plans to support LaTeX in the future? Or is that feature already supported?
From this issue:
gohugoio/hugoThemes#247 (comment)
ERROR 2017/05/23 13:20:17 Error while rendering "home": template: <myproject>/themes/gohugo-theme-ananke/layouts/index.html:34:27: executing "main" at <after 3 $section>: error calling after: no items left
Is it possible to invert the linkedin icon, so that it is visible like the other icons on dark backgrounds?
Hi @budparr,
I've been playing with Hugo+Ananke, and I really like it. I do have one question: is there an easy way to resize the header? I would like to make it a bit shorter so it doesn't take up so much space. I gather that it should be possible by reconfiguring some CSS parameter, but I'm not fluent enough to figure it out.
Thanks in advance, and thanks for your work on the theme!
I'm a bit of a newbie with hugo, but I can't figure out how to modify the width of the default content in your theme.
I see the layout here: https://github.com/budparr/gohugo-theme-ananke/blob/master/layouts/_default/single.html
It's my understanding that I'd override the layout in /layouts/_default/single.html
.
My goal is to provide more width by default in order to embed Tableau Public charts.
An example of my test embed is here: https://leagify.github.io/quicktest/posts/my-first-post/
Any help you are willing to provide is appreciated.
Hi @budparr!
First of all, many thanks for developing Ananke!
I'm not a developer, just a pretty beginner with Hugo, and I was wondering if you are considering comments deployment in your theme. I've tried to figure out how reading Hugo's documentation, but I can't solve it.
Thanks again!
Best regards!
For instance, this line has a coded text color and it should be either inherited or configurable
https://github.com/budparr/gohugo-theme-ananke/blob/master/layouts/post/single.html#L21
n.b. https://discourse.gohugo.io/t/change-text-color-in-ananke/9740/3
It would be nice to include support for a site logo image parameter. One possibility might be a modification to the BaseURL link in site-navigation.html like this:
<a href="{{ .Site.BaseURL }}" class="f3 fw2 hover-white no-underline white-90 dib">
{{ if .Site.Params.logo }}
<img src="{{ .Site.Params.logo }}" class="v-mid" />
{{ end }}
{{ .Site.Title }}
</a>
Right now the featured image is a string, but Hugo's embedded templates look for an array of images
.
Users have solved the problem by using Page Resources which both Hugo and Ananke support. But we should probably look for an array of images
on top of our featured_image
string.
I'm soon going to rewrite the theme to improve it based on user input and my own experiences.
The list of things to do/consider is here: https://github.com/budparr/gohugo-theme-ananke/projects/1
If you want a feature that's not already on the list, leave a note here in the comments.
Thanks
See
See also carmenbianca@395981a
I'm not quite sure what's wrong though. Copy+pasting the raw HTML formats it correctly, so there's probably something in the CSS, maybe.
What does app.bundle.js do?
so it show on some of the filters on the Hugo themes site.
Hello,
I think it would be nice to parameterize the number of recent posts to display in index.html
instead of hardcoding to 3
in {{ range (first 3 $section) }}
. Something like:
[params]
recent_posts_number = 5
in config.toml
to replace 3
in index.html
.
Let me know if you would like me to submit a pull request for this.
Thanks,
David
I imagine this is a general question for Hugo and not just for this theme, but I am trying out Hugo for the first time and am trying to use this theme. In the demo page I see "About" "Articles" "Contact" but I don't have any menus like that in my site. How do I configure them? I have created a section or two, but they don't seem to show on the main index page of my site. Where can I configure this, or should it be automatically generated somehow?
The contact form shows the error message "Must be a valid email address." even if no email address was entered yet.
I was confused by the size of my "featured_image" images changing to much smaller size on my index page seemingly at random.
I then figured out that my latest change introduced description text that included URL links in this format:
_The morning of a Packer Game - [The NFC Championship in Green Bay before Super Bowl XXXI](http://www.pro-football-reference.com/boxscores/199701120gnb.htm)._
If I include text like this before the <!--more-->
separator, things get wonky. If I include only text before the <!--more-->
, everything returns to normal. Right now, that's my workaround, but it'd be nice if this was fixed.
Hi,
When including two figures in a page, is there a way to get them to appear side by side instead of sequentially? It is my understanding from reading the main hugo pages that this should happen naturally if the lines are written with no space between them:
But they appear one after the other. Is there a way to override this?
Thanks!
Hi,
Does ananke impose a width on all figures and if so, is there a way to override this? I tried using
{{< figure src="/images/furnace.jpg" width="500px">}} within one of the .md files.
But this doesn't change the figure size.
I also tried just saving the figures as a smaller size, but hugo just enlarges them to keep them the same size (just lower resolution).
Please advise how I can change the figure size!
Thanks!
This theme bundles 4.7.1
Hi,
wanted to try HUGO following https://gohugo.io/getting-started/quick-start/ but get
$ hugo server -D
Started building sites ...
ERROR: 2017/09/19 10:05:46 template.go:495: Failed to add template theme/partials/site-footer.html in path /home/USERNAME/hugotest/themes/ananke/layouts/partials/site-footer.html: template: theme/partials/site-footer.html:4: function "now" not defined
ERROR: 2017/09/19 10:05:46 template.go:529: template: theme/partials/site-footer.html:4: function "now" not defined
ERROR: 2017/09/19 10:05:46 general.go:236: theme/partials/site-footer.html is an incomplete or empty template
Built site for language en:
0 draft content
0 future content
0 expired content
1 regular pages created
2 other pages created
0 non-page files copied
1 paginator pages created
0 tags created
0 categories created
total in 40 ms
Watching for changes in /home/USERNAME/hugotest/{data,content,layouts,static,themes}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
^C
I work with HUGO version provided by Debian 9.1:
$ hugo version
Hugo Static Site Generator v0.18.1 BuildDate: 2016-12-30T17:01:10+01:00
Is the stable repository version of HUGO to old to work with HUGO standard template?
Thx
sj7
When running in localhost with hugo server, hero image cannot be found and sometimes isn't even looked for.
Have tried:
Did I fall asleep in class and just miss something? ๐ด
I don't think the featured image is ever taken from the root config.toml file though - it is only acquired from the front matter on content files. This is a little confusing for first-time users.
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.