You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2025-02-09-jekyll.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This is a meandering post about my personal experience using Claude (just the LL
8
8
9
9
This isn’t a tutorial on how to install Jekyll or design a site. There are plenty of resources for that, so I’m going to skip a lot of steps and gloss over some details.
10
10
11
-
{: .bordered-image}
11
+

12
12
13
13
This site used to be raw HTML. I wanted to change it to Jekyll and Markdown for a few reasons:
14
14
@@ -27,15 +27,15 @@ My site is hosted on GitHub pages and I own my domain (devinlogan.org) through D
27
27
28
28
1. Sure enough, installing Jekyll was the first step. Claude instructed me how to do that:
1. After trying out the first step, I got an error:
33
33
34
34
```(ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.)```
35
35
36
36
Claude recommended two different ways I could do it instead (I chose the second).
37
37
38
-
{: .small-image}
38
+

39
39
40
40
Now I had a basic Jekyll site up and running.
41
41
@@ -53,24 +53,24 @@ Next, I spent some time on the design. I wanted the site index to be a page abou
53
53
54
54
The Minima style by default has the [posts inline on the site index](https://jekyll.github.io/minima/). I didn’t want this – I wanted the blog to be linked from the index, but I wanted the index to be relatively sparse. I set up the separate blog part relatively easily and got the posts to show up on a non-index page, but I had a harder time figuring out how to remove the posts from the index.
55
55
56
-
{: .bordered-small-image}
56
+

57
57
58
58
1. First, I thought I’d just change the theme and find one that suited me better. I found a few that looked good and got one up and running, but then I realized I’d have to make additional changes to get the look I wanted. That seemed annoying so I just went back to the basic theme.
59
59
60
60
1. Next, I tried to get Claude to help me. First, Claude told me to remove the for loops from the index, but I didn't have any. My index was literally just text, no special formatting.
61
61
62
62
1. I reworded my question, and Claude told me to override the home layout. This technically did what I wanted – it removed the posts, but also all other styling on the page. Other than the removing posts, I wanted the Minima layout and styling preserved.
63
63
64
-
{: .small-image}
64
+

65
65
66
66
1. I tried again. Claude wanted me to implement a bunch of JavaScript. This seemed like a hack, and I wanted a better solution.
67
67
68
68
1. So I went to the internet. I read some stuff and tried some stuff and nothing was quite right. For example, a common issue people have is wanting to [hide some posts](https://tamrazyan.com/how-to-hide-a-post-on-jekyll). But I wanted to hide all posts, not filter some out.
69
69
70
70
1. I finally went back to Claude and asked how to override the Minima theme. This turned out to be the correct wording! I got a simple solution that worked right away.
71
71
72
-
{: .small-image}
73
-
{: .bordered-small-image}
72
+

73
+

74
74
75
75
76
76
## Issue #2: Italicize words in the title of a post
@@ -100,13 +100,12 @@ I thought this would be super easy and just a single line of code somewhere, but
100
100
101
101
1. Next, Claude took a more nuanced, Minima-specific approach. I copied Minima’s ```head.html``` file over to my own, and then adjusted some of the code to account for the favicon. This worked.
I looked online first and found a lot of solutions that looked complicated and required editing multiple files. Surely there was a better way?! Yes. According to Claude, there was indeed a one-line solution. This worked right away.
0 commit comments