diff --git a/inc/config.php b/inc/config.php index f49978c4..2fecf59b 100644 --- a/inc/config.php +++ b/inc/config.php @@ -2056,6 +2056,12 @@ * ==================== */ + // Site logo. This is used in the SEO tags and can be used in front page themes. + $config['logo'] = "static/logo.png"; + + // Base address of your imageboard for other sites to link pages and images. Probably should include $config['root']. + $config['SEO']['address'] = "https://exampleimageboard.net/"; + // Meta keywords. It's probably best to include these in per-board configurations. // $config['meta_keywords'] = 'chan,anonymous discussion,imageboard,tinyboard'; diff --git a/templates/index.html b/templates/index.html index 1a35747a..46fb2968 100644 --- a/templates/index.html +++ b/templates/index.html @@ -14,7 +14,19 @@ {% include 'header.html' %} - {{ board.url }} - {{ board.title|e }} + {% set page_num %}{% for page in pages %}{% if page.selected %}{% if page.num != 1 %}{{ page.num }}{% endif %}{% endif %}{% endfor %}{% endset %} + {{ board.url }} - {{ board.title|e }}{% if page_num %} - Page {{ page_num }}{% endif %} + {% set meta_subject %}{{ board.subtitle|remove_paragraphs|e }}{% endset %} + + + + + + + + + + {{ boardlist.top }} diff --git a/templates/thread.html b/templates/thread.html index fda755ed..fd28cd0c 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -16,11 +16,14 @@ + + + {% if thread.files.0.thumb %}{% endif %} - - {% if thread.files.0.thumb %}{% endif %} - + + {% if thread.files.0.thumb %}{% endif %} + {% if isnoko50 %}{% endif %} {{ board.url }} - {{ meta_subject }}