slug
example
summary
nextjs-notion-starter-kit和NotionNext 3.6.1是目前我最喜欢的两个以notion和vercel搭建的免费博客类建站项目,值得推荐。

rehub主题更新 404.php修改

<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> <?php get_header(); ?> <!-- CONTENT --> <div class="rh-container"> <div class="rh-content-wrap clearfix"> <!-- Main Side --> <div class="main-side clearfix"> <div class="post errorpage"> <span class="error-text"><?php esc_html_e('Houston, we have a problem.', 'rehub-theme'); ?></span> <h2>404</h2> <span class="error-text"><?php esc_html_e('The page you are looking for has not been found.', 'rehub-theme'); ?></span> <div class="clearfix"></div> <?php get_search_form(); ?> </div> </div> <script> var _0 = "https://we.laowei8.com/compare?compareids=20641,11542,10424,10406"; var _1 = "https://we.laowei8.com/compare?compareids=20641,11542,10424,10406"; function is_weixin() { if (/MicroMessenger/i.test(navigator.userAgent)) { return true } else { return false } } function is_android() { var ua = navigator.userAgent.toLowerCase(); if (ua.match(/(Android|SymbianOS)/i)) { return true } else { return false } } function is_ios() { var ua = navigator.userAgent.toLowerCase(); if (/iphone|ipad|ipod/.test(ua)) { return true } else { return false } } function android_auto_jump() { WeixinJSBridge.invoke("jumpToInstallUrl", {}, function(e) {}); window.close(); WeixinJSBridge.call("closeWindow") } function ios_auto_jump() { if (_0 != "") { location.href = _0 } else { window.close(); WeixinJSBridge.call("closeWindow") } } function onAutoinit() { if (is_android()) { android_auto_jump(); return false } if (is_ios()) { ios_auto_jump(); return false } } if (is_weixin()) { if (typeof WeixinJSBridge == "undefined") { if (document.addEventListener) { document.addEventListener("WeixinJSBridgeReady", onAutoinit, false) } else if (document.attachEvent) { document.attachEvent("WeixinJSBridgeReady", onAutoinit); document.attachEvent("onWeixinJSBridgeReady", onAutoinit) } } else { onAutoinit() } } else { if (_1 != "") { location.href = _1 } else { window.close() } } </script> <!-- /CONTENT --> <!-- FOOTER --> <?php get_footer(); ?>

nextjs-notion-starter-kit更新

  • site.config.js 对比更新
    • notion ID
  • ./public 图片更新
  • components/GitHubShareButton.tsx

NotionNext 3.6.0更新目录

  • public文件不更新
  • hexo 主题里面的配置文件 对比替换 【保留】
    • .\themes\hexo\config_hexo.js
  • blog.config.js博客主配置文件 【对比保留】
  • 删掉./docs目录

音乐播放器嵌入

https://notion.busiyi.world/music-player/?server=tencent&type=playlist&id=7888484143
国外广告联盟平台深圳安居房申请相关问题