Code Monkey home page Code Monkey logo

iak's Introduction

IAK博客

关于

本博客使用Astro框架开发,组件使用了astro组件和vue组件(vue开发功能比较方便,但本项目是构建静态站点,不是SSR,最终页面呈现时vue组件会有一段时间空白。后期可能会将vue组件慢慢改回astro组件)

示例网站见Iak示例博客DORAKIKA的博客

20230407141533.png

20230407141735.png

特色

  • 🎨多种主题配置
  • 📄支持文章页、豆瓣书影音标记、友链页、说说页
  • 🤖友好的SEO、OpenGraph支持、sitemap与robot.txt
  • 🖼️支持生成页面分享图片
  • 📊站点面板:标签集合、最近豆瓣标记
  • 🔀随机文章跳转
  • 🔍简易搜索功能
  • 🔔rss订阅支持
  • ✨友好的键盘交互

如何使用

# 克隆仓库
git clone ...
# 安装依赖
yarn

# 本地开发
yarn dev

# 本地构建
yarn build

# 本地预览
yarn preview

部署

目前只做了vercel的(因为我用的就是vercel),从vercel直接导入仓库即可,其他可以到Astro官网自行适配(问就是懒

使用

  • 主要配置内容在/src/config.ts
  • 文章内容在/src/content/posts/内,后续可能会添加其他形式的内容(目前设想中会添加一种用来记录某段时间事情的文档模式(差不多是日记周记这个概念))
  • 友链内容在/src/content/friends/_index.yml内配置
  • 书影音游等标记在/src/content/mark/_index.yml内配置
  • 新建页面参考src/pages/friends.astro建立
  • 启动twikoo评论需先部署并获取服务地址(其他评论服务,emm,我只能说:欢迎PR)

iak's People

Contributors

dorakika avatar astrobot-houston 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.