diff options
Diffstat (limited to 'GitStaticPageBuilder/Pages/RepoPage.cs')
-rw-r--r-- | GitStaticPageBuilder/Pages/RepoPage.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/GitStaticPageBuilder/Pages/RepoPage.cs b/GitStaticPageBuilder/Pages/RepoPage.cs new file mode 100644 index 0000000..d0aac1e --- /dev/null +++ b/GitStaticPageBuilder/Pages/RepoPage.cs @@ -0,0 +1,14 @@ +using System.Text.Encodings.Web; +using LibGit; + +namespace GitStaticPageBuilder.Pages; + +public class RepoPage +{ + public static string GetRepoPage(GitRepo repo) + { + var basePage = File.ReadAllText("Resources/RepoPage.html"); + + return basePage; + } +} \ No newline at end of file |