Skip to content

MaxGripe/max-gripe-homepage

Repository files navigation

Azure Static Web Apps CI/CD GitHub repo size GitHub License GitHub Created At GitHub forks GitHub Repo stars

Max Gripe's Homepage

Welcome to my homepage! It serves as a platform for me to share my links and thoughts.

Some technical details:

  • This website is hosted on Azure using free plan.

  • Articles and other content are written in Markdown, allowing for easy content creation and management. These Markdown files are automatically converted to HTML during the build process using F# and the FSharp.Formatting library.

  • The deployment process is fully automated using GitHub Actions. Any changes to this repository are immediately reflected on the live site.

Folder structure

  • /: Root directory of the project.

    • .github/workflows/: GitHub Actions workflow file.

    • css/: CSS file for the site.

    • markdown/: Directory containing the Markdown files for articles and other content. Articles are identified by the presence of a digit (date) in the file name.

      • images/: Images used in the articles.
    • partials/: Reusable HTML snippets like header.inc and footer.inc.

    • output/: Directory that will be created during the build process, with the generated HTML files.

  • HtmlGenerator.fsproj: Project file

  • LICENSE: License file for the project.

  • Program.fs: F# program that handles the generation of HTML from Markdown

  • README.md: This file.

How it works

When I write an article in Markdown and place it in the /markdown/ folder, the rest happens automatically. GitHub Actions detects changes pushed to the repository, triggers the build process, and deploys the updated site to Azure Static Web Apps.

Contributing

Feel free to open issues or submit pull requests if you have suggestions or improvements for the site. Contributions are always welcome! 😁

License

This project is licensed under the terms of the Unlicense.