File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ submitted by project maintainers or frequet contributors.
3636
3737To submit a project for the sprints, head to
3838[ the EuroPython website repository] ( https://github.com/EuroPython/website ) and
39- add your project as a markdown file in the folder ` src/content/spints ` . Use the
39+ add your project as a markdown file in the folder ` src/content/sprints ` . Use the
4040file ` _sprints_template.md ` as the template for your project file.
4141
4242<!-- ## Location of the sprints venue
Original file line number Diff line number Diff line change @@ -3,20 +3,14 @@ import { getCollection } from 'astro:content';
33import { getEntry , render } from ' astro:content' ;
44import Layout from ' @layouts/MarkdownLayout.astro' ;
55import SprintCard from ' @components/SprintCard.astro' ;
6- import Headline from " @ui/Headline.astro"
76import Markdown from " @ui/Markdown.astro" ;
8- import TwoCols from " @components/TwoCols.astro" ;
9- import Prose from " @ui/Prose.astro" ;
107
118const entry = await getEntry (' pages' , ' sprints_info' );
129
1310if (! entry ) {
1411 throw new Error (' Could not find page entry.' );
1512}
1613
17- console .log (entry )
18- const { Content } = await render (entry );
19-
2014const sprints = await getCollection (" sprints" , ({ data }) => {
2115 return import .meta .env .MODE === " production" ? data .draft !== true : true ;
2216});
You can’t perform that action at this time.
0 commit comments