[Day 5] How to create snippets and make them selectable on your page
Welcome to day 5 of 7 Days of Wagtail.
Today we're looking at re-usable bits of data called Snippets.
Let's say you have a blog and you can select an author, and that author has a name, image, bio, and company name.
And let's say this blog author has written 20 articles for your website. But then one day changes their name or changes companies.
Well... you're going to have to update 20 pages with new information.
And that's no way to live life.
With a Wagtail Snippet you can create one author, and select it on each page. Then when you need to change any information about the author, you only have to change it in one place rather than 20 different places, and your entire website will update itself.
Видео [Day 5] How to create snippets and make them selectable on your page автора Вячеслав Эм.
Видео [Day 5] How to create snippets and make them selectable on your page автора Вячеслав Эм.
Показать
Похожие видео
![[Day 6] Adding StreamFields to your page](http://pic.rutubelist.ru/video/a8/b3/a8b343516a2e8d9db9961cc532875a6a.jpg?size=s)
![Компас + металлический штырь На какой глубине залегание воды на участке](http://pic.rutubelist.ru/video/ed/da/edda7607c6d5b937c390087ddcfaa46b.jpg?size=s)
![Важность понимания источников дохода](http://pic.rutubelist.ru/video/fd/0b/fd0b8f077b5ea819446a4c7f0070e5fd.jpg?size=s)
![[Day 1] Installing Wagtail and editing your first page template](http://pic.rutubelist.ru/video/75/43/7543d8729930a205e373c843b7966177.jpg?size=s)
![И я тоже](http://pic.rutubelist.ru/video/b3/6b/b36b973a20d2c6986d481a4e40995fd0.jpg?size=s)
![50 ЛУЧШИХ САЙТОВ ДЛЯ ЗАРАБОТКА ДЕНЕГ ⚠ ЗАРАБОТОК НА ДОМУ НЕ В ИНТЕРНЕТЕ 💯](http://pic.rutubelist.ru/video/ea/14/ea142159d89239d385a88ed6515bf501.jpg?size=s)
![[Day 6] Adding StreamFields to your page](http://pic.rutubelist.ru/video/a8/b3/a8b343516a2e8d9db9961cc532875a6a.jpg?size=s)
![[Day 4] How to add images to your pages with auto-thumbnailing](http://pic.rutubelist.ru/video/3d/35/3d35eb9719aa0bbeebf9473a0e29a2f1.jpg?size=s)
![🛠️"Умелец" радуется👏 успехам ваших детей!🤗](http://pic.rutubelist.ru/video/be/41/be419e728efe8a7b319d7c11a1b67e8a.jpg?size=s)
![Обучение повороту со спины на брасс](http://pic.rutubelist.ru/video/4f/98/4f98754d0ae740f4ac7682ee653953a5.jpg?size=s)
![Отсрочка по работе](http://pic.rutubelist.ru/video/df/54/df54d8e9633fbba6107b4653aa2b3666.jpg?size=s)
![Welcome to 7 Days of Wagtail](http://pic.rutubelist.ru/video/7a/b4/7ab439dd997c3c7f4ba6c3398da4da8e.jpg?size=s)
![Практическое занятие №44: Углубление в паттерн MVVM](http://pic.rutubelist.ru/video/96/12/961211c4c8e7a6bf00b89751ea3b8886.jpg?size=s)
![[Day 3] Creating a new page type with a custom template](http://pic.rutubelist.ru/video/da/c8/dac85b15b4097db78849363e81322faa.jpg?size=s)
![Зачем учить то, что знаешь?! бисквит - biscuit #французский-язык #учить-французский #француз.слова](http://pic.rutubelist.ru/video/48/6c/486c9fdb505c901348e2e79fa1c61658.jpg?size=s)
![1_Введение и история становления ML](http://pic.rutubelist.ru/video/4b/b2/4bb261d0de512be12eef1810cf8a53e3.jpg?size=s)
![ПОДРАБОТКА В ОРЛЕ В СВОБОДНОЕ ⚪ КАК ЗАИМЕТЬ ДЕНЬГИ](http://pic.rutubelist.ru/video/e7/d4/e7d4248825384e257e8c15d443ef529a.jpg?size=s)
![Киса Куприна предала родителей, а перед смертью просила:«Оденьте меня хорошо за мной пришли родители](http://pic.rutubelist.ru/video/e8/45/e84520b542f4477e9423cb82ce5ef2dc.jpg?size=s)
![Welcome to 7 Days of Wagtail](http://pic.rutubelist.ru/video/7a/b4/7ab439dd997c3c7f4ba6c3398da4da8e.jpg?size=s)
![Вашему вниманию – бесы!](http://pic.rutubelist.ru/video/d1/a5/d1a571406bde00c4abb905946e3f5953.jpg?size=s)