File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,17 @@ const members = await Astro.glob('../pages/members/*.md');
15
15
16
16
<p >Welcome to our website! We're a team of hobbyist programmers, working together to craft something fun.</p >
17
17
18
+ <h2 >What are we up to?</h2 >
19
+ { posts .sort ((a , b ) => a .frontmatter .pubDate > b .frontmatter .pubDate ? - 1 : 1 ).slice (0 , 3 ).map ((post ) =>
20
+ <BlogPost url = { post .url } { ... post .frontmatter } />
21
+ )}
22
+
23
+ <h2 >Who are we?
18
24
<div class =" members" >
19
25
{ members .sort ((a , b ) => a .frontmatter .name > b .frontmatter .name ? 1 : - 1 ).map ((member ) =>
20
26
<Member { ... member .frontmatter } content = { member .compiledContent ()} />
21
27
)}
22
28
</div >
23
-
24
- <h2 >What are we up to?</h2 >
25
- { posts .sort ((a , b ) => a .frontmatter .pubDate > b .frontmatter .pubDate ? - 1 : 1 ).slice (0 , 3 ).map ((post ) =>
26
- <BlogPost url = { post .url } { ... post .frontmatter } />
27
- )}
28
29
</main >
29
30
</Layout >
30
31
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : ' Weefus'
3
+ github : Weefus
4
+ ---
You can’t perform that action at this time.
0 commit comments