Shortcodes | Hugo - Static Site Generator | Tutorial 9

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 18

  • @DarrylGibbs
    @DarrylGibbs 5 лет назад +7

    dude, this video is on the Hugo shortcode site!

  • @sonalarya5541
    @sonalarya5541 3 года назад

    awesome expalination.... thanks🌹🌹

  • @kareldries3410
    @kareldries3410 5 лет назад +1

    great video series, thanks Mike

  • @zynxajeaesthetics6067
    @zynxajeaesthetics6067 4 года назад

    You are my hero.

  • @SupaShang
    @SupaShang 4 года назад +2

    Any examples of shortcodes to process images for alignment and scaling?

  • @romeond
    @romeond 5 лет назад

    Awesome

  • @jensoldeland3087
    @jensoldeland3087 4 года назад +1

    Would be great if you could show a more tricky example like highlighting or adding a figure (both don´t work out for me on ananke theme...)

  • @mb77mb66
    @mb77mb66 4 года назад

    So effectively, Shortcode is function/method definition stored in some file. We call it from Content files and pass arguments to it? It reminds me of inline functions in C++. you declare them, but during compilation full function declaration is placed instead of dispatching to function.

  • @ThePGloor
    @ThePGloor 6 лет назад +1

    In case short-codes don't work, check exact spelling and whitespace
    (e.g. {{< youtube 2xkNJL4gJ9E >}} NOT {{ }}.

  • @ApoorvMote
    @ApoorvMote 5 лет назад +1

    how do I add email sign up form with Hugo?

    • @ahmetozturk5178
      @ahmetozturk5178 5 лет назад

      Apoorv Mote do you have a solution¿

    • @CryptoDiaries
      @CryptoDiaries 4 года назад +1

      Search: "theme contact page Hugo" and google shall provide.

  • @keshavav779
    @keshavav779 4 года назад

    I want to render Meta titles dynamically in markdown files as below. If Yes, Plz let me know.
    ---
    title: {{< param appname >}} Dashboard Features
    description: Features
    weight: 1
    layout: subfeature
    ---
    Currently am getting an error " ```
    failed to unmarshal YAML: yaml: line 6: could not find expected ‘:’

    • @joiker2pen
      @joiker2pen Год назад

      use doublequotes for your strings i.e. layout: "subfeature" description: "Features" etc..

  • @ravindravekariya5357
    @ravindravekariya5357 5 лет назад

    {{< youtube w7Ft2ymGmfc >}} it is not working i can't see video or frame of video plz help me

    • @nestormonroy_
      @nestormonroy_ 5 лет назад +1

      this problem solved in github.com/rstudio/blogdown/issues/40

    • @JoshYates
      @JoshYates Год назад

      Stop localhost and rebuild site after insert snippet.