Coder Social home page Coder Social logo

hugo-theme-farallon-simple's Introduction

Hugo Theme Farallon Simple

Hugo 主题 Farallon的简单修改版,博客自用。

目前修改自0.4.4版本,详情见: bigfa/hugo-theme-farallon

使用说明

config.toml

参照config.sample.toml设置,用不到的可以注释掉。

相册

创建assets/photos目录,将照片重命名为日期 标签-标题.后缀格式,如2014-05-10 动物-宿舍的猫.jpg

默认标签有日常、风景、物品、动物、饮食,可以在主题layouts/_default/photos.html修改。

最后新建content/page/photos.md

---
title: 相册
layout: "photos"
slug: "photos"
url: "/photos"
comments: false
---

看过

需自行搭建后端,见:https://github.com/Taosky/douban

修改config.tomldbAPIBase

新建content/page/watch.md

---
layout: "watch"
url: "/watch"
---

关于

content/page/about.md

---
title: "关于"
layout: "about"
url: "/about"
comments: true
---

友链

content/page/friends.md

---
title: "友链"
layout: "links"
url: "/friends"
links:
    [
        {
            "title": "四十五",
            "link": "https://baidushabi.com/",
            "description": "随缘写写",
        },
        {
            "title": "泷涯零点",
            "link": "https://blog.sylingd.com/",
            "description": "不忘初心,方得始终",
        },
    ]
---

memo

content/memo/1.md

---
title: "可省略标题"
date: 2024-06-25T14:06:25+08:00
---
此处字数限制100

版本更新

0.4.4.2

  • 看过页面样式修改、增加评价文字
  • 新增相册页面
  • 样式修改

0.4.4.1

  • 样式修改(代码高亮、暗黑主题、图片显示、字体等)
  • 添加代码拷贝按钮
  • memo样式修改,字数限制100,仅展示无详情
  • 替换搜索方式(检索JSON)
  • 替换评论为Giscus
  • 关于页面支持评论
  • 移除手动切换主题控件(和Giscus样式匹配)
  • 移除i18n支持

参考

https://github.com/bigfa/hugo-theme-farallon https://ttys3.dev/blog/hugo-fast-search

hugo-theme-farallon-simple's People

Contributors

taosky avatar bigfa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.