Giter Site home page Giter Site logo

Make it a Hugo module about hugo-cite HOT 7 OPEN

loup-brun avatar loup-brun commented on May 24, 2024
Make it a Hugo module

from hugo-cite.

Comments (7)

bep avatar bep commented on May 24, 2024 2

@antoinentl I'm not sure @bep would agree 😉

I don't. Even for the simplest setup (as in: 1 theme) there are plenty of benefits.

from hugo-cite.

loup-brun avatar loup-brun commented on May 24, 2024

I looked into Hugo modules before, but I believe those do not serve the same technical purpose.

You would actually install hugo-cite just as you would install a theme.

The only difference is that you would then specify hugo-cite as an “additional theme” (see 2. Configugure).

I can’t think of a more simple installation than installing a theme – let me know if the README instructions are not clear enough.

from hugo-cite.

antoinentl avatar antoinentl commented on May 24, 2024

@DirtyF It's another choice, not sure one is better than the other. I think "This could ease the install phase" is more accurate 😌

from hugo-cite.

DirtyF avatar DirtyF commented on May 24, 2024

@antoinentl I'm not sure @bep would agree 😉

from hugo-cite.

loup-brun avatar loup-brun commented on May 24, 2024

Inspiration on how to setup the module (with versioning, cf. #14 for versioning):
https://github.com/bep/my-modular-site

Configure a module (Hugo documentation):
https://gohugo.io/hugo-modules/configuration/

from hugo-cite.

DirtyF avatar DirtyF commented on May 24, 2024

The New Dynamic, the most famous Hugo Shop out there open sourced a lot of modules if you need concrete examples: https://github.com/theNewDynamic?q=hugo-module

from hugo-cite.

HughP avatar HughP commented on May 24, 2024

As someone who has implemented this theme twice, I appreciate its current structure (as a theme). However, my current websites are not set up as hugo modules. BTW: it is difficult to tell who is advocating for the conversion to modules because of the short comments. However, I trust that you all understand each other!

from hugo-cite.

Related Issues (20)

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.