Commit Graph

235 Commits

Author SHA1 Message Date
Vincent Marcus
89de886e65 added bluesky social network 2024-11-23 15:26:01 -07:00
MeiK
a4e0d05485 Merge pull request #151 from nelvko/master
fix: use hugo 's api instead of static to  splice url
2024-09-30 10:15:11 +08:00
libm
816455f344 fix: use hugo 's api instead of static to  splice url 2024-09-30 09:36:43 +08:00
MeiK
6211cd3a78 Merge pull request #150 from yuweizzz/search
feat: allow local search
2024-09-04 15:10:00 +08:00
yuweizzz
99afb0f751 search 2024-09-03 23:41:28 +08:00
MeiK
b6c3256428 Merge pull request #149 from yuweizzz/fix
fix: no twitterIconElement raise error
2024-07-09 16:08:20 +08:00
yuweizzz
55ce7307c0 fix 2024-07-03 23:20:53 +08:00
MeiK
5c406167ff Merge pull request #148 from looechao/fix-ThreeBarLogo
Fix: Replace Mobile Search Button with Three-bar-logo SVG, Retain Customizable Octocats
2024-07-02 10:20:53 +08:00
looechao
6e98217660 fix:default-ThreeBarLogo 2024-07-01 18:31:32 +08:00
MeiK
bf47790f3a Merge pull request #147 from pobtastic/patch-1
Fix twitter javascript
2024-07-01 09:54:47 +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
MeiK
f3f26d78e2 Merge pull request #144 from qitoy/master
update: KaTeX version
2024-06-13 10:52:05 +08:00
qitoy
e034ab078a update: KaTeX version 2024-04-27 02:55:37 +09:00
MeiK
22b3231b4e Merge pull request #141 from nelvko/master
fix: replace icon.
2024-04-07 14:11:28 +08:00
libm
3041c6c969 fix: remove useless img. 2024-04-04 23:33:55 +08: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
MeiK
3f6f5af928 Merge pull request #140 from pobtastic/patch-3
Fix css-truncate-target
2024-03-26 11:23:25 +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
MeiK
6b4b7ad5ff Merge pull request #138 from pobtastic/patch-1
Update 404.html
2024-03-19 15:51:46 +08:00
Paul Maddern
2d02ca587d Update README.md 2024-03-15 18:57:18 +00:00
Paul Maddern
6a81594c3b Update config.template.toml 2024-03-15 18:55:35 +00: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
MeiK
ce4bafd6a7 Merge pull request #136 from pobtastic/patch-3
Allows use of categories and tags
2024-03-13 14:39:13 +08:00
Paul Maddern
3dee5edf9b Merge branch 'master' into patch-3 2024-03-11 14:47:17 +00:00
MeiK
4bc59c5d87 Merge pull request #137 from pobtastic/patch-4
Remove duplicate <li>
2024-03-11 11:09:49 +08: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
MeiK
0e4444efb2 Merge pull request #134 from pobtastic/patch-1
Tags with spaces don't render correctly.
2024-03-11 11:09:10 +08:00
Paul Maddern
552bd01e3c Remove duplicate <li>
`document.createElement('li')` already creates the `<li>`
2024-03-10 21:47:13 +00: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
MeiK
1081272625 Merge pull request #133 from leoheitmannruiz/patch-2
Add demosite to theme.toml
2024-02-11 11:44:07 +08:00
MeiK
fffa8c0cf3 Merge pull request #132 from leoheitmannruiz/patch-1
Make image path absolute
2024-02-11 11:43:54 +08:00
Leo Heitmann Ruiz
332960dc9f Add demosite 2024-02-06 22:06:34 +00:00
Leo Heitmann Ruiz
bfad8bd00d Make image path absolute 2024-02-06 22:02:47 +00:00
MeiK
4fa1ee2d58 Merge pull request #130 from dherbst/image-sep-26
Separate octocat image for #26
2024-01-25 16:02:59 +08:00
Darrel Herbst
da961fa209 Separate octocat image for #26 2024-01-08 18:23:45 -05:00
MeiK
b43894e9e5 Merge pull request #78 from oyyzz/add-avatar-in-reademe
Add avatar in config & reademe
2024-01-08 10:56:57 +08:00
MeiK
d8ab769567 Merge pull request #129 from wumingzhao1223/master
Fix typos
2024-01-08 10:56:16 +08:00
wumingzhao1223
ca19455213 Fix typos 2024-01-03 23:50:18 +08:00
MeiK
3b0c2b30b1 Merge pull request #128 from deining/fix-typo
Fix typos
2024-01-02 09:34:08 +08:00
Andreas Deininger
276bf0517f Fix typos 2023-12-21 20:50:25 +01: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
MeiK
002325531f Merge pull request #124 from yuweizzz/feat-details
feat: support collapsible block
2023-09-18 10:59:04 +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