Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfa committed Dec 1, 2024
0 parents commit f4c9211
Show file tree
Hide file tree
Showing 67 changed files with 4,259 additions and 0 deletions.
141 changes: 141 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
# Hugo Theme Notability

Hugo theme

## How to use

```
git submodule add https://github.com/bigfa/hugo-theme-notability.git themes/notability
echo "theme = 'notability'" >> config.toml
```

## Release Note

### 0.4.0

- compatible with the latest version

### 0.3.9

- add post image zoom

### 0.3.8

- update comment module

### 0.3.7

- add cloudflare worker comment system support

### 0.3.6

- update structure

### 0.3.5

- refactor scss

### 0.3.4

- change douban api to cloudflare worker

### 0.3.3

- update typescript

### 0.3.2

- add post views
- add post like

### 0.3.1

- add comment

### 0.3.0

- add dark mode support
- add back to top button

### 0.2.0

- Added status post format

### 0.1.8

- In-post link shortcode

### 0.1.7

- Multilingual support for relative time
- Detail style adjustments

### 0.1.6

- Fixed link rendering issue

### 0.1.5

- Structured data support

### 0.1.4

- Article table of contents support

### 0.1.3

- Ordered list style correction

### 0.1.2

- Detail adjustments on the list page

### 0.1.1

- Added i8n support

### 0.1.0

- Added author information for the theme

### 0.0.9

- Fixed the time formatting error in Safari browser

### 0.0.8

- Changed to local entry retrieval, no token setting required

### 0.0.7

- New DouBan entries support

### 0.0.6

- Header style changes
- Mobile style optimization

### 0.0.5

- List style adjustments
- Fixed time calculation error

### 0.0.4

- Added relative time
- Use `normalize.css`
- Localized fonts

### 0.0.3

- Added menu configuration
- Removed redundant pages

### 0.0.2

- Fixed some UI issues on the DouBan page

### 0.0.1

- Initial release
141 changes: 141 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
# Hugo Theme Notability

a single column hugo theme with cloudflare woker support

## 使用方法

```
git submodule add https://github.com/bigfa/hugo-theme-notability.git themes/notability
echo "theme = 'notability'" >> hugo.toml
```

## Release Note

### 0.4.0

- 兼容最新版本

### 0.3.9

- 增加图片灯箱效果

### 0.3.8

- 更新评论系统

### 0.3.7

- 增加 Cloudflare Worker 评论支持

### 0.3.6

- 更新目录结构

### 0.3.5

- 重构 `SCSS` 文件

### 0.3.4

- 更新豆瓣 API 到 Cloudflare Worker

### 0.3.3

- 更新 typescript

### 0.3.2

- 增加文章浏览量
- 增加文章点赞

### 0.3.1

- 增加评论功能

### 0.3.0

- 增加暗黑模式支持
- 增加返回顶部

### 0.2.0

- 增加状态文章格式

### 0.1.8

- 文章内链短代码

### 0.1.7

- 相对时间多语言支持
- 细节样式调整

### 0.1.6

- 修复链接渲染问题

### 0.1.5

- 结构化数据支持

### 0.1.4

- 文章目录支持

### 0.1.3

- 有序列表样式修正

### 0.1.2

- 列表页细节调整

### 0.1.1

- 增加多语言支持

### 0.1.0

- 增加主题作者信息

### 0.0.9

- 修复 safari 浏览器下时间格式化错误的问题

### 0.0.8

- 修改为本地获取条目,无需设置 token

### 0.0.7

- 新增豆瓣条目支持

### 0.0.6

- 修改头部样式
- 移动端样式优化

### 0.0.5

- 列表样式调整
- 修复时间技术错误

### 0.0.4

- 增加相对时间
- 使用`normalize.css`
- 本地化字体

### 0.0.3

- 增加菜单设置
- 移除多余页面

### 0.0.2

- 修复豆瓣页面的一些 UI 问题

### 0.0.1

- 初始化
11 changes: 11 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "{{ replace .Name "-" " " | title }}"
description:
categories: ["zine"]
tags: ["mini"]
date: {{ .Date }}
cover:
hidden: false
comments: true
draft: true
---
Binary file added assets/images/avatar.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions assets/js/comment.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions assets/scss/app.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@import "components/footer";
@import "base/var";
@import "base/normalize";
@import "base/basic";

@import "base/layout";
@import "templates/article";

@import "components/header";
@import "components/zoom";

@import "base/grap";
@import "templates/map";
@import "templates/term";
@import "components/comment";
:root {
--main-color: #1b578c;
--main-hover-color: #1b578c;
}

.js-contentFixed {
position: sticky;
top: 20px;
padding: 50px;
}

.screen-reader-text {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
Loading

0 comments on commit f4c9211

Please sign in to comment.