Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MD Project Page Exploration #18

Closed
wants to merge 3 commits into from
Closed

MD Project Page Exploration #18

wants to merge 3 commits into from

Conversation

MarcosG119
Copy link
Member

@MarcosG119 MarcosG119 commented Mar 15, 2024

Linked to issue #11 .

Astro supports reading from markdowns locally and from external repositories. I've displayed an example of both in this pull request if you route to the projects page.

It seems there are two options. We can have project leaders edit the markdown from within the website repository which seems like it would provide for much cleaner code. You can find the test markdown in src/content/projects/test_project_1.md.

We can also get the project page markdown from there repository using the raw file link from github. A markdown was pulled from a random markdown I made to test using frontmatter from an external markdown. I also pulled the readme from Lifeline. This requires more packages and imports. However it is definitely possible. I pulled the lifeline readme from the sfbrigade repository as a test. The markdown pulled from github is from this repository.

If we want to pull the readme's from the last ten repositories active on sfbrigade automatically, I will work on that. For now though, we know we can definitely pull markdowns into astro.

@MarcosG119 MarcosG119 closed this by deleting the head repository Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant