Get git projects from Gogs
This commit is contained in:
parent
9fd9beb860
commit
292d7729f2
9 changed files with 122 additions and 10 deletions
|
@ -0,0 +1,9 @@
|
|||
@model IEnumerable<Website.Models.GitRepository>
|
||||
|
||||
<h5>Projects:</h5>
|
||||
<ul class="nav-list">
|
||||
@foreach (var repository in Model) {
|
||||
<li class="nav-list__link"><a href="@repository.Url">@repository.Name</a></li>
|
||||
}
|
||||
<li><a href="//git.robware.uk">View All</a></li>
|
||||
</ul>
|
|
@ -23,13 +23,7 @@
|
|||
@RenderBody()
|
||||
</main>
|
||||
<nav>
|
||||
<h5>Projects:</h5>
|
||||
<ul>
|
||||
<li><a href="link 1">Link 1</a></li>
|
||||
<li><a href="link 2">Link 2</a></li>
|
||||
<li><a href="link 3">Link 3</a></li>
|
||||
<li><a href="//git.robware.uk">View All</a></li>
|
||||
</ul>
|
||||
@await Component.InvokeAsync("ProjectNavigation")
|
||||
@await Component.InvokeAsync("BlogNavigation")
|
||||
</nav>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue