Skip to content

Commit

Permalink
feat: Added an blog demo
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits committed Mar 10, 2024
1 parent a1d4f17 commit 2f4bcb8
Show file tree
Hide file tree
Showing 7 changed files with 177 additions and 272 deletions.
132 changes: 68 additions & 64 deletions pages/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,76 +12,80 @@ export default defineConfig({

themeConfig: {
author: "Gabriel Cozma/Gabs",
colorScheme: {
accent: "#c1b134",
},
nav: {
links: [
{ text: "Guide", link: "/guide/" },
{ text: "Static", link: "/static" },
{ text: "Demo", link: "/demo/" },
],
git: "https://github.com/GabsEdits/aplos",
blog: {
data: {
repo: "GabsEdits/aplos",
repoid: "R_kgDOK-fCGg",
categoryid: "DIC_kwDOK-fCGs4Cd3kS",
},
},
footer: {
copyright: true,
poweredBy: true,

madeby: {
show: true,
name: "Gabs",
link: "https://gxbs.me",
nav: {
links: [
{ text: "Guide", link: "/guide/" },
{ text: "Static", link: "/static" },
{ text: "Demo", link: "/demo/" },
],
git: "https://github.com/GabsEdits/aplos",
},
footer: {
copyright: true,
poweredBy: true,

copyleft: {
show: true,
license: "MIT License",
info: "https://github.com/GabsEdits/aplos?tab=MIT-1-ov-file#readme",
madeby: {
show: true,
name: "Gabs",
link: "https://gxbs.me",
},

copyleft: {
show: true,
license: "MIT License",
info: "https://github.com/GabsEdits/aplos?tab=MIT-1-ov-file#readme",
},
},
},
},

markdown: {
container: {
warningLabel: "⚠ Warning",
tipLabel: "Tip",
dangerLabel: "⚠ Danger",
infoLabel: "Info",
},
},
head: [
["meta", { name: "author", content: "Gabriel Cozma/Gabs" }],
["link", { rel: "icon", href: "/favicon.ico" }],
["meta", { name: "theme-color", content: "#ff3e00" }],
["meta", { name: "og:type", content: "website" }],
["meta", { name: "og:locale", content: "en" }],
["meta", { name: "og:site_name", content: "Aplós" }],
[
"meta",
{
name: "og:image",
content: "https://aplos.gxbs.me/images/aplos-banner.png",
},
],
["meta", { name: "twitter:card", content: "summary_large_image" }],
[
"meta",
{
name: "twitter:image",
content: "https://aplos.gxbs.me/images/aplos-banner.png",
},
],
["meta", { name: "twitter:title", content: "Aplós" }],
[
"meta",
{
name: "twitter:description",
content: "Build an website fast, and easy",
markdown: {
container: {
warningLabel: "⚠ Warning",
tipLabel: "Tip",
dangerLabel: "⚠ Danger",
infoLabel: "Info",
},
},
head: [
["meta", { name: "author", content: "Gabriel Cozma/Gabs" }],
["link", { rel: "icon", href: "/favicon.ico" }],
["meta", { name: "theme-color", content: "#ff3e00" }],
["meta", { name: "og:type", content: "website" }],
["meta", { name: "og:locale", content: "en" }],
["meta", { name: "og:site_name", content: "Aplós" }],
[
"meta",
{
name: "og:image",
content: "https://aplos.gxbs.me/images/aplos-banner.png",
},
],
["meta", { name: "twitter:card", content: "summary_large_image" }],
[
"meta",
{
name: "twitter:image",
content: "https://aplos.gxbs.me/images/aplos-banner.png",
},
],
["meta", { name: "twitter:title", content: "Aplós" }],
[
"meta",
{
name: "twitter:description",
content: "Build an website fast, and easy",
},
],
["meta", { name: "twitter:url", content: "https://aplos.gxbs.me" }],
],
["meta", { name: "twitter:url", content: "https://aplos.gxbs.me" }],
],
sitemap: {
hostname: "https://aplos.gxbs.me",
},
sitemap: {
hostname: "https://aplos.gxbs.me",
},
});
206 changes: 0 additions & 206 deletions pages/demo.md

This file was deleted.

29 changes: 29 additions & 0 deletions pages/demo/blog/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
layout: blog-list
posts:
- title: Lorem
desc: Why Lorem is the best.
date: 2024-03-10T21:34:00+02:00
tags:
- demo
- lorem
- example
- title: Ipsum
desc: Why Ipsum is the best.
date: 2024-03-10T21:33:00+02:00
tags:
- demo
- ipsum
- example
- title: First Blog
desc: My first *demo* blog!
date: 2024-03-10T21:32:00+02:00
tags:
- demo
- example
- first
---

# Blog Demo

Welcome to the blog demo, look around!
Loading

0 comments on commit 2f4bcb8

Please sign in to comment.