0:07
hey everyone so this is a pretty neat
0:10
little video I mean it's nothing
0:12
mind-blowing but it's more of a um a way
0:17
for you to work smarter and not harder
0:19
so I yeah I don't know why I didn't
0:22
think of doing this before
0:25
um but here it is
0:28
um basically what I have is a blog list
0:32
with the blog list content here in a
0:37
partial
0:38
and let me show you what that actually
0:41
will get me okay
0:42
so if I preview this page
0:45
I have a blog list all right and so
0:49
right now I'm on date you know high to
0:53
low
0:54
uh and so if I do this one
0:57
I'm sorry this one's loaded high and
0:59
then this one's high to low this one's a
1:01
to z and this one's Z to A so this is a
1:05
pretty you know interesting simple way
1:10
to you know create blog lists with you
1:13
know some sort of dynamic sorting
1:16
um you know feature on a page and so you
1:20
know it's it's pretty neat right
1:22
but you know what what happens if you
1:25
needed to I don't know instead of having
1:27
the date
1:28
over here you wanted to date maybe
1:30
underneath the title well potentially
1:32
that would be one two three four times
1:34
that you would have to you know change
1:37
the layout of the blog list
1:39
but instead of doing that I have
1:42
my blog list set up where the only thing
1:46
I need to change would be something over
1:48
here like oldest First newest first
1:51
alphabetical so on and so forth
1:53
and then you know the same down here so
1:56
this one is set to oldest first this one
1:58
is set the newest first
2:00
this one is set to alphabetical ABC and
2:03
then this one is the reverse
2:05
and so
2:07
now if I wanted to you know I could just
2:10
take this date and put it underneath
2:14
that
2:16
go back and then there you go now
2:18
they're all the same they're all changed
2:21
so I can well you know it's it's to the
2:24
right here let me fix that real quick
2:27
just because it's going to drive me
2:28
blockers
2:30
while I'm demoing
2:32
all right
2:34
there so now the date is underneath the
2:37
title
2:38
on this one this one this one and this
2:41
one so yeah I think that's um a pretty
2:45
simple and effective solution and I hope
2:49
it helps you guys out maybe gives you
2:51
some ideas of other ways you can use
2:53
partials
2:55
um you know but oh let me show you one
2:56
thing though so we're used to you know
2:59
being able to while we're oops
3:02
while we're in here you know to being
3:05
able to add summary or title or whatever
3:08
Stacks right so you know just like a
3:10
partial you have to back out of it
3:13
um in order to see changes but if you
3:15
wanted to add something from the blog
3:16
list you're going to have to you know
3:18
first do the plus maybe you want you
3:20
know author
3:22
and then you're gonna have to cut that
3:24
going here and paste and then put that
3:28
wherever you want so maybe you wanted
3:29
that down here
3:31
so if I click on that
3:34
and now it's going to be you know
3:37
author is going to be to the right of
3:39
vacation dreams and the uh and the date
3:42
so anyway just a little little caveat
3:44
there so while you're working you got to
3:46
back out
3:48
you know get get the
3:50
the child stack that you want so I guess
3:53
my suggestion actually would be um
3:55
before you partialize something if
3:58
that's the word partialize
4:00
um my suggestion would be to go in here
4:04
and
4:07
you know build out your blog list the
4:10
way you want it so you can work a bit
4:12
more efficiently and then you know maybe
4:15
you can once you've gotten it you know
4:17
to where you want it
4:19
then you
4:21
take your uh your content here
4:23
go back into your partial if you haven't
4:25
if you've already created it paste it
4:29
and then
4:30
there you go
4:32
I don't have any media data so there you
4:35
go
4:36
um anyway I hope this helps
4:37
um I thought it was a a pretty simple
4:40
solution using partials right bye