Skip to content

Commit

Permalink
analytics and email list
Browse files Browse the repository at this point in the history
  • Loading branch information
breadchris committed Feb 8, 2024
1 parent 41733f6 commit cc4852d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 10 deletions.
10 changes: 5 additions & 5 deletions js/dist/extension/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -5079,6 +5079,11 @@ details.collapse summary::-webkit-details-marker {
margin-right: 0.25rem;
}

.mx-16 {
margin-left: 4rem;
margin-right: 4rem;
}

.mx-\[3vw\] {
margin-left: 3vw;
margin-right: 3vw;
Expand Down Expand Up @@ -5419,11 +5424,6 @@ details.collapse summary::-webkit-details-marker {
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
}

.bg-gray-100 {
--tw-bg-opacity: 1;
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.bg-gray-200 {
--tw-bg-opacity: 1;
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
Expand Down
10 changes: 5 additions & 5 deletions js/dist/site/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -5079,6 +5079,11 @@ details.collapse summary::-webkit-details-marker {
margin-right: 0.25rem;
}

.mx-16 {
margin-left: 4rem;
margin-right: 4rem;
}

.mx-\[3vw\] {
margin-left: 3vw;
margin-right: 3vw;
Expand Down Expand Up @@ -5419,11 +5424,6 @@ details.collapse summary::-webkit-details-marker {
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
}

.bg-gray-100 {
--tw-bg-opacity: 1;
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.bg-gray-200 {
--tw-bg-opacity: 1;
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- /* Head custom content area start */ -}}
{{- /* Insert any custom code (web-analytics, resources, etc.) - it will appear in the <head></head> section of every page. */ -}}
{{- /* Can be overwritten by partial with the same name in the global layouts. */ -}}
<script defer data-domain="breadchris.com" src="https://plausible.io/js/script.js"></script>
{{- /* Head custom content area end */ -}}
10 changes: 10 additions & 0 deletions pkg/publish/templates/PaperMod/layouts/partials/home_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,15 @@ <h1>{{ .Title | markdownify }}</h1>
<footer class="entry-footer">
{{ partial "social_icons.html" (dict "align" site.Params.homeInfoParams.AlignSocialIconsTo) }}
</footer>
<form
action="https://buttondown.email/api/emails/embed-subscribe/breadchris"
method="post"
target="popupwindow"
onsubmit="window.open('https://buttondown.email/breadchris', 'popupwindow')"
class="embeddable-buttondown-form"
>
<input type="email" name="email" id="bd-input" placeholder="join the email list" />
<input type="submit" id="bd-submit" value="Subscribe" />
</form>
</article>
{{- end -}}

0 comments on commit cc4852d

Please sign in to comment.