Giter Site home page Giter Site logo

Comments (4)

dei-layborer avatar dei-layborer commented on June 3, 2024 1

Unfortunately not. And my issue isn't with getting reveal-hugo to work as a hugo theme, it's with getting any Reveal.js themes to work with reveal-hugo.

So again, putting this in my hugo.toml does not change the Reveal.js theme (i.e. it doesn't change the appearance of the slideshow, even if the slideshow itself is functional):

[params.reveal_hugo]
theme = "robot-lung"

I hope that makes sense, and that you're able to help me figure out what's going on!

from reveal-hugo.

dei-layborer avatar dei-layborer commented on June 3, 2024 1

Sure, and thanks for looking into it. That works as far as getting themes to work from that directory. That should get me going for the time being. Thank you!

from reveal-hugo.

joshed-io avatar joshed-io commented on June 3, 2024

Hi @dei-layborer, thanks for the gratitude! Glad to hear this theme might be helpful for you. Were you able to get any of the themes working yet?

It's possible that the instructions in the example deck need to be updated. What's on the README is likely to be more up to data, e.g. using a hugo.toml file, etc: https://github.com/dzello/reveal-hugo?tab=readme-ov-file#get-the-reveal-hugo-theme

Sadly I haven't had time to try the latest version but I may have a window of time next week where I could make the updates.

from reveal-hugo.

joshed-io avatar joshed-io commented on June 3, 2024

@dei-layborer Got it, thanks for clarifying. Over the weekend I tried both Method 1 and 2 from the docs to see if I could change the (visual) theme. Method 2 worked for me - adding the theme as a submodule. Once I did that, I could change the theme to any themes available in this directory. You'll see this directory in your project at ./themes/reveal-hugo/static/reveal-js/dist/theme. You can make changes to the CSS files in there or add new ones to experiment with changing the theme.

This week I hope to find time to investigate why Method 1 isn't working for this. I haven't used Hugo since modules were introduced so I need to catch up a bit. For now though, this may help get you unblocked.

from reveal-hugo.

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.