diff --git a/stylesheets/style.css b/stylesheets/style.css
index e02fe0f4..42557440 100644
--- a/stylesheets/style.css
+++ b/stylesheets/style.css
@@ -1205,6 +1205,14 @@ span.pln {
min-width: 48px;
}
+/* The center tag has been deprecated in HTML 5 */
+.center {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ text-align: center;
+}
+
/* Text and accessibility */
.ltr {
direction: ltr;
@@ -1980,4 +1988,3 @@ span.orangeQuote {
float: right;
margin: 0em 1em;
}
-
diff --git a/templates/themes/about/about.html b/templates/themes/about/about.html
new file mode 100644
index 00000000..62b031db
--- /dev/null
+++ b/templates/themes/about/about.html
@@ -0,0 +1,32 @@
+{% filter remove_whitespace %}
+
+
+
+
+ {% if config.meta_keywords %}{% endif %}
+
+ {{ theme_config.title }}
+ {% include 'header.html' %}
+
+
+
+ {{ board_list.top }}
+
+
+ {{ theme_config.title }}
+
+
+ {{ theme_config.description }}
+
+
+
+
+
+{% endfilter %}
diff --git a/templates/themes/about/info.php b/templates/themes/about/info.php
new file mode 100644
index 00000000..52a54280
--- /dev/null
+++ b/templates/themes/about/info.php
@@ -0,0 +1,31 @@
+ 'About',
+ // Description (you can use Tinyboard markup here).
+ 'description' => 'Extremely basic about page. Enabling board links is recommended for this theme.',
+ 'version' => 'v0.0.1',
+ // Theme configuration.
+ 'config' => [
+ [
+ 'title' => 'Site title',
+ 'name' => 'title',
+ 'type' => 'text',
+ 'default' => 'Title goes here'
+ ],
+ [
+ 'title' => 'Text',
+ 'name' => 'description',
+ 'type' => 'text',
+ 'default' => 'Text goes here'
+ ],
+ [
+ 'title' => 'File path',
+ 'name' => 'path',
+ 'type' => 'text',
+ 'default' => 'about.html',
+ 'comment' => '(eg. "about.html")'
+ ]
+ ],
+ 'build_function' => 'about_build'
+];
diff --git a/templates/themes/about/theme.php b/templates/themes/about/theme.php
new file mode 100644
index 00000000..d12034c0
--- /dev/null
+++ b/templates/themes/about/theme.php
@@ -0,0 +1,37 @@
+build($action);
+}
+
+class AboutTheme {
+ private $theme_config;
+
+
+ private function render(): string {
+ global $config;
+
+ return Element('themes/about/about.html', [
+ 'theme_config' => $this->theme_config,
+ 'config' => $config,
+ 'board_list' => createBoardlist(),
+ ]);
+ }
+
+ public function __construct(array $theme_config) {
+ $this->theme_config = $theme_config;
+ }
+
+ public function build(string $action): void {
+ global $config;
+
+ if ($action == 'all') {
+ $about_page = $this->render();
+ $home = $config['dir']['home'];
+ $path = $this->theme_config['path'];
+ file_write($home . $path, $about_page);
+ }
+ }
+}
\ No newline at end of file
diff --git a/templates/themes/about/thumb.png b/templates/themes/about/thumb.png
new file mode 100644
index 00000000..b1605080
Binary files /dev/null and b/templates/themes/about/thumb.png differ