mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-15 00:12:50 +08:00

* Adding social card infrastructure * Upgrades doc project to .NET 6 * Adds Playwright * Changes the console to a web project for Playwright * Adds social card template * Added blog content * Parallelized social image processing * Updating CI to use .NET 6 for docs build
27 lines
910 B
Plaintext
27 lines
910 B
Plaintext
|
|
@inherits StatiqRazorPage<IDocument>
|
|
@model IDocument
|
|
|
|
@{
|
|
var older = Model.GetDocument(Keys.Next);
|
|
var newer = Model.GetDocument(Keys.Previous);
|
|
}
|
|
|
|
|
|
@if (older != null || newer != null)
|
|
{
|
|
<div class="flex flex-row justify-content-between">
|
|
<div>
|
|
@if (older != null)
|
|
{
|
|
<a class="py-0.5 px-1 mr-4 text-blue-900 bg-grey-50 border border-blue-200 hover:bg-grey-100 hover:text-blue-800 hover:border-blue-300 rounded transition-colors" href="@Context.GetLink(older)" role="button">Older</a>
|
|
}
|
|
</div>
|
|
<div>
|
|
@if (newer != null)
|
|
{
|
|
<a class="py-0.5 px-1 mr-4 text-blue-900 bg-grey-50 border border-blue-200 hover:bg-grey-100 hover:text-blue-800 hover:border-blue-300 rounded transition-colors" href="@Context.GetLink(newer)" role="button">Newer</a>
|
|
}
|
|
</div>
|
|
</div>
|
|
} |