Coder Social home page Coder Social logo

Comments (5)

GeorgeWL avatar GeorgeWL commented on May 18, 2024

check that the partial doesn't have any express references to index page, that might be the cause.

Which make me think if it is, we should probably change it from absolute to relatives.

Do you get any errors?

Can you show us the page? Even better, can you gist the files?

from hugo-universal-theme.

jakegalson avatar jakegalson commented on May 18, 2024

As far as I can tell, there is no express reference, and I get no errors.

What I am trying to do in the long run is make a page like they have on the original bootstrapious theme that shows team members like this: http://universal.ondrejsvestka.cz/1-0/team.html. As I am new to hugo, my first step here was to attempt copying the carousel segment over to another page. Apologies for any stupid errors!

I have put the partial carousel.html and the team/single.html file I added to the layout directory here:
https://gist.github.com/jakegalson/7cdd9fdeef08b0e023808aa8047e2fc8

from hugo-universal-theme.

GeorgeWL avatar GeorgeWL commented on May 18, 2024

Make a new folder in data for team and change site.data.carousel to site.data.team etc.

from hugo-universal-theme.

jakegalson avatar jakegalson commented on May 18, 2024

I just tried that, and it didn't work.

It seems to be some problem with recognising the team/single.html file. If I enter some random text in here, it does not appear in the site, so it must be using the default rather than this for some reason.

from hugo-universal-theme.

GeorgeWL avatar GeorgeWL commented on May 18, 2024

@jakegalson well the Hugo behaviour is if it finds an error or can't find a file, it falls back to the defaults.

Read through the docs quickly, maybe you missed something?

from hugo-universal-theme.

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.