|
@@ -19,7 +19,7 @@
|
|
|
|
|
|
<script id="hexo-configurations">
|
|
|
var NexT = window.NexT || {};
|
|
|
- var CONFIG = {"hostname":"schtonn.github.io","root":"/","scheme":"Muse","version":"7.7.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":true},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":true,"pangu":false,"comments":{"style":"tabs","active":"gitalk","storage":true,"lazyload":false,"nav":null,"activeClass":"gitalk"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideLeftIn"}}};
|
|
|
+ var CONFIG = {"hostname":"schtonn.github.io","root":"/","scheme":"Muse","version":"7.7.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":true},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":true,"pangu":false,"comments":{"style":"tabs","active":"valine","storage":true,"lazyload":false,"nav":null,"activeClass":"valine"},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideLeftIn"}}};
|
|
|
</script>
|
|
|
|
|
|
<meta name="description" content="引自:《信息学奥赛之-数学一本通》 揍是这样: F(n)=55⋅[(1+5)n−(1−5)n]\operatorname{F}(n)=\dfrac{\sqrt{5}}{5}\cdot\left[\left(1+\sqrt{5}\right)^n-\left(1-\sqrt{5}\right)^n\right] F(n)=55⋅[(1+5)n−(1−5)n] 代码揍这么简单: 123int">
|
|
@@ -204,6 +204,20 @@
|
|
|
</span>
|
|
|
|
|
|
|
|
|
+
|
|
|
+ <span class="post-meta-item">
|
|
|
+
|
|
|
+ <span class="post-meta-item-icon">
|
|
|
+ <i class="fa fa-comment-o"></i>
|
|
|
+ </span>
|
|
|
+ <span class="post-meta-item-text">Valine: </span>
|
|
|
+
|
|
|
+ <a title="valine" href="/posts/2020/ferbonacci/#valine-comments" itemprop="discussionUrl">
|
|
|
+ <span class="post-comments-count valine-comment-count" data-xid="/posts/2020/ferbonacci/" itemprop="commentCount"></span>
|
|
|
+ </a>
|
|
|
+ </span>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
</div>
|
|
|
</header>
|
|
@@ -295,7 +309,7 @@ s-65,47,-65,47z M834 80H400000v40H845z'/></svg></span></span></span><span class=
|
|
|
|
|
|
</div>
|
|
|
|
|
|
- <div class="comments" id="gitalk-container"></div>
|
|
|
+ <div class="comments" id="valine-comments"></div>
|
|
|
|
|
|
<script>
|
|
|
window.addEventListener('tabs:register', () => {
|
|
@@ -464,23 +478,32 @@ s-65,47,-65,47z M834 80H400000v40H845z'/></svg></span></span></span><span class=
|
|
|
|
|
|
|
|
|
|
|
|
-<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.css">
|
|
|
|
|
|
<script>
|
|
|
-NexT.utils.loadComments(document.querySelector('#gitalk-container'), () => {
|
|
|
- NexT.utils.getScript('//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js', () => {
|
|
|
- var gitalk = new Gitalk({
|
|
|
- clientID : 'be3858d263deee4c10a1',
|
|
|
- clientSecret: 'a4cadcddf2d764859e631ae51814a39b4bfe68e1',
|
|
|
- repo : 'schtonn.github.io',
|
|
|
- owner : 'schtonn',
|
|
|
- admin : ['schtonn'],
|
|
|
- id : '3414e89dae367a6c3b5dc272575da07e',
|
|
|
- language: '',
|
|
|
- distractionFreeMode: true
|
|
|
+NexT.utils.loadComments(document.querySelector('#valine-comments'), () => {
|
|
|
+ NexT.utils.getScript('//unpkg.com/valine/dist/Valine.min.js', () => {
|
|
|
+ var GUEST = ['nick', 'mail', 'link'];
|
|
|
+ var guest = 'nick,mail,link';
|
|
|
+ guest = guest.split(',').filter(item => {
|
|
|
+ return GUEST.includes(item);
|
|
|
+ });
|
|
|
+ new Valine({
|
|
|
+ el : '#valine-comments',
|
|
|
+ verify : true,
|
|
|
+ notify : true,
|
|
|
+ appId : 'BmologYYnRqCv0SLHDeDdA17-gzGzoHsz',
|
|
|
+ appKey : 'w9mVebFMdCmY6Nh9vfcBGaGt',
|
|
|
+ placeholder: "Write your comment...",
|
|
|
+ avatar : 'mm',
|
|
|
+ meta : guest,
|
|
|
+ pageSize : '10' || 10,
|
|
|
+ visitor : false,
|
|
|
+ lang : 'en' || 'zh-cn',
|
|
|
+ path : location.pathname,
|
|
|
+ recordIP : false,
|
|
|
+ serverURLs : ''
|
|
|
});
|
|
|
- gitalk.render('gitalk-container');
|
|
|
- }, window.Gitalk);
|
|
|
+ }, window.Valine);
|
|
|
});
|
|
|
</script>
|
|
|
|