zzossig / hugo-theme-zzo Goto Github PK
View Code? Open in Web Editor NEWMake a blog with hugo zzo theme!
Home Page: https://themes.gohugo.io//theme/hugo-theme-zzo/en/
License: MIT License
Make a blog with hugo zzo theme!
Home Page: https://themes.gohugo.io//theme/hugo-theme-zzo/en/
License: MIT License
How to automatically generate archive page content, just like the hugo-theme-zzo demo archive url. I try to read all the configuration of hugo-theme-zzo, but can't find where to change the configuration to make it work.
The toc display on PC is the same as here Markdown Syntax Guide – Hugo Zzo Theme
The go to top button on the mobile seems to behave strangely. When I select "中文",
the first post looks like this,
I have an issue with my images when I click on them, but it doesn't look like I can reproduce using: https://themes.gohugo.io/theme/hugo-theme-zzo/en
Anyway, this is what I get :
Note: it looks like it works sometimes so I don't think it is a path issue but maybe an async load issue?
我发现在params.toml启用baiduAnalytics后会出现下面的错误:
GET https://hm.baidu.com/hm.js?**************************************
net::ERR_SSL_PROTOCOL_ERROR
说明:这个错误会在google中出现
Theme selector footer is still visible on About and Posts pages (and likely similar pages) when enableThemeChange config options is set to false.
When it is visible, the selector still contains all themes originally in themeOptions array, regardless of how many are actually there in the file.
hi, I found that my article only shows one level of directories, but I added multiple levels.
config.toml contains a parameter "enableGoToTop". If it is set to true (like in the example site), there still doesn't seem to appear any button, symbol or link to jump to the top of the page. But then, maybe that's not the meaning of this parameter?
??
Followed the steps in readme.
Deleted the config.toml file and created the config folder at the root. Added default as child to this config folder and then later added 4 config files.
When attempting to run hugo server -D
I get the below error:
Unable to locate config file or config directory. Perhaps you need to create a new site.
Run `hugo help new` for details.
most hugo blogs do this and it would be be helpful!
Hello
I use zzo. Thank you.
In the dark theme of zzo, when the syntax is emphasized, the text is hard to see.
Please, can you change the color to emphasize?
The reason is that the highlighting color #ffffcc
and the syntax text color are very bright.
I am using custom.scss
setting and changing it to #ff6188
.
The reason is that it is the same color as the table of contents.
But this color is not very good.
Many styles have a dark background and white or near-white text.
api, dracula, fruity, monokai, native, paraiso-dark, rrt, swapoff, solarized-dark256, vim, solaized-dark (?
)
I think you are busy, but please check it out.
google_analytics = "<my-id>"
It doesn't seem to work.
Google tag assistant prompt:
result of Tag Analysis : 2 In total 2 Errors.
Where to optimize : No HTTP response detected
Ideally only the posts pages should be shown in the Home page list.
However sometimes it is required to not show some pages i.e talks pages shouldn't be shown in the Home Page list.
There should be a way to set this up in configuration.
Some discussion regarding this was done in issue #56
Reveal.js is awesome. I feel that I must include this feature in this theme.
I noticed favicon change only works with favicon.png
. I had favicon.ico
and it wouldn't pick it up, unless I added favicon.png
.
Ideally it should pick .ico
first and then .png
.
I really like the way the archive page is setup and styled (grouping by year). Thank you for putting in the effort in that.
I would also like to have a similar page for Talks/Sessions. The idea is to be able to provide a list of items with their url, something like the menu.en.toml
file which is then rendered grouped by year/year-month. The links don't need to be relative to the blog, but rather open as new page.
Some relative fields for talks would be:
I appreciate your work and would like to know how I can help here. If you can point me in the right direction, I can contribute back whenever I have the time.
Whenever using the "Search" feature, clicking an item in the list does not send the browser to that page. But if you use the arrows to select an item and press "Enter," it will send the browser to the highlighted item.
Styles show up a fraction of second later on demo site
I have already tried placing background.jpg
under static/images/header/
Hi zzossig,
according to this code, mermaid only renders "odd" markdown blocks
I notice your comment as below
// mermaid Fix Mermaid.js clash with Highlight.js.
Basically, what it means is ability to add talks that will be happening in the future i.e are upcoming.
Usually speakers would get selected and will have a talk in a few months. This will allow them to list those talks up on the page too.
Thank you!
I found that Hugo's build in syntax highlighing is so much faster than prism.js. So, I decided to use it instead using prism.js.
Can you add friend chain function.thx 思密达
Are the menu pages (contact, archive, about) supposed to be listed on the summary page (aka home page)? It would be better if they were not listed, the summary page should just be a list of blog posts.
Hello,
Is it possible to specify the order the pictures in a gallery are shown, as well as specify a caption for the picture?
The line in question: https://github.com/zzossig/hugo-theme-zzo/blob/master/layouts/partials/footer/site-footer.html#L7
If you set showPoweredBy = false
then the below line also is hidden:
©2019, All Rights Reserved
What it should do:
Keep this line and only hide: Powered by Hugo and the Zzo theme
This Github repository fails to give proper attribution to the theme(s) that it copies/derives from.
As this project appears to be (at least in part) a derivative work of the Academic theme, please keep the original Academic license and copyright notice packaged in your distribution, as per Academic's MIT license. You had the license file, with copyright notice, packaged until recently when you defaced the Academic license/copyright.
Also, Hugo Themes Site enable you to properly attribute original work that a project is partially based on by editing themes.toml
. For example,
[original]
name = "Academic"
homepage = "https://sourcethemes.com/academic/"
repo = "https://github.com/gcushen/hugo-academic/"
Please kindly revert your defacement to Academic's license and copyright notice.
Hello! First of all, thank you for developing this theme; it is beautiful.
I have a feature suggestion for Table of Contents for its default state.
Can we have another configuration, such as enableToc
, to set the default state? May be tocDefaultState
. When that is false, single page is ToC is enabled but turned off by default.
Let me know if you need any help; I'm new to Go, though.
Thanks again.
I want to add Chinese social icons, but there is a problem with the svg picture display.
HI,
I am trying to add images to a post, but the url generated in HTML does not use the BaseURL /blog/
Thanks
MD :
featured_image = "/whoami/avatar.jpg"
+++
{{< img src="/whoami/avatar.jpg" >}}
{{< img src="/images/whoami/avatar.jpg" >}}
HTML :
src="/whoami/avatar.jpg"
src="/images/whoami/avatar.jpg"
while the avatar and featured_image using it :
src="/blog/images/whoami/avatar.jpg"
HI,
Would it be possible to use only one overridable logo.svg file ?
it could also be used for the icon
for the moment I have replaced it in :
themes\zzo\layouts\partials\navbar\site-nav.html
thanks
steam and telegram,thx
Please add the update time of the article, Consider the following ways
You can refer to this link https://gohugo.io/variables/git/#lastmod
for example
```
{{< ref "document.md" >}}
{{< ref "#anchor" >}}
{{< ref "document.md#anchor" >}}
{{< ref "my-post" >}}
{{< ref "my-post.md" >}}
{{< relref "document.md" >}}
{{< relref "#anchor" >}}
{{< relref "document.md#anchor" >}}
```
Will be expanded like this
```
http://localhost:1313/en/posts/document/
#anchor
http://localhost:1313/en/posts/document/#anchor
http://localhost:1313/en/posts/my-post/
http://localhost:1313/en/posts/my-post/
/en/posts/document/
#anchor
/en/posts/document/#anchor
```
Hi,
Would it be possible adding a contact form using formspree.io like the quick-start theme ?
https://themes.gohugo.io/gohugo-theme-ananke/
Thanks
Best regards
Seb
Set up in /root/layouts/partials/valien.html as well as in /root/config/_default/params.toml
All selected "true" or enable. but there is no visitor numbers on any pages.
Any ideas?
Your theme is awesome, BTW
Hello, it would be possible to add social icons for mastodon and gitlab, thanks
Copyright config in config.toml
is not working.
Seems like it is hardcoded.
hugo-theme-zzo/layouts/partials/footer/site-footer.html
Lines 27 to 29 in b4c2a22
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.