Compare commits

...

12 Commits

Author SHA1 Message Date
53e62fcb68 I just bumped the version so I could test.
All checks were successful
Build Tavernworks / Explore-Gitea-Actions (push) Successful in 3m22s
I needed a fast test to make sure the Gitea server repository was
working.
2025-10-21 12:17:38 -04:00
04c2182705 The logos for the project.
All checks were successful
Build Tavernworks / Explore-Gitea-Actions (push) Successful in 2m41s
2025-10-17 10:29:41 -04:00
f023f36558 Adjusted the responsive layout targets.
All checks were successful
Build Tavernworks / Explore-Gitea-Actions (push) Successful in 3m11s
2025-10-16 18:47:20 -04:00
62a2c4f5bc Fixed a spelling mistake in the blog css.
All checks were successful
Build Tavernworks / Explore-Gitea-Actions (push) Successful in 3m11s
2025-10-16 18:32:01 -04:00
87bb1459b8 Bumped the bard version for publishing.
All checks were successful
Build Tavernworks / Explore-Gitea-Actions (push) Successful in 3m49s
2025-10-16 13:58:36 -04:00
8dd20cb0cb Fixed responsiveness of the blog.
All checks were successful
Build Tavernworks / Explore-Gitea-Actions (push) Successful in 2m44s
Also added the publish date to a post.
2025-10-16 13:56:58 -04:00
55f1ac22b0 Changed the target dir tot he home directory bin.
All checks were successful
Build Tavernworks / Explore-Gitea-Actions (push) Successful in 2m37s
2025-10-11 20:43:47 -04:00
c3ae332b0b Changed the target directory to place executables.
Some checks failed
Build Tavernworks / Explore-Gitea-Actions (push) Failing after 2m38s
2025-10-11 20:34:23 -04:00
dede2e9072 Fixed the build script to use this repository.
Some checks failed
Build Tavernworks / Explore-Gitea-Actions (push) Failing after 2m42s
2025-10-11 20:27:26 -04:00
4c03aea947 Fixing the build script for gitea.
Some checks failed
Build Tavernworks / Explore-Gitea-Actions (push) Failing after 1m49s
2025-10-11 20:19:40 -04:00
ee82498161 Adding the build testing script.
Some checks failed
Build Tavernworks / Explore-Gitea-Actions (push) Failing after 7s
This will also install loreweaver for use by the blog.
2025-10-11 18:43:17 -04:00
d822ecdf84 Fixed up the OpenGraph meta. 2025-10-11 18:38:46 -04:00
11 changed files with 90 additions and 13 deletions

View File

@ -0,0 +1,41 @@
name: Build Tavernworks
run-name: Building on Silverymoon by ${{ gitea.actor }}.
on:
push:
branches:
- main
jobs:
Explore-Gitea-Actions:
runs-on: FreeBSD-14.1
env:
SOURCE_DIR: tavernworks
TARGET_DIR: /home/gitea/bin
steps:
- name: Setup Workspace
run: |
rm -rf ${{ github.workspace }}/*
echo "Source Dir: $SOURCE_DIR"
- name: Clone Repo
uses: https://gitea.com/actions/checkout@v4
with:
repository: CyberMages/tavernworks
token: ${{ secrets.CM_GIT_TOKEN }}
path: ${{ env.SOURCE_DIR }}
- name: Build Repo
run: |
pwd
ls -la
cd "$SOURCE_DIR"
echo "Current Shell: $SHELL"
echo "PATH=$PATH"
. ~/.profile
echo "PATH=$PATH"
echo "Building release."
cargo build --release
echo "Installing loreweaver."
cp ./target/release/loreweaver "$TARGET_DIR"
- name: Clean Workspace
run: |
rm -rf ${{ github.workspace }}/*
ls -la

2
Cargo.lock generated
View File

@ -297,7 +297,7 @@ dependencies = [
[[package]]
name = "bard"
version = "0.3.13"
version = "0.3.17"
dependencies = [
"dioxus",
"tavern",

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 KiB

View File

@ -1,6 +1,6 @@
[package]
name = "bard"
version = "0.3.13"
version = "0.3.17"
edition = "2024"
description = "Dioxus components that will display a Tavern blogging system Blog."
repository = "/CyberMages/tavern"

View File

@ -117,7 +117,7 @@
padding-left: 20px;
}
.embeded_video
.embedded_video
{
margin-top: 50px;
display: flex;
@ -259,3 +259,28 @@
}
}
}
.video_link
{
display: none;
width: 100%;
justify-content: center;
}
@media screen and (max-width: 1000px)
{
.blog_post .blog_post_tale
{
.video_link
{
display: flex;
}
.embedded_video
{
display: none;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

View File

@ -23,7 +23,7 @@ pub fn BlogAuthor() -> Element
#[component]
pub fn PostHeaderAuthor(author: Option<Adventurer>) -> Element
pub fn PostHeaderAuthor(author: Option<Adventurer>, publish_date: String) -> Element
{
match author
{
@ -37,6 +37,11 @@ pub fn PostHeaderAuthor(author: Option<Adventurer>) -> Element
content: "{adventurer.name}"
}
i
{
"Published: {publish_date}"
}
p
{
b
@ -58,6 +63,11 @@ pub fn PostHeaderAuthor(author: Option<Adventurer>) -> Element
content: "Unknown"
}
i
{
"Published: {publish_date}"
}
p
{
b
@ -83,18 +93,15 @@ pub fn PostHeader(tale: Tale, adventurer: Option<Adventurer>) -> Element
rsx!
{
// Adding for SEO and OpenGraph post sharing.
document::Meta { name: "title", content: "{tale.lore.title}" }
document::Meta { name: "description", content: "{tale.lore.summary}" }
// Open Graph (used by LinkedIn, Bluesky, Discord, etc.)
document::Meta { property: "og:locale", content: "en_US" }
document::Meta { name: "title", property: "og:title", content: "{tale.lore.title}" }
document::Meta { name: "description", property: "og:description", content: "{tale.lore.summary}" }
document::Meta { property: "og:type", content: "article" }
document::Meta { property: "og:title", content: "{tale.lore.title}" }
document::Meta { property: "og:description", content: "{tale.lore.summary}" }
document::Meta { property: "og:url", content: "{url}" }
if let Some(image) = settings.default_post_image
{
document::Meta { property: "og:image", content: "{image}" }
document::Meta { name: "image", property: "og:image", content: "{image}" }
}
h1 { {tale.lore.title} }
@ -110,7 +117,11 @@ pub fn PostHeader(tale: Tale, adventurer: Option<Adventurer>) -> Element
}
}
PostHeaderAuthor { author: adventurer }
PostHeaderAuthor
{
author: adventurer,
publish_date: tale.lore.publish_date.format("%m/%d/%Y").to_string()
}
}
}

View File

@ -1,6 +1,6 @@
[package]
name = "loreweaver"
version = "0.3.1"
version = "0.3.2"
edition = "2024"
description = "Converts a blog repository into an SQLite database using the Tavern blog system."
repository = "/CyberMages/tavern"

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB