Skip to content

Commit 0752029

Browse files
committed
Revert "Fix Micro.blog conversation links to use guid and style reply form"
This reverts commit f183d39.
1 parent f183d39 commit 0752029

2 files changed

Lines changed: 2 additions & 67 deletions

File tree

layouts/post/single.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1 class="p-name single-post-title">{{ .Title }}</h1>
3535

3636
<!-- Reply/Interaction Buttons -->
3737
<ul class="reply-buttons">
38-
<li><a class="conversation-on-mb" href="https://micro.blog/conversation?url={{ if .Params.guid }}{{ .Params.guid }}{{ else }}{{ .Permalink }}{{ end }}">View on Micro.blog</a></li>
38+
<li><a class="conversation-on-mb" href="https://micro.blog/conversation?url={{ .Permalink }}">View on Micro.blog</a></li>
3939
<li><a class="reply-by-email" href="mailto:{{ .Site.Params.email }}?subject=Re: {{ .Title | default .Summary }}">Reply by Email</a></li>
4040
{{ if .Params.mastodon }}
4141
<li><a class="reply-on-mastodon" href="https://mastodon.social/@{{ .Params.mastodon.username }}/{{ .Params.mastodon.id }}" target="_blank">Reply on Mastodon</a></li>
@@ -64,6 +64,6 @@ <h4>Also posted on:</h4>
6464
{{ end }}
6565

6666
<!-- Micro.blog Conversation Thread -->
67-
<script type="text/javascript" src="https://micro.blog/conversation.js?url={{ if .Params.guid }}{{ .Params.guid }}{{ else }}{{ .Permalink }}{{ end }}"></script>
67+
<script type="text/javascript" src="https://micro.blog/conversation.js?url={{ .Permalink }}"></script>
6868
</div>
6969
{{ end }}

static/css/main.css

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,71 +1127,6 @@ a:hover {
11271127
border-top: 1px solid hsl(var(--border));
11281128
}
11291129

1130-
.microblog_reply_form {
1131-
margin: 1.5rem 0;
1132-
padding: 1.5rem;
1133-
background: hsl(var(--card));
1134-
border: 1px solid hsl(var(--border));
1135-
border-radius: calc(var(--radius) - 2px);
1136-
}
1137-
1138-
.microblog_reply_signin {
1139-
margin-bottom: 1rem;
1140-
font-size: 0.875rem;
1141-
color: hsl(var(--muted-foreground));
1142-
}
1143-
1144-
.microblog_reply_signin a {
1145-
color: hsl(var(--primary));
1146-
text-decoration: none;
1147-
font-weight: 500;
1148-
}
1149-
1150-
.microblog_reply_signin a:hover {
1151-
text-decoration: underline;
1152-
}
1153-
1154-
.microblog_reply_textarea textarea {
1155-
width: 100%;
1156-
padding: 0.75rem;
1157-
background: hsl(var(--background));
1158-
border: 1px solid hsl(var(--border));
1159-
border-radius: calc(var(--radius) - 2px);
1160-
color: hsl(var(--foreground));
1161-
font-family: inherit;
1162-
font-size: 0.9375rem;
1163-
line-height: 1.5;
1164-
resize: vertical;
1165-
}
1166-
1167-
.microblog_reply_textarea textarea:focus {
1168-
outline: none;
1169-
border-color: hsl(var(--ring));
1170-
box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
1171-
}
1172-
1173-
.microblog_reply_button input[type="submit"] {
1174-
padding: 0.5rem 1.5rem;
1175-
background: hsl(var(--primary));
1176-
color: hsl(var(--primary-foreground));
1177-
border: none;
1178-
border-radius: calc(var(--radius) - 2px);
1179-
font-weight: 500;
1180-
font-size: 0.875rem;
1181-
cursor: pointer;
1182-
transition: all 0.2s ease;
1183-
}
1184-
1185-
.microblog_reply_button input[type="submit"]:hover:not(:disabled) {
1186-
opacity: 0.9;
1187-
transform: translateY(-1px);
1188-
}
1189-
1190-
.microblog_reply_button input[type="submit"]:disabled {
1191-
opacity: 0.5;
1192-
cursor: not-allowed;
1193-
}
1194-
11951130
.microblog_post {
11961131
margin-bottom: 1.5rem;
11971132
padding: 1rem;

0 commit comments

Comments
 (0)