Taxonomies | Hugo - Static Site Generator | Tutorial 10

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

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

  • @BalloonAffirmations
    @BalloonAffirmations 5 лет назад +19

    Dude, you are insane teacher. I mean it. i mean, after this point in hugo, I was actually able to build my own SSG website. Thanks to you man. Keep up the good work dude. You are a terrific teacher, not going way to basic and being at perfect pace.. kudos man !!! thanks a lot

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

      agreed. build off my experience with MVC and now I love Hugo.

  • @TimBradleyFromOz
    @TimBradleyFromOz 6 лет назад +43

    If you got an ERROR clicking on "tag3" following here @4:58 ( link error to ..../tag3 without backslash?), try restarting your hugo server - fixed it for me.
    If you are wondering how "moods" displayed, it was specifically output in his layout - just wasn't set as a taxonomy (to create the taxonomy page) until config was changed.

    • @jason.vasilev
      @jason.vasilev 5 лет назад +5

      Thanks! Solved it for me. I was getting 404 for tags and categories, until I restarted the server.

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

      Thanks!!!

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

      Great tip, Tim! Thanks

  • @aiphong5120
    @aiphong5120 5 лет назад +2

    Finally, I can understand what taxonomy is. Thanks

  • @DySun
    @DySun 4 года назад +7

    7:18 If you were to use any name other than "moods", you need to modify themes\ga-hugo-theme\layouts\_default\list.html by adding a new line for that name. Otherwise, it will not be shown.

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

      Thanks for the tip

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

    Your tutorials are verry good. Information is built up well and easy to understand. Plus the template really helps to see how the list stuff works. Thanks a lot.

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

    This is a great series tutorial. Everything was tackled one by one. I think this works for me because I won't be watching long straight videos.

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

    Your such a great teacher massive respect! You should try making more tutorials

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

    Why aren't my websites saving on the same website? I have to manually place the file in the url to find my progress.. also the program i downloaded doesnt have a taxonomy option

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

    Hello! Help plesase, where can i find how to show tags or categories in some another themes where it's impossible to see tags or categories or any front matter variables by default in that theme?

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

      Before downloading it, read the Github ReadMe file for it and go through config.toml to get a better idea. People have explained the basics of their templates on the README.md

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

    Hi Mike! For some reason, once I got my tags working to create their own list pages, the page doesn't filter. E.g. on tag page labelled "a" it will show all the pages, regardless of if they have "a" as a tag or not (I've tried several variations). Is this a theme issue?

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

    Hi Mike, thanks for all these priceless lectures. I'm having a problem with non-Latin characters in permalinks. My blog is going to be in Turkish, so I want my tag and category names to be rendered on the page with Turkish characters properly, but in the permalinks, these words (taxonomies) must be converted to the proper Latin characters. For example, I have a category name "Sağlık" and I want it to be rendered as it is on the page, but as "saglik" in the permalinks. Is there a way to do it?

  • @ash.mystic
    @ash.mystic 2 года назад

    Can you create custom list pages for taxonomies like you did for the specific content directories?

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

    I think I’ve hit a wall with taxonomies and multilingual sites. On a taxonomy page, my other language is undefined. I think this makes sense since there is no way for Hugo to determine which taxonomy term in English correlated to the French term. So a page like “/category/apples” can’t automatically map to “/category/pommes”.
    I haven’t figured out if this is even possible.

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

    Is it possible to add a search based on tags or word matching in the title of the post in hugo?

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

    What is the "functional" difference between tags and categories then?

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

      there is none. just different names for different taxonomies.

  • @wimjongman
    @wimjongman 7 лет назад +8

    Dude, did you drop a fart at 9:34?
    Just a joke. I love your content. Speedy and to the point. Thanks

    • @GiraffeAcademy
      @GiraffeAcademy  7 лет назад +9

      Hahaha, it was either a fart, me readjusting, or a little of both, I must have missed that in editing! Hope you enjoy the rest of the course : )

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

    Amazing content! Thanks so much!!!

  • @jasdn93bsad992
    @jasdn93bsad992 7 лет назад +1

    I changed "mood" to "author", and no author pages were generated. Is "author" a special keyword?

    • @TammyButcherPlus
      @TammyButcherPlus 6 лет назад

      I did the same thing only changed the word to audience. Did you ever figure out where this is configured?

    • @craigthomas7813
      @craigthomas7813 6 лет назад

      it's configured in '_default/list.html', on line 19.

  • @stefanhans7642
    @stefanhans7642 6 лет назад

    Hi :),
    using taxonomies I want to extend
    {{.Template}} Template - {{.Kind}}
    with the current taxonomy and the value, e.g. tags/tag1.
    How can I do this?
    Is there a way to get the possible hugo variables displayed? Like code completion? Or the whole tree of variables?
    Cheers, Stefan

  • @iansmith3301
    @iansmith3301 6 лет назад +2

    link to your theme is missing in the description :)

    • @dogukanak9030
      @dogukanak9030 6 лет назад

      github.com/giraffeacademy/ga-hugo-theme

  • @MarkSouthee
    @MarkSouthee 7 лет назад +1

    I'd like to know how you display the Taxonomies in the Content files. Can you do a video explaining how your theme is put together?

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

    What about a custom template for the "mood" category list page?

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

    10/10 teacher.

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

    Love this series.

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

    I also followed your example, created a new taxonomy called `moods` in config file and add moods for some posts.
    But it does not show up, I can only see categories and tags but I can access to /moods/happy for example.
    /moods does not show anything.
    I use hugo-future-imperfect theme
    Can a theme be configured to show only cats and tags in the post? if so how can modify its setting to show more customized taxonomies?

  • @shnam928
    @shnam928 6 лет назад

    Thanks for the good tutorial.
    Can we put a tag in other language? How?

  • @Akshaylive
    @Akshaylive 6 лет назад

    What happens if we create `content/moods/happy.md` ? What happens if we create `content/moods/_index.md`? What happens if we create `content/moods.md`?

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

    Thank you Mike

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

    Who needs this way of generating websites?

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

    I am glad you never show the connection between your content and your theme. So you learn absolutely nothing here unless you download your theme and look into it. Which is btw NOT linked in the description altough you keep saying that in every video.

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

      I think, using themes in the tutorials makes it more difficult to understand how the the connection works rather than starting from scratch. After finishing this tutorial-videos I was not able to start on my own. Though I was following on every single step.

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

      Great vibes, you must be a great person to be with

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

    ok. like