Coder Social home page Coder Social logo

weastur / hugo-texify2 Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 25.0 1.14 MB

A minimal, latex-style hugo theme for personal blogging

Home Page: https://texify2.io

License: MIT License

Makefile 0.39% HTML 54.85% CSS 44.76%
blog-theme hugo hugo-theme katex latex

hugo-texify2's People

Contributors

deining avatar dependabot[bot] avatar pre-commit-ci[bot] avatar queensferryme avatar weastur avatar

Stargazers

 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

hugo-texify2's Issues

[BUG] Table of contents doesn't appear

Describe the bug
While the template shows Table of contents on every page, I don't see it when I apply the theme. No errors are displayed during build and everything else works fine.

**Command output
Screenshot 2023-08-24 at 10 59 24
Screenshot 2023-08-24 at 10 59 30
**
Start building sites …
hugo v0.117.0-b2f0696cad918fb61420a6aff173eb36662b406e+extended darwin/amd64 BuildDate=2023-08-07T12:49:48Z VendorInfo=brew

               | EN  

-------------------+-----
Pages | 32
Paginator pages | 0
Non-page files | 0
Static files | 20
Processed images | 0
Aliases | 5
Sitemaps | 1
Cleaned | 0

Built in 42 ms
Environment: "development"
Serving pages from memory
Web Server is available at //localhost:1313/ (bind address 127.0.0.1)

Attached are two instances, one from your rendered site and one which is locally rendered. As you can see the TOC line is misisng in the locally rendered one.

[FEATURE] Dark theme

Hi! Thanks for theme!

It will be cool to provide a dark mode (or automatic dark mode) in the theme.

[FEATURE] How to get numbered subtitles?

The subtitles are rendered without numbers attached by default. How about adding a "numbered-subtitles` config and generating subtitles with numbers when the config is enabled?

It is like:

1 Introduction
1.1 Compound Memory Model
1.2 Contributions
2 Background and Related Work
2.1 Coherence Protocols
2.2 Consistency for Heterogeneous Processors
...

Numbers should both in the table of contents and subtitles.

[BUG] Default “content/posts” can't work. This theme use "content/post" instead.

Describe the bug
When I change to this theme. all the posts can't be render and show on the main page. But the exampleSite work well.
Finally, I find the different is in exampleSite, all posts is placed in folder "content/post"; but in my site, it's "content/posts".

I change my folder name from "posts" to "post", it works.
or modify the default layout index.html, list.html, single.html, change the related type from "post" to "posts".

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Run with '....'
  3. See the error

Expected behavior
The hugo document give the default post in "content/posts" folder.
So I suggest the Theme can follow this default name.

Additional context
Add any other context about the problem here.

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.