mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 11:16:00 +05:30
Add new theme
Based on Tailwind Starter Blog theme, see https://github.com/timlrx/tailwind-nextjs-starter-blog
This commit is contained in:
parent
cb7a8a6be2
commit
4abd8b29f4
30 changed files with 4494 additions and 36 deletions
|
|
@ -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 () {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue