Giter Club home page Giter Club logo

ezhil's People

Contributors

arestivo avatar cgiacomi avatar directed-graph avatar iromeister avatar komish avatar mahito1594 avatar miteigi avatar mr-karan avatar obar avatar vividvilla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ezhil's Issues

Highlight for <code> tag?

Markdown will render ˋcodeˋ to <code>code<code>.

Please also add css to highlight <code> tag like github markdown.

Custom CSS not working

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:
image

Displaying author and having complete post in RSS

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:

  • We would need the RSS feed to contain the whole blogpost.
  • We would like to display the author (from the metadata) at the top of a post where currently there is the date.

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.

Disqus Language

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.

Add category to posts

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:

  • should it be at the top or at the bottom,
  • should it look like a tag or simply be something like "category: software" or "filed under: software"?

It would be great to know what you had planned.
Thanks :)

Link to "All Articles" is hardcoded

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.

Reproduction

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

Expected behaviour

Homepage link "All Posts" points to the new folder /post

Actual behaviour

Broken link pointing to /posts/ when clicking the "All Posts" link of the home page.

Root cause

The index.html template has /posts/ hardcoded.

<a href="/posts">All articles →</a>

Suggested fix

Extra documentation? Adding a parameter?

Icon for toggling between modes

@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?

Footnotes don't work as intended

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

footer not sticking to bottom on tab size screen (768 x 1024)

i face this problem while browsing site with 10inch tablet. I was able to reproduce this in firefox by choosing iPad size preset.

is this intentional?
Screenshot from 2021-02-11 00-49-33

I'm not very good with css magic and have already spent some time trying to "fix" it. any help is appreciated.

List style issue

image

Since the p inside li is a block element, the text breaks onto the next line, which causes the list items to break.

Fix:

li p{
display: inline;
} 

image

image

Fix table spacing

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:

image

Even the demo page has poor spacing between blocks in the header.

Unable to Change Syntax Highlighting via config.toml

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.

Custom social parameter

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

Shortcode highlight CSS

Hi, Vivek R. I like this theme and thanks for what you have done. Yesterday I found something looks not good.

Below is the shortcode highlight:

Screenshot from 2019-11-08 17-38-59

<em> marker inside of blockquote is not visible

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.

Broken Link

Broken Link in README under "Installation" for "official setup guide"

POSTS page does render

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 | 0

Total 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.

Improved custom theming

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:

  • Primary color used for the anchors
  • Background color
  • Primary text color for titles and text
  • Secondary text colors used for the dates and support text.

The values could be specified in the config file for easy customization

Newer Hugo versions

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?

Looks different when hosted on Github page

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?

Tag pages do not work

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):

屏幕快照 2020-10-22 上午5 18 26

And I noticed that the demo on themes.gohugo.io also have this problem.

Hugo version v0.76.5/extended darwin/amd64.

CSS and Javascript appears to be hardcoded to top level path

I'm trying to set up a blog under a sub-folder, and when I generate the layout with Hugo, I see this HTML:

<link rel="stylesheet" type="text/css" media="screen" href="/css/normalize.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/css/main.css" />

Which leads to a site that looks like:

Screenshot_2019-08-09_11-09-11

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

<script src="/js/feather.min.js"></script>

and

<script src="/js/main.js"></script>

Theme interferes with generating a table of contents?

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?

Favicon not showing

Hi,

Favicon is not showing except for the main page, but not for posts, tags, etc...

Thank you.

Google Analytics

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

Post title in landing page is small

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.

something looks like this:
image

(Forget about the Chinese contents)
Do you have any suggestions to solve this?

Images?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.