• 主题模板
  • 【Daisy】halo-theme-daisy 一款简洁、大气的主题

这个Api Key是哪里的Api Key,看了很久都明白,官方文档也没有说明

    Dinosaurhou 是halo系统的博客设置里,点进去后右上角有个高级设置,然后就看到有个API设置了

    1 个月 后
    8 天 后

    使用curl访问能看到用户名密码 这个是bug吗。能隐藏吗

    curl bolg.***.com
    
       <div class="mouse-cursor cursor-outer hidden lg:block" style="" data-no-instant></div>
        <div class="mouse-cursor cursor-inner hidden lg:block" style="" data-no-instant></div>
        <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/smoothscroll/1.4.10/SmoothScroll.min.js" type="application/javascript"></script>
        <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js" type="application/javascript"></script>
        <script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js"></script>
        <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/highlight.js/11.4.0/highlight.min.js" type="application/javascript"></script>
        <script src="/themes/liao_daisy/source/js/daisy.js"></script>
        <script>
            hljs.highlightAll();
            loadHotPost(5, 'http://*********', '*******')  #####此处显示账号密码
            lightBox('.markdown-body img', 'post')
            generateCatalog()
            daisy_cursor()
            var url = location.href;
            var urlstatus = false;
            $(".nav li a").each(function () {
                if ((url + '/').indexOf($(this).attr('href').replace('.html', '')) > -1 && $(this).attr('href').replace('.html', '') != '/') {
                    $(this).addClass('text-black dark:text-white font-semibold tracking-wide');
                    urlstatus = true;
                } else {
                    $(this).removeClass('text-black dark:text-white font-semibold tracking-wide');
                }
            });
            if (!urlstatus) {
                $(".nav li a").eq(0).addClass('text-black dark:text-white font-semibold tracking-wide');
            }
        </script>
        <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/instantclick/3.1.0/instantclick.min.js" type="application/javascript" data-no-instant></script>
        <script>
            InstantClick.on('change', function (isInitialLoad) {
                if (isInitialLoad) {
                    return
                }
                if (typeof _hmt !== 'undefined') {
                    _hmt.push(['_trackPageview', location.pathname + location.search]);
                }
            });
            InstantClick.init()
        </script>
        
        
    </body>

    位置在loadHotPost(5, 'http://******', '****')

      ifan 这个不是账号密码。主题设置里不填写 Access key 内容就行

      • ifan 回复了此帖
        8 天 后

        请问能在评论区加上emoji表情包吗,以及自动转换夜间模式😀

        6 天 后
        4 个月 后
        1 年 后
        1 个月 后