From 56f9b1ee83c92a68662024e8c1aa85c97a6993df Mon Sep 17 00:00:00 2001 From: Joe Hutchinson Date: Wed, 9 Feb 2022 13:17:35 -0500 Subject: [PATCH] Add more social icons to footer (#70) * Enable markdown in post titles * Update footer icons to no atrib assets --- README.md | 17 ++++-- assets/icons/facebook.svg | 21 ++++++++ assets/icons/flicker.svg | 16 ++++++ assets/icons/github.png | Bin 3506 -> 0 bytes assets/icons/github.svg | 23 +++++++++ assets/icons/home-page.png | Bin 1236 -> 0 bytes assets/icons/home.svg | 55 ++++++++++++++++++++ assets/icons/instagram.svg | 23 +++++++++ assets/icons/linkedin.png | Bin 1469 -> 0 bytes assets/icons/linkedin.svg | 27 ++++++++++ assets/icons/patreon.svg | 15 ++++++ assets/icons/rss.svg | 72 ++++++++++++++++++++++++++ assets/icons/soundcloud.svg | 18 +++++++ assets/icons/spotify.svg | 26 ++++++++++ assets/icons/tumblr.svg | 22 ++++++++ assets/icons/twitch.svg | 18 +++++++ assets/icons/twitter.svg | 39 ++++++++++++++ assets/icons/vimeo.svg | 26 ++++++++++ assets/icons/youtube.svg | 29 +++++++++++ layouts/_default/home.html | 2 +- layouts/_default/li-next.html | 2 +- layouts/_default/li.html | 2 +- layouts/_default/list.html | 2 +- layouts/_default/single.html | 2 +- layouts/partials/footer.html | 94 ++++++++++++++++++++++++++++++++-- 25 files changed, 538 insertions(+), 13 deletions(-) create mode 100644 assets/icons/facebook.svg create mode 100644 assets/icons/flicker.svg delete mode 100644 assets/icons/github.png create mode 100644 assets/icons/github.svg delete mode 100644 assets/icons/home-page.png create mode 100644 assets/icons/home.svg create mode 100644 assets/icons/instagram.svg delete mode 100644 assets/icons/linkedin.png create mode 100644 assets/icons/linkedin.svg create mode 100644 assets/icons/patreon.svg create mode 100644 assets/icons/rss.svg create mode 100644 assets/icons/soundcloud.svg create mode 100644 assets/icons/spotify.svg create mode 100644 assets/icons/tumblr.svg create mode 100644 assets/icons/twitch.svg create mode 100644 assets/icons/twitter.svg create mode 100644 assets/icons/vimeo.svg create mode 100644 assets/icons/youtube.svg diff --git a/README.md b/README.md index e627c95..66aea16 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,22 @@ disqusShortname = "Your shortname for Disqus - optional" [params] brand = "The name that is displayed in the top left of the website, consider it the website name" description = "The website's description" - github = "URL to your Github account - link will be included in the footer" - linkedin = "URL to your Linkedin account - link will be included in the footer" + facebook = "URL to your Facebook account - link will be included in the footer" + flicker = "URL to your Flicker account - link will be included in the footer" + github = "URL to your GitHub account - link will be included in the footer" + instagram = "URL to your Instagram account - link will be included in the footer" + linkedin = "URL to your LinkedIn account - link will be included in the footer" + patreon = "URL to your Patreon account - link will be included in the footer" + soundcloud = "URL to your Soundcloud account - link will be included in the footer" + spotify = "URL to your Spotify account - link will be included in the footer" + tumblr = "URL to your Tumblr account - link will be included in the footer" + twitch = "URL to your Twitch account - link will be included in the footer" + twitter = "URL to your Twitter account - link will be included in the footer" + vimeo = "URL to your Vimeo account - link will be included in the footer" + youtube = "URL to your Youtube account - link will be included in the footer" bgimg = "Path, within the 'assets' folder, of the image used for the page background - optional" headshotimg = "Path, within the 'assets' folder, of the image used for the home page header - optional" - rssinmenu = whether you would like a RSS feed link to appear in the navigation menu (true, false) - optional + rssinmenu = whether you would like a RSS feed link to appear in the navigation menu and footer (true, false) - optional [markup] [markup.highlight] diff --git a/assets/icons/facebook.svg b/assets/icons/facebook.svg new file mode 100644 index 0000000..5b3f7aa --- /dev/null +++ b/assets/icons/facebook.svg @@ -0,0 +1,21 @@ + + + + + + diff --git a/assets/icons/flicker.svg b/assets/icons/flicker.svg new file mode 100644 index 0000000..d9721a3 --- /dev/null +++ b/assets/icons/flicker.svg @@ -0,0 +1,16 @@ + + + + + + + + + diff --git a/assets/icons/github.png b/assets/icons/github.png deleted file mode 100644 index 84b62600a076927f00f04811a1331b0950a3a928..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3506 zcmV;j4NdZiP)t#%Z&@W?Bp#iuOd6T0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~; zl%|qm2&VFwD{B#rIm*dZ4Fgh-NJ~*4Fn*HSI#vOQmO7hgh45L-1T|RhOB==L*CTFM zod7w!U(CYoux!=hR3yiTt%F@i;KW7bGoEHKAbkQJmKEW1ITbJzRti0lPc~>1L%3{0 zQs`BBK<>m;@WN#qVu7x?4-&gzC~|_zC8RS~(p;^fOFZonjh+ymixX zd-Gb66RR&EksPbZAE#?aW*3OQ(|{Z=8yK`R8p+&tB!$Plqp%B!1)haCoAxLSLITH% zMWR=#tO`N`=11+{8`^nbe_p3-?#tOs-vx58~{%&-m g8{OzeH$G7KKgtg1KxC9Ang9R*07*qoM6N<$f{hG^=>Px# diff --git a/assets/icons/github.svg b/assets/icons/github.svg new file mode 100644 index 0000000..bb14e47 --- /dev/null +++ b/assets/icons/github.svg @@ -0,0 +1,23 @@ + + + + + + diff --git a/assets/icons/home-page.png b/assets/icons/home-page.png deleted file mode 100644 index ca09cf21f40995e708287c81dadc610dbc087db3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1236 zcmeAS@N?(olHy`uVBq!ia0vp^DImzD)SRv$V zFt_%=noE28rl>c(pTN9Ve#YI9a)ukiE2?=SVrE^RxJl|qYe_*qL;ltb@v1F<+m;@? zyokR-dWMqhmF@!t?6o}VrGLK#d)}|jy_L^$to2)+B=fa$n@v(i95OC)f2NmAKgXw< zyJR096aUr>Yq1RVsTcKXR*7miZeGGZ=P7giW9BEa3-5nEVBAz)2zZ!mB9WvlI>ymYU3)dcm%rIxp%TB5&mEj?yD`_(q?iYZMtOf{|+ zOXmhRoMn8_+;CR;K(goFdBRUb6Pmsp$YWAgy>WlyjZbg=RrYDg|}1MWM-FXhHudm60m80Qqny^HnDnhWdmBD-#9Ph8QfpuFS2Z@zwJ z{qPsz_g08MaeUzX#Qlo-fu>h6+ALR_beR1Vmv_H^d~J2oVfojavhMCYuJ$D4qx^%f zTz|Es>Tf>fkI~UeX4@cbxzv{1CUkE0(hriKgcHq0Wv*mzz4JjcuT!P$858@2+RKjy@F4Uo(Oz!bWv|UyBh1`@CH*?>2RObYg=MnC1eh~UEz88 zbM%9cNXaa#wDBHJ?XxXogEtaQmd|Pezc@ohmns!>I{Wb298q_n=}ry z1h#Q5;t_U{l=2suw%2BH*3*M&FeMj$$UU0;-8k;6SkqaodN2)h>uECCx7qgA`xO1( zU#i2Z&)&bRdUtn#?L3Kek1s3gTshYqKRYS#iS~(A#}|LB^SJmer2n{FB!*)!4TicB zD6wp_d{WBcZ_ck=)SEo)CDVQSH + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/instagram.svg b/assets/icons/instagram.svg new file mode 100644 index 0000000..6f9304c --- /dev/null +++ b/assets/icons/instagram.svg @@ -0,0 +1,23 @@ + + + + + + diff --git a/assets/icons/linkedin.png b/assets/icons/linkedin.png deleted file mode 100644 index 8caa731b4616f8e2976cc7fa0402327aeccd26d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1469 zcmV;u1w#6XP)|vmmX9z#^~`v+bXyyATxhk|?f%Q3OR) zRKE3S(1TKJZ)pWWQ21a$FO>@sM1PDDB1)uETb82Q)m4M7aIL$R>-O+-@!sE^d*{r| znS0Nj`F-HP9r*ozbLRJD?wL7%=73=shG7_nVHiexnUm750t^5ffmOiOz$Lya)uo&U zjsgdOy}%IgUpr1b0E_@LR$7*k^SR26i-4B`xX^AY=YYZUx$};Rk-iM3$ahNy5VdPh zQU!JZtFiV2BnPX3ok(uS}tWSoP` zoBB)&AL9av@|VjCi;*4^Brr^nz{p#W9$*vlxHk;^1^fvd23`m5&iVX>MEA?MayxJ+ z!e5tm0N+9UcMp89$MqvL{XRrb@s zn@HbI53m5~3)=~tRkn}&sBmC(T#&Do{ni$?+m!7mnQ9s)9T#Mx#`YYrxP|Rf75n#0 zH4T$Q`OD+6ce>{H9AKWKEr@`nCJ#Z5sN-i^*gm3;fAn0JLXz|^>nUY_7I_K04e9+{ zh&1rqfHTUrm3ZAs$J>w!@(7#svG*|c*qd9xYk*%Pe4CXMz;!+<8z4al0BASHY{<6~A`w(OoaIu4L6pMj<5i#FR7^k#?)DDbIBfZX9nFqWZQI~ZI zVw6^pCy@0RRp4m{dsi-{aRtB+$ov2oN-GG+va)8&>lOg>9ph+jMee%V`mA^KEwv!E zECikeK0{_p&c+!>){sAddqWTKo~qA~qn`-^+=D!(Mm6-c<$K@`$C!P}w~E_h*U}5J z9{4xHzgejQ_d3SbT`(?E+6^WfHfkth<%pb_btQ3-XcjIRiWo zTv21Q40xHwM*0JX_>U={y$(L56=Y?E&!a8uw?x>lh&e~UvOnlhuhI(gqO#xT;Im)( zybxo5gR(#AaE?URQKS*Wes#Rt!RL*b7@7%n+>sT@-ExPFD|?q|Mb|5zV=?wU%HCz_ zYia+o^k*zw-pc1IpQ#M>^hfZBzBt>dN3V{g{7$!(ym>_{+f&_*M5*Q{( zV3;6*VS)sP2@)74NMM*CfnkCKh6xfFCP-kIAc0|m1jgJpoWsjFvd1`~oF@{yLjofY zL5^nd9m^q39PK)fHSWCJ!=A+1>OW$$YRo`ZGeAbCkkIg#iW?Tf(n~>OsF7D_h z)TiPcTm%_c$2U4x$I!Vt9_Qd9$hYeFVdv@?I#=KL2pY9*Uayb91?LuW+BUD*#*!vV zb8aTbjU^#^>(wb_pT0h + + + + + diff --git a/assets/icons/patreon.svg b/assets/icons/patreon.svg new file mode 100644 index 0000000..7f95628 --- /dev/null +++ b/assets/icons/patreon.svg @@ -0,0 +1,15 @@ + + + + + + diff --git a/assets/icons/rss.svg b/assets/icons/rss.svg new file mode 100644 index 0000000..f415fe2 --- /dev/null +++ b/assets/icons/rss.svg @@ -0,0 +1,72 @@ + + + + + + diff --git a/assets/icons/soundcloud.svg b/assets/icons/soundcloud.svg new file mode 100644 index 0000000..5d09394 --- /dev/null +++ b/assets/icons/soundcloud.svg @@ -0,0 +1,18 @@ + + + + + + diff --git a/assets/icons/spotify.svg b/assets/icons/spotify.svg new file mode 100644 index 0000000..e1998e5 --- /dev/null +++ b/assets/icons/spotify.svg @@ -0,0 +1,26 @@ + + + + + + diff --git a/assets/icons/tumblr.svg b/assets/icons/tumblr.svg new file mode 100644 index 0000000..5c07add --- /dev/null +++ b/assets/icons/tumblr.svg @@ -0,0 +1,22 @@ + + + + + + diff --git a/assets/icons/twitch.svg b/assets/icons/twitch.svg new file mode 100644 index 0000000..4394a10 --- /dev/null +++ b/assets/icons/twitch.svg @@ -0,0 +1,18 @@ + + + + + + diff --git a/assets/icons/twitter.svg b/assets/icons/twitter.svg new file mode 100644 index 0000000..6ee804c --- /dev/null +++ b/assets/icons/twitter.svg @@ -0,0 +1,39 @@ + + + + + + diff --git a/assets/icons/vimeo.svg b/assets/icons/vimeo.svg new file mode 100644 index 0000000..b954f14 --- /dev/null +++ b/assets/icons/vimeo.svg @@ -0,0 +1,26 @@ + + + + + + diff --git a/assets/icons/youtube.svg b/assets/icons/youtube.svg new file mode 100644 index 0000000..8953864 --- /dev/null +++ b/assets/icons/youtube.svg @@ -0,0 +1,29 @@ + + + + + + diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 2a1ebd9..820a2f2 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -7,7 +7,7 @@ {{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
- {{ with .Title }}

{{ . }}

{{ end }} + {{ with .Title }}

{{ . | markdownify }}

{{ end }} {{ with .Description }}

{{ . }}

{{ end }}
{{ with resources.GetMatch .Site.Params.headshotimg -}} diff --git a/layouts/_default/li-next.html b/layouts/_default/li-next.html index c2f0f43..ad7adf1 100644 --- a/layouts/_default/li-next.html +++ b/layouts/_default/li-next.html @@ -13,7 +13,7 @@ {{ end }}
-

{{ .Title }}

+

{{ .Title | markdownify }}

{{ if (isset .Params "description") }}{{ index .Params "description" | htmlUnescape }}{{ else }}{{ .Summary | plainify | htmlUnescape }}{{ end }}

Posted

diff --git a/layouts/_default/li.html b/layouts/_default/li.html index 9ffd735..10831a9 100644 --- a/layouts/_default/li.html +++ b/layouts/_default/li.html @@ -12,7 +12,7 @@
{{- end }}
-

{{ .Title }}

+

{{ .Title | markdownify }}

{{ if (isset .Params "description") }}{{ index .Params "description" | htmlUnescape }}{{ else }}{{ .Summary | plainify | htmlUnescape }}{{ end }}

Posted

diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e082561..d945163 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -6,7 +6,7 @@
{{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
- {{ with .Title }}

{{ . }}

{{ end }} + {{ with .Title | markdownify }}

{{ . }}

{{ end }} {{ with .Description }}

{{ . }}

{{ end }}
{{- end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 31280bb..5d32b80 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,7 +6,7 @@
-

{{ .Title }}

+

{{ .Title | markdownify }}

{{ if isset .Params "date" }}{{ end }}
{{ with .Resources.GetMatch "featuredImage" -}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8244746..32211d1 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,21 +1,105 @@ \ No newline at end of file