diff --git a/functions.php b/functions.php index 08a03a3..67556b9 100644 --- a/functions.php +++ b/functions.php @@ -7,7 +7,7 @@ function themeConfig($form) { $form->addInput($icoUrl); $jzyear = new Typecho_Widget_Helper_Form_Element_Text('jzyear', NULL, NULL, _t('建站年份 eg. 2006')); $form->addInput($jzyear); - $instagramurl = new Typecho_Widget_Helper_Form_Element_Text('instagramurl', NULL, NULL, _t('ins')); + $instagramurl = new Typecho_Widget_Helper_Form_Element_Text('instagramurl', NULL, NULL, _t('Instagram')); $form->addInput($instagramurl); $telegramurl = new Typecho_Widget_Helper_Form_Element_Text('telegramurl', NULL, NULL, _t('电报')); $form->addInput($telegramurl); @@ -27,10 +27,10 @@ function themeConfig($form) { $form->addInput($memos); $memosID = new Typecho_Widget_Helper_Form_Element_Text('memosID', NULL, '1', _t('memosID')); $form->addInput($memosID); - + $doubanID = new Typecho_Widget_Helper_Form_Element_Text('doubanID', NULL, '322dba2a3a27524b97c06d941d9631d153fc', _t('从https://node.wpista.com/获得token')); + $form->addInput($doubanID); $twikoo = new Typecho_Widget_Helper_Form_Element_Textarea('twikoo', NULL, NULL, _t('引用第三方评论')); $form->addInput($twikoo); - $addhead = new Typecho_Widget_Helper_Form_Element_Textarea('addhead', NULL, NULL, _t('添加head')); $form->addInput($addhead); $tongji = new Typecho_Widget_Helper_Form_Element_Textarea('tongji', NULL, NULL, _t('统计代码')); diff --git a/index.php b/index.php index b6c7e25..2cce43b 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * 移植自HUGO主题`farallon`原作者`bigfa` * @package farallon * @author 老孙 - * @version 0.4.1 + * @version 0.5.0 * @link https://imsun.org */ if (!defined('__TYPECHO_ROOT_DIR__')) exit; diff --git a/page-archives.php b/page-archives.php index 3f1439d..ad86b43 100644 --- a/page-archives.php +++ b/page-archives.php @@ -10,7 +10,7 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>

title() ?>

to($quantity); ?> -

共包含 publishedPostsNum(); ?> 篇文章

+

共包含 publishedPostsNum(); ?> 篇文章

options->showallwords): ?>

diff --git a/page-douban.php b/page-douban.php index a66ebc6..9f3462c 100644 --- a/page-douban.php +++ b/page-douban.php @@ -11,8 +11,293 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>

title() ?>

观影数据来源于豆瓣

- -
- +
+
+ +
+
+
+
+
+
+
+
+
+
+ need('footer.php'); ?> \ No newline at end of file