112 Commits

Author SHA1 Message Date
April Hall
51116c36c0 Properly attribute GitHub trademarks 2025-01-01 18:27:22 -05:00
François Scala
3fb31add4f Adds support for custom_css and custom_js 2024-11-28 16:50:46 +01:00
Vincent Marcus
89de886e65 added bluesky social network 2024-11-23 15:26:01 -07:00
libm
816455f344 fix: use hugo 's api instead of static to  splice url 2024-09-30 09:36:43 +08:00
yuweizzz
99afb0f751 search 2024-09-03 23:41:28 +08:00
yuweizzz
55ce7307c0 fix 2024-07-03 23:20:53 +08:00
looechao
6e98217660 fix:default-ThreeBarLogo 2024-07-01 18:31:32 +08:00
Paul Maddern
02ac1ba431 Fix twitter javascript
When you hate twitter/ X after how awful it's got since Musk bought it, the code will throw a fatal error as `twitterIconElement` is `NULL` when unused - so `setAttribute()` isn't callable.
2024-06-28 11:19:36 +01:00
qitoy
e034ab078a update: KaTeX version 2024-04-27 02:55:37 +09:00
libm
b1f0422c0a fix: replace icon.
1. replace the twitter's icon with an x and adaptive theme.
2. replace github's HD icon.
3. icons are from the official.
2024-04-04 23:28:19 +08:00
Paul Maddern
896c72fcd0 Update post.html 2024-03-21 18:52:32 +00:00
Paul Maddern
3432d8089c Fix css-truncate-target
`css-truncate-target` only works when initialised:
```
css-truncate css-truncate-target
```
2024-03-21 18:50:56 +00:00
MeiK
856feff493 Merge pull request #139 from pobtastic/patch-2
Use Hugo built-in GA
2024-03-19 15:51:56 +08:00
Paul Maddern
aab58c7d7b Update extended_head.html 2024-03-15 18:52:59 +00:00
Paul Maddern
046f31434c Update 404.html
Google Analytics async template is deprecated:

https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/google_analytics_async.html#L1

I've also wrapped it in an `if` statement so it doesn't track non-production environments.
2024-03-15 18:48:15 +00:00
Paul Maddern
3dee5edf9b Merge branch 'master' into patch-3 2024-03-11 14:47:17 +00:00
MeiK
41970cd776 Merge pull request #135 from pobtastic/patch-2
Missing tag name on posts landing page
2024-03-11 11:09:24 +08:00
Paul Maddern
26d9939698 Allows use of categories and tags
I probably wouldn't handle it like this if I were writing it from scratch, but this is a suggested solution for having both tags _and_ categories present on the site.

```
---
title: "Wheelie"
date: 2024-03-01T22:06:25Z
draft: false
tags: ["skoolkit", "wheelie", "zx spectrum", "z80"]
categories:
  - "Disassembly"
---
```

The problem is, categories are defined by default so you end up with an empty page; e.g. https://meik2333.com/categories/

The alternative is to remove it, which can be done

```
[Taxonomies]
  tag = "tags"
```

(If you don't define `category = "categories"` then it's removed).
2024-03-04 10:58:08 +00:00
Paul Maddern
fa418e19e5 Missing tag name on posts landing page
Using hugo v0.123.4-21a41003c4633b142ac565c52da22924dc30637a+extended

This is blank unless I make the change here.
2024-03-03 08:58:49 +00:00
Paul Maddern
e9656366bd Tags with spaces don't render correctly.
I noticed that my tags at the top of the homepage 404'd when clicked (well, the ones with spaces in them anyway).

Just needs consistency with the other templates.
2024-03-02 15:24:14 +00:00
Darrel Herbst
da961fa209 Separate octocat image for #26 2024-01-08 18:23:45 -05:00
MeiK
fafe84e58f Merge pull request #125 from yuweizzz/perf-user-profile
perf: adjust avatar position when in different box
2023-09-18 10:59:27 +08:00
yuweizzz
b65186ac1b adjust position value 2023-09-14 22:14:34 +08:00
yuweizzz
0e4261bc8e perf: adjust avatar position when in different box 2023-09-13 23:03:58 +08:00
yuweizzz
7ba583ae41 feat: support collapsible block 2023-09-11 22:55:32 +08:00
jaxleof
cada89a353 fix: bug fixed 2022-06-23 22:30:43 +08:00
jaxleof
47f3cab6a5 feat: you can use MathJax now 2022-06-23 22:12:15 +08:00
jaxleof
66042aa6aa feat: Add tag-based classification 2022-06-23 16:37:04 +08:00
Tategoto Azarasi
6cfa9f51b2 Use fastly.jsdelivr.net
Use fastly.jsdelivr.net instead of cdn.jsdelivr.net since the latter is blocked in China.
2022-06-01 13:59:51 +08:00
MeiK
324e8301a8 更新 toc 2022-01-27 15:31:18 +08:00
MeiK
69ed2cc9c2 添加移动端适配 2022-01-24 20:57:20 +08:00
ventusoon
7b00f0e8c3 add Gitalk 2022-01-24 02:41:12 +08:00
yuweizzz
edaf870570 fix(layouts): fix 404 page in dark mode 2022-01-03 21:43:02 +08:00
yuweizzz
5b28a45d85 修改适配移动端头像上下间距对齐 2021-11-29 21:22:11 +08:00
yuweizzz
a0fe5f6000 修改org系列图标为弹性布局,修复对齐问题 2021-11-26 21:00:06 +08:00
yuweizzz
999d2961d2 添加Github图标动态跟随显示模式 2021-11-26 00:25:00 +08:00
MeiK
8b12b1115c Closes #74 2021-09-06 11:41:19 +08:00
Rafael Nicdao
4115fa1bd0 Move styling code into stylesheets and prevent header from covering content 2021-07-24 20:26:06 +10:00
Rafael Nicdao
7b8207e02c Accidentally mis-pasted code (previous commit) 2021-07-21 07:20:27 +10:00
Rafael Nicdao
27d4381eee Initial working implementation for https://github.com/MeiK2333/github-style/issues/71
Although very messy. Needs refactoring
2021-07-21 07:12:50 +10:00
MeiK
607fbab50b Merge pull request #68 from 2xiao/master
fix: 编辑器自动换行导致的错误
2021-03-17 14:09:25 +08:00
二小
12a28726ec fix: 编辑器自动换行导致的错误
上一个pr上,由于编辑器自动换行,导致了一个错误,抱歉
2021-03-17 12:34:41 +08:00
MeiK
62ab3ae518 Merge pull request #66 from 2xiao/master
fix: 修复baseurl为xx/xx时跳转错误的bug
2021-03-17 10:28:17 +08:00
aetos
af94976bbd Generate rss url based on relative URL
Generate correct URL even if Site.BaseURL is not domain apex.
2021-03-16 18:59:14 +09:00
2xiao
c830f22d7a fix: 修复baseurl为xx/xx时跳转错误的bug 2021-03-16 11:55:05 +08:00
reizist
16d4c280d7 Added stackoverflow link 2021-03-12 02:38:27 +09:00
MeiK
7454dcb66f add linkedin, instagram, tumblr and custom link 2020-12-28 14:12:18 +08:00
MeiK
9d9e9b3ef4 custom favicon 2020-12-21 10:11:36 +08:00
MeiK
b7ad0e8c8d add code syntax 2020-12-17 18:15:08 +08:00
MeiK
e49f5b551e fix theme 2020-12-16 17:27:17 +08:00