Hello Halo

编辑 / 默认分类 / blog / 发布于2022-01-15 / 更新于2023-03-16 / 阅读 275

Hello Halo

正好还有个7年服务器,空着也是浪费,于是把之前hexo上的博客迁到halo,有后台写文章会方便点

然后找个好看的主题zozo小修

后续可能会在这个主题上加一个搜索功能

###修改内容

<div class="header animated fadeInDown">
  <div class="site_title_container">
    <div class="site_title">
      <h1>
        <a href="${blog_url!}">
          <span>${blog_title!}</span>
          <img src="${blog_logo!}" style=" width: 80px; border-radius: 50%;"/>
        </a>
      </h1>
    </div>
    <div class="description">
      <p class="sub_title">${settings.sub_title!'the site subtitle'}</p>
      <div class="my_socials">
        <#if settings.github??>
          <a href="${settings.github}" title="github" target="_blank"><i class="remixicon-github-fill"></i></a>
        </#if>
        <#if settings.twitter??>
          <a href="${settings.twitter}" title="twitter" target="_blank"><i class="remixicon-twitter-fill"></i></a>
        </#if>
        <#if settings.facebook??>
          <a href="${settings.facebook}" title="facebook" target="_blank"><i class="remixicon-facebook-fill"></i></a>
        </#if>
        <#if settings.weibo??>
          <a href="${settings.weibo}" title="weibo" target="_blank"><i class="remixicon-weibo-fill"></i></a>
        </#if>
        <#if settings.instagram??>
          <a href="${settings.instagram}" title="instagram" target="_blank"><i class="remixicon-instagram-fill"></i></a>
        </#if>
        <a href="/rss.xml" type="application/rss+xml" title="rss" target="_blank"><i class="remixicon-rss-fill"></i></a>
      </div>
    </div>
  </div>
</div>

<div class="nav_container animated fadeInDown">
  <div class="site_nav" id="site_nav">
    <ul>
      <#if is_post??>
        <li>
          <a href="${blog_url!}/admin/index.html#/posts/edit?postId=${post.id!}">编辑</a>
        </li>
      </#if>
      <@menuTag method="list">
        <#if menus?? && menus?size gt 0>
            <#list menus?sort_by('priority') as menu>
              <li>
                <a href="${menu.url!}">${menu.name!}</a>
              </li>
            </#list>
        </#if>
      </@menuTag>
    </ul>
  </div>
  <div class="menu_icon">
    <a id="menu_icon"><i class="remixicon-links-line"></i></a>
  </div>
</div>