Giter VIP home page Giter VIP logo

Comments (3)

martignoni avatar martignoni commented on July 20, 2024 1

You should place it in the page bundle, as the shortcode uses Hugo Page Resources.

from hugo-video.

carpajr avatar carpajr commented on July 20, 2024

I was able to use hugo-video after see how page bundle works
Thank you very much.

from hugo-video.

jpfleischer avatar jpfleischer commented on July 20, 2024

for those who may still be confused after reading the page bundle, I encountered this issue when trying to put a bunch of pages in one directory.

i was trying to make a header page with a bunch of subpages. the solution was to move a subpage markdown file to its own directory, name it index.md, and put the video in that directory.
something like

content/en/docs/
├── python/
│   ├── _index.md # this is just a page that shows links to other pages here, since python serves as a sort of category
│   ├── function-writing.md
│   ├── class-creation.md
│   ├── pip-install.md
│   └── my-video.mp4

so I wanted class-creation.md to play a video, but this wasn't working since it wasn't named index.md. i decided to create its own subdir in python/ and move class-creation.md to that subdir, and name it index.md, and move the video there with it. then it worked

from hugo-video.

Related Issues (16)

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.