<script>
(function () {
    var logo = document.getElementById("header-logo");
    if (!logo) return;
    var h = logo.getAttribute("href");
    if (h && h.indexOf("__BLOG_ROOT_ID__") !== -1) {
        logo.setAttribute("href", "./blog");
    }
})();
</script>