Add new theme

Based on Tailwind Starter Blog theme, see https://github.com/timlrx/tailwind-nextjs-starter-blog
This commit is contained in:
danpros 2024-11-20 13:01:17 +07:00
commit 4abd8b29f4
30 changed files with 4494 additions and 36 deletions

View file

@ -3,6 +3,9 @@ if (!defined('HTMLY')) die('HTMLy');
use PragmaRX\Google2FA\Google2FA;
// Get search query. Redir to /search/
get_search_query();
// Load the configuration file
config('source', $config_file);
@ -19,9 +22,6 @@ if (config('timezone')) {
// Publish scheduled post
publish_scheduled();
// Get search query. Redir to /search/
get_search_query();
// The front page of the blog
get('/index', function () {