Code Monkey home page Code Monkey logo

hugo-theme-tailwind's People

Contributors

deining avatar i-shivamsoni avatar pawo1 avatar therealgabhas avatar tomowang avatar ytrepidorosonomous 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

Watchers

 avatar  avatar  avatar  avatar

hugo-theme-tailwind's Issues

Adding extension to partials

I saw you are mixing partials with and without the html extension. Any reason why? I would advise sticking to the extension as a standard.

Search not working once deployed.

Hi there, upon using your them and deploying via github actions it appears as though the search functionality is not working.
The site is deployed at https://grab-a-byte.github.io/blog/ with the repo https://github.com/grab-a-byte/blog,

It seems I may just be missing some config as searchign takes me to
https://grab-a-byte.github.io/search/?search=a
but adding the blog back before the search and changing it to
https://grab-a-byte.github.io/blog/search/?search=a
brings up search as expected.

Thanks in advance for any help you can give on this matter.

Gist support adds lines accross code.

When rendering Gists using the gist shortcode, there are a load of black lines through all of the source code. As shown in the screenshot below.

{{< gist grab-a-byte f7d0c226dc56c8af6d10e0088b183791 MyVBClass.vb >}}

image

Is there a way to remoe these lines or is it a bug?
I love the theme but given I aim to be blogging mostly about code, this is unfortunately a game breaker for me.

Thanks in advance for any response/fixes you may have.

Default config.toml is not working

Hello. I'm getting the errors listed below when trying to use the default config.toml in the installation guide.

thelevic@Levis:~/blog$ hugo server
Start building sites … 
hugo v0.92.2+extended linux/amd64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1
ERROR 2024/03/27 15:28:52 render of "section" failed: "/home/thelevic/blog/themes/tailwind/layouts/_default/baseof.html:2:18": execute of template failed: template: search/search.html:2:18: executing "search/search.html" at <site>: can't evaluate field LanguageCode in type *langs.Language
ERROR 2024/03/27 15:28:52 render of "taxonomy" failed: "/home/thelevic/blog/themes/tailwind/layouts/_default/baseof.html:2:18": execute of template failed: template: _default/terms.html:2:18: executing "_default/terms.html" at <site>: can't evaluate field LanguageCode in type *langs.Language
ERROR 2024/03/27 15:28:52 render of "taxonomy" failed: "/home/thelevic/blog/themes/tailwind/layouts/_default/baseof.html:2:18": execute of template failed: template: _default/terms.html:2:18: executing "_default/terms.html" at <site>: can't evaluate field LanguageCode in type *langs.Language
ERROR 2024/03/27 15:28:52 render of "taxonomy" failed: "/home/thelevic/blog/themes/tailwind/layouts/_default/baseof.html:2:18": execute of template failed: template: _default/terms.html:2:18: executing "_default/terms.html" at <site>: can't evaluate field LanguageCode in type *langs.Language
Error: Error building site: failed to render pages: render of "home" failed: "/home/thelevic/blog/themes/tailwind/layouts/_default/baseof.html:2:18": execute of template failed: template: _default/list.html:2:18: executing "_default/list.html" at <site>: can't evaluate field LanguageCode in type *langs.Language
Built in 4 ms

It seems that there is an issue with search and languages? Thanks.

Search problems in the multilingual version

Found two problems with search in the multilingual version, possibly known but not enumerated in #12:

  • only the default language is indexed
  • the search site is generated only for the default language (translations remain unused)

Each sub-site should have its search page with accurate translations. Search engine should contain all posts in a common index or separate indexes prepared per language..

Issues when using Summary instead of Description.

First, good theme! Thank you for the work!

Conditions:

  1. Using <!--more--> to split Summary, and do not add description in the meta area.
  2. Using dark mode.

Issues:

  1. The font color of the summary is wrong, which should be light-color. If using description instead, the color is correct.
  2. The summary would be rendered two times in the content area of article. If using description instead, the description and the content is not same. So it's good.

Requirements:

  1. The font color should be correct when using Summary in dark mode.
  2. Only show Description in the detailed page, rather than show Summary two times.

Thanks!

Unused lastmod.html

Template generation left lastmod.html partial, which is unused in the tailwind theme. It can be misleading because LastMod is covered extensively in Hugo's documentation. I suggest removing this partial and optionally adding LastModDisplay option to the configuration to toggle showing the last modification date in posts' headers, similar to "Reading Time" info.

I can prepare PR with the LastMod widget if you find it a beneficial change.

Translated 404 page has a hardcoded link to the default language homepage

You can use translated 404 pages in the routing config (e.g. for nginx). Unfortunately link to the homepage in this template is hardcoded to "/" which causes redirects to a different language when you hit a 404 error on the translated page. Should use "relLangURL" for proper homepage instead.

Dark Theme - font color misses some sections

Hi @tomowang - just opening this as another issue:

Noticed one other bit - in dark mode, it seems posts that have sub-sections with a <!--more--> tag, get ignored by the theme.

Ex:

image

Here is what produced that:

+++
title = 'AI'
date = 2023-12-20T12:43:01-05:00
draft = true
+++


Things worth looking into:

### OpenAI
* GPT 4 Turbo
* GPT Visual
* Assistants + Threads
* GPTS potentially


### AWS Bedrock
* Anthropic:
** Claude Instant (100K context)
** Claude 2.1 (200K context)
<!--more-->


### Meta -> Llama Chat (7b vs 13b vs 70b)

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.