Skip to content

Commit

Permalink
Update socials and custom sidebar
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy T. Bouse <[email protected]>
  • Loading branch information
jbouse committed Feb 16, 2024
1 parent adfe09a commit 5e0f03f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
15 changes: 10 additions & 5 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ hb:
blog:
sidebar:
profile:
# # title: Profile title other than site title.
description: Amateur radio station operator
company: KQ4AFY
location: St. Cloud, FL
socials:
hotline: 6100001659
socials: &my_socials
_color: false
github: jbouse
paypal: KQ4AFY
telegram: KQ4AFY
discord: rfT2kzvjfq
tiktok: butonlyone.life
email: [email protected] # github: hbstack
# mastodon: https://techhub.social/@hbstack
Expand All @@ -21,7 +24,7 @@ hb:
limit: 10 # the maximum number of the item.
paginate: 12 # paginate.
# post_thumbnail: false # whether to show the thumbnails.
# post_date_format: ":date_long" # see https://gohugo.io/functions/dateformat/#datetime-formatting-layouts.
post_date_format: ":date_full" # see https://gohugo.io/functions/dateformat/#datetime-formatting-layouts.
home: # homepage settings.
featured_posts: 5 # the number of the featured posts.
main_sections: # leave it empty to include all regular pages.
Expand All @@ -41,7 +44,7 @@ hb:
branch: main
footer:
socials:
email: [email protected]
<<: *my_socials
gallery:
date_sort_order: asc
highlight_images_count: 10
Expand All @@ -53,4 +56,6 @@ hb:
- name: Roboto
header:
socials:
email: [email protected]
<<: *my_socials
revision:
date_format: :date_medium
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{- with site.Params.hb.blog.sidebar.profile }}
<div
class="hb-blog-sidebar-profile hb-module d-flex flex-column justify-content-center align-items-center">
<p class="hb-blog-sidebar-profile-title text-center h5 mb-2">
<a href="https://hamshackhotline.com/" target="_blank" rel="noopener noreferrer">Hamshack Hotline</a>
</p>
<p class="hb-blog-sidebar-profile-meta text-center mb-2">
{{- with .hotline }}
{{- partial "icons/icon" (dict "vendor" "bootstrap" "name" "telephone" "className" "me-1") -}}
{{- . | markdownify -}}
{{- end }}
</p>
</div>
{{- end }}

0 comments on commit 5e0f03f

Please sign in to comment.