vividvilla / ezhil Goto Github PK
View Code? Open in Web Editor NEWClean and minimal personal blog theme for Hugo
Home Page: https://ezhil-hugo.netlify.com/
License: MIT License
Clean and minimal personal blog theme for Hugo
Home Page: https://ezhil-hugo.netlify.com/
License: MIT License
Markdown will render ˋcodeˋ to <code>code<code>
.
Please also add css to highlight <code>
tag like github markdown.
When I add custom CSS to override that of this theme, it doesn't work.
config.toml:
customCSS = "css/custom.css"
customDarkCSS = "css/custom-dark.css"
And I put the css files in static/css/custom.css
and static/css/custom-dark.css
Terminal while running hugo server
and after I save a change to the CSS file:
Change of Static files detected, rebuilding site.
2020-01-23 18:52:10.351 -0500
Syncing css/custom.css to /
ERROR 2020/01/23 18:52:10 fsync: trying to overwrite a non-empty directory with a file
ERROR 2020/01/23 18:52:10 fsync: trying to overwrite a non-empty directory with a file
The site before I make a change to the CSS shows up, but then after I make a change, it shows this:
Hi!
We at profanity. Started to use your theme for our blog. Here is the git repo.
I'm quite new to hugo. I would like to change two things:
I forked your theme so we will pull all new updates from your repo but can add our changes in case we need any.
Can the changes we would like to have be made in upstream and configured by the user via the config file? If so would you be willing to implement them?
Otherwise we will try ourselves in our repo.
Hi there,
I can't seem to change the default language of the disqus that comes with the theme from turkish to english. How may I do this?
Thank you.
Hi @vividvilla, it would be nice to add the category to a post as well. But before I start working on it, I would like to see what you had in mind.
For example:
It would be great to know what you had planned.
Thanks :)
Changing the content folder's layout to something other than default doesn't adjust the index.html template, causing broken link for hugo sites diverging from default. It's not a big deal, but it definitely surprised me. Extra docs or a new parameter can fix this easily.
Change the content folder to /post
or other "non-standard" folder
My (local) site has the following:
[[menu.main]]
name = "All posts"
url = "/post"
weight = 2
Homepage link "All Posts" points to the new folder /post
Broken link pointing to /posts/
when clicking the "All Posts" link of the home page.
The index.html template has /posts/
hardcoded.
Line 36 in 0e06bb5
Extra documentation? Adding a parameter?
@vividvilla Ezhil is great! Thanks for this template.
Would it be possible to have an icon (presumably somewhere next to the social
items) that would allow for toggling between dark and light modes?
Hi! First of all, nice theme.
Footnotes show properly, but the links don't work. A live example can be seen in this test post
I couldn't find a footnote example in the live demo of the theme, either.
Thanks in advance
EDIT: Hugo version: 0.72
Ezhil's styling for tables at the moment leaves no padding around the content, resulting in rather unreadable tables. Perhaps we could add some padding and/or a light border around the cells?
For example, this:
| filesize | time | memory |
| --------:| -------:| ------ :|
| 100 MB | 0.64 s | 2060 KB |
| 100 MB | 0.62 s | 1816 KB |
| 500 MB | 3.13 s | 2084 KB |
| 500 MB | 1.98 s | 1852 KB |
Looks like this:
Even the demo page has poor spacing between blocks in the header.
Hi I just started using the theme and I noticed that when in dark mode, changing the syntax highlighting parameter pygmentsstyle
from the default of "solaris-dark"
to "manni"
doesn't appear to do anything. I'm using R in RStudio.
Hello,
I am using your theme for a while now, however I can not seem to find a way to add a custom social parameter, I would appreciate it if you help me
Hi @vividvilla,
First of all, great work!
Second, I have a question: how to add zoom-in functionality like here
https://adityatelange.in/blog/hugo-image-zoom-in/#sample-image-with-zoom-in-effect
Thanks!
When I write something in markdown like the following:
Text text text
> this is a *quote*
Using the *
to make the word "quote" emphasized, the resulting HTML includes the <em>
tag around the word, however, nothing in the CSS shows the word any different than the other quoted text.
On the recent posts - the title is show for a particular post as well as its description: namely 120 characters from the post itself. But it shows the raw html meaning <p> and so on..
Broken Link in README under "Installation" for "official setup guide"
I have built and hosted a blog site using Ezhil Theme. Everything works except for the /posts directory. Even if I build an exact replica of a site using Ezhil with no modifications, it does not work correctly.
$ hugo env
Hugo Static Site Generator v0.55.6 linux/amd64 BuildDate: 2019-05-18T11:36:07Z
GOOS="linux"
GOARCH="amd64"
GOVERSION="go1.12.5"
$ hugo server --verbose -D
INFO 2019/06/14 17:30:11 No translation bundle found for default language "en"
INFO 2019/06/14 17:30:11 Translation func for language en not found, use default.
INFO 2019/06/14 17:30:11 i18n not initialized; if you need string translations, check that you have a > bundle in /i18n that matches the site language or the default language.
INFO 2019/06/14 17:30:11 Using config file:
Building sites … INFO 2019/06/14 17:30:11 syncing static files to /
INFO 2019/06/14 17:30:11 found taxonomies: map[string]string{"tag":"tags"}| EN
+------------------+----+
Pages | 4
Paginator pages | 0
Non-page files | 0
Static files | 4
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0Total in 12 ms
Watching for changes in /home/qih/site-workspace/ezhil-vanilla/{content,data,layouts,static,themes}
Watching for config changes in /home/qih/site-workspace/ezhil-vanilla/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
If you require further information, please advise.
First of all, great job with the theme. I really like the addition of dark mode, and that is why I am adding this issue.
It would be really great if the theme supported advanced custom theming with the ability to specify:
The values could be specified in the config file for easy customization
I'm running Hugo v0.68 and the theme isn't rendering properly. Specifically the recent posts aren't showing up as you can see here: https://hurrdurrimasheep.be/p/ezhil.png
it used to work for v0.57 but on a different machine running v0.68 the same setup does not work anymore. Is this a known issue? I noticed the sample website is using v0.51 so I figured maybe it's not being tested on newer hugo versions?
The site looks different when hosted locally and when hosted on the Github page.
The dark mode doesn't work on the Github page and everything is ordered weirdly.
Does anyone know how to fix this?
baseURL/tags can be generated correctly.
But no matter which tag I click, they all link to an "All tags" page like this(but with correct URL):
And I noticed that the demo on themes.gohugo.io also have this problem.
Hugo version v0.76.5/extended darwin/amd64.
I'm trying to set up a blog under a sub-folder, and when I generate the layout with Hugo, I see this HTML:
ezhil/layouts/partials/header.html
Lines 21 to 22 in 74e9ee7
Which leads to a site that looks like:
If I go into dev tools and change it to css/normalize.css
and css/main.css
(removing the leading /
) the site correctly displays the theme.
I think this is also a problem for
ezhil/layouts/partials/header.html
Line 27 in 74e9ee7
and
ezhil/layouts/partials/header.html
Line 29 in 74e9ee7
Hi, I'm trying to add a table of contents to some pages. I made a simple shortcode that uses the $.Page.TableOfContents
variable.
The table of contents is generated, but the links do not contain the path to the current page. All of the links are anchor links from the home page. If I switch the theme to something else like ananke, the correct toc links are generated.
I have made a simple demo site with one page that shows this behavior.
What is the ezhil theme doing that interferes with generating a correct set of toc links?
Hi,
Favicon is not showing except for the main page, but not for posts, tags, etc...
Thank you.
Hey,
Great job with the theme. Thanks.
GA is not working properly for what it looks like to me.
I've checked that currently they use a different tag than the one you are setting.
I haven't found how you do that magic to inject GA code, otherwise I would try to make a PR.
New code:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXX-XX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXX-XX);
</script>
Old code:
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-XXXX-XX', 'auto');
ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
I would suggest keeping the doNotTrack
condition, but update to the more recent code.
Thanks
How do I add MathJax support to ezhil?
Hey, Thanks for your great work on this, It's awesome.
And I noticed that the newest code just resolved the "issue" which the Markdown syntaxis didn't render on the landing page (Post desciptions).
But after these fixes, I found that the post title looks too small especially the "description" under the title was rendered with Markdown syntax.
(Forget about the Chinese contents)
Do you have any suggestions to solve this?
See for example here: https://themes.gohugo.io//theme/ezhil/ - the title includes the long descriptions markdown.
Does ezhil support images in posts? I tried Hugo's built-in shortcode {{ <figure> }}
, but ezhil's CSS for img
blows any images out to 100% of the container width.
Seems that this theme does not support uglyurls=true
option: https://gohugo.io/content-management/urls/#ugly-urls
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.