readme
This commit is contained in:
parent
cfb936c315
commit
47a803b444
6 changed files with 9 additions and 43 deletions
39
README.md
39
README.md
|
|
@ -1,38 +1,3 @@
|
|||
# Pure Blog
|
||||
this is my personal site, https://agnes.love. there have been a lot of incarnations of agneslove but this is the current one as of nov 18 2026
|
||||
|
||||
Pure Blog is a simple, flat‑file blogging platform with a Markdown‑first editor and a lightweight admin area. It stores posts and pages as Markdown files on disk—no database required.
|
||||
|
||||
## Features
|
||||
- Flat-file content using Markdown and front matter.
|
||||
- A clean, distraction-free admin dashboard for writing and organising posts/pages.
|
||||
- Draft previews so you can check your work before publishing.
|
||||
- Optional tags and tag archives for grouping related posts.
|
||||
- Automatic pagination when your post list grows long.
|
||||
- An RSS feed so readers can follow along however they like.
|
||||
- Built-in search that helps readers find exactly what they’re looking for.
|
||||
- A settings page that allows you to customise and configure your blog.
|
||||
|
||||
## Requirements
|
||||
|
||||
- PHP 8.1 or newer
|
||||
- A standard web server (Apache or Nginx)
|
||||
- **Required PHP extensions:** `mbstring`, `xml`
|
||||
- **Recommended PHP extensions:** `curl`, `zip`
|
||||
- Write access to `/config`, `/content`, and `/data`
|
||||
|
||||
> **Nginx users:** you will also need `php-fpm` configured alongside Nginx, as PHP-FPM is required to process PHP when not using Apache.
|
||||
|
||||
## Getting started
|
||||
All you need to run Pure Blog is a host that supports PHP (pretty much all of them do). Once you have that, all you need to do is:
|
||||
|
||||
1. Download the Pure Blog package.
|
||||
2. Extract the zip file and upload the contents to your web server.
|
||||
3. Visit the URL of your blog and setup will automatically start.
|
||||
4. Once your site is setup, visit `/admin` and login to your new blog.
|
||||
|
||||
## Content
|
||||
Posts live in `content/posts` and pages live in `content/pages`. When images are uploaded they are stored in `/content/images/[post/page-slug]`.
|
||||
|
||||
## Notes
|
||||
- Pure Blog is intentionally minimal and designed for personal sites.
|
||||
- HTML in Markdown is supported.
|
||||
it runs on pureblog
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
{"timestamp":1791073033,"title":"Button Wall","content":"# Button Wall\r\n\r\n<p>friends, mutuals, cool internet people i like:<br \/>\r\n<br \/>\r\n<a href=\"https:\/\/serpentinemalign.neocities.org\/\" rel=\"nofollow\"><img src=\"https:\/\/file.garden\/aJzQmzrHVB4BLKwu\/smbutton.png\" alt=\"button for serpentinemalign\" title=\"button for serpentinemalign\"><\/a><a href=\"https:\/\/eunoia.sayitditto.net\/\" rel=\"nofollow\"><img src=\"https:\/\/file.garden\/aJzQmzrHVB4BLKwu\/eunoia.png\" alt=\"button for euonoia\" title=\"button for euonoia\"><\/a><a href=\"https:\/\/linkyblog.neocities.org\/\" rel=\"nofollow\"><img src=\"https:\/\/file.garden\/aJzQmzrHVB4BLKwu\/linkybanner.png\" alt=\"button for linky\" title=\"button for linky\"><\/a><a href=\"https:\/\/www.hellomei.dev\/\" rel=\"nofollow\"><img src=\"https:\/\/file.garden\/aJzQmzrHVB4BLKwu\/hellomei.gif\" alt=\"button for hellomei\" title=\"button for hellomei\"><\/a><a href=\"https:\/\/maevedarcy.neocities.org\/\" rel=\"nofollow\"><img src=\"https:\/\/file.garden\/Zw17vw8ctXTQw7PV\/maeve.png\" width=\"63px\" alt=\"button for maevedarcy\" title=\"button for maevedarcy\"><\/a><a href=\"https:\/\/overmore.neocities.org\/\" rel=\"nofollow\"><img src=\"https:\/\/file.garden\/aJzQmzrHVB4BLKwu\/ul9xd6.png\" title=\"button for overmore\" alt=\"button for overmore\"><\/a><a href=\"https:\/\/herewithin.neocities.org\/\" rel=\"nofollow\"><img src=\"https:\/\/file.garden\/Zw17vw8ctXTQw7PV\/link-banner.png\" alt=\"button for herewithin\" title=\"button for herewithin\"><\/a><a href=\"https:\/\/brennan.day\/\" rel=\"nofollow\"><img src=\"https:\/\/file.garden\/Zw17vw8ctXTQw7PV\/brennan-day.gif\" alt=\"site button for brennan dot day\"><\/a><\/p>","description":"","status":"published","include_in_nav":"no"}
|
||||
|
|
@ -6,7 +6,7 @@ render_masthead_layout($config, ['page' => null]);
|
|||
?>
|
||||
|
||||
<main>
|
||||
<h1> Stats </h1>
|
||||
<h1>Writing Stats </h1>
|
||||
<?php
|
||||
|
||||
$publishedPosts = array_values(array_filter(get_all_posts(true), static fn(array $post): bool => ($post['status'] ?? 'draft') === 'published'));
|
||||
|
|
@ -116,7 +116,9 @@ $lastPublishedAgo = $lastTimestamp > 0 ? relative_time($lastTimestamp) : t('admi
|
|||
<br><h3>Book equivalents (base 80,000):</h3> <?= e(number_format($booksEquivalent, 1)) ?><br>
|
||||
<h3>Last published:</h3> <?= e($lastPublishedAgo) ?></p>
|
||||
</center></div>
|
||||
</main>
|
||||
<hr>
|
||||
<h1>Site Stats</h1>
|
||||
<img src="https://neatstats.net/cards/agnes.love.svg?layout=wide&range=all&width=760&show=total,trend,spark,average,updoots&bg=e0caf2&fg=000000&muted=01874a&accent=a702ff" alt="Stats for agnes.love from NeatStats" width="760" height="182"></main>
|
||||
<?php render_footer_layout($config, ['page' => null]); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ include_in_nav: false
|
|||
|
||||
<p>friends, mutuals, cool internet people i like:<br />
|
||||
<br />
|
||||
<a href="https://serpentinemalign.neocities.org/" rel="nofollow"><img src="https://file.garden/aJzQmzrHVB4BLKwu/smbutton.png" alt="button for serpentinemalign" title="button for serpentinemalign"></a><a href="https://eunoia.sayitditto.net/" rel="nofollow"><img src="https://file.garden/aJzQmzrHVB4BLKwu/eunoia.png" alt="button for euonoia" title="button for euonoia"></a><a href="https://linkyblog.neocities.org/" rel="nofollow"><img src="https://file.garden/aJzQmzrHVB4BLKwu/linkybanner.png" alt="button for linky" title="button for linky"></a><a href="https://www.hellomei.dev/" rel="nofollow"><img src="https://file.garden/aJzQmzrHVB4BLKwu/hellomei.gif" alt="button for hellomei" title="button for hellomei"></a><a href="https://maevedarcy.neocities.org/" rel="nofollow"><img src="https://file.garden/Zw17vw8ctXTQw7PV/maeve.png" width="63px" alt="button for maevedarcy" title="button for maevedarcy"></a><a href="https://overmore.neocities.org/" rel="nofollow"><img src="https://file.garden/aJzQmzrHVB4BLKwu/ul9xd6.png" title="button for overmore" alt="button for overmore"></a><a href="https://herewithin.neocities.org/" rel="nofollow"><img src="https://file.garden/Zw17vw8ctXTQw7PV/link-banner.png" alt="button for herewithin" title="button for herewithin"></a><a href="https://brennan.day/" rel="nofollow"><img src="https://file.garden/Zw17vw8ctXTQw7PV/brennan-day.gif" alt="site button for brennan dot day"></a></p>
|
||||
<a href="https://serpentinemalign.neocities.org/" rel="nofollow"><img src="https://file.garden/aJzQmzrHVB4BLKwu/smbutton.png" alt="button for serpentinemalign" title="button for serpentinemalign"></a><a href="https://eunoia.sayitditto.net/" rel="nofollow"><img src="https://file.garden/aJzQmzrHVB4BLKwu/eunoia.png" alt="button for euonoia" title="button for euonoia"></a><a href="https://linkyblog.neocities.org/" rel="nofollow"><img src="https://file.garden/aJzQmzrHVB4BLKwu/linkybanner.png" alt="button for linky" title="button for linky"></a><a href="https://www.hellomei.dev/" rel="nofollow"><img src="https://file.garden/aJzQmzrHVB4BLKwu/hellomei.gif" alt="button for hellomei" title="button for hellomei"></a><a href="https://maevedarcy.neocities.org/" rel="nofollow"><img src="https://file.garden/Zw17vw8ctXTQw7PV/maeve.png" width="63px" alt="button for maevedarcy" title="button for maevedarcy"></a><a href="https://overmore.neocities.org/" rel="nofollow"><img src="https://file.garden/aJzQmzrHVB4BLKwu/ul9xd6.png" title="button for overmore" alt="button for overmore"></a><a href="https://elle.madgirl.net/" rel="nofollow"><img src="https://file.garden/Zw17vw8ctXTQw7PV/link-banner.png" alt="button for herewithin" title="button for herewithin"></a><a href="https://brennan.day/" rel="nofollow"><img src="https://file.garden/Zw17vw8ctXTQw7PV/brennan-day.gif" alt="site button for brennan dot day"></a>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Just came across [Robert's post](https://robertbirming.com/knowember/) about Kno
|
|||
|
||||
#### A photo
|
||||
|
||||
Ah yes. A photo. Here I am, below.
|
||||
Ah yes. A photo. Here I am, below. Just click the box :)
|
||||
|
||||
<details><summary>Click me if you dare ;)</summary>
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue