{{/* Define the configmap */}} {{- define "littlelink.configmap" -}} --- apiVersion: v1 kind: ConfigMap metadata: name: littlelinkconfig data: {{- if .Values.littlelink.meta_title }} META_TILE: {{ .Values.littlelink.meta_title | quote }} {{- end }} {{- if .Values.littlelink.meta_description }} META_DESCRIPTION: {{ .Values.littlelink.meta_description | quote }} {{- end }} {{- if .Values.littlelink.meta_author }} META_AUTHOR: {{ .Values.littlelink.meta_author | quote }} {{- end }} {{- if .Values.littlelink.lang }} LANG: {{ .Values.littlelink.lang | quote }} {{- end }} {{- if .Values.littlelink.meta_index_status }} META_INDEX_STATUS: {{ .Values.littlelink.meta_index_status | quote }} {{- end }} {{- if .Values.littlelink.ga_tracking_id }} GA_TRACKING_ID: {{ .Values.littlelink.ga_tracking_id | quote }} {{- end }} {{- if .Values.littlelink.theme }} THEME: {{ .Values.littlelink.theme | quote }} {{- end }} {{- if .Values.littlelink.favicon_url }} FAVICON_URL: {{ .Values.littlelink.favicon_url | quote }} {{- end }} {{- if .Values.littlelink.avatar_url }} AVATAR_URL: {{ .Values.littlelink.avatar_url | quote }} {{- end }} {{- if .Values.littlelink.avatar_2x_url }} AVATAR_2X_URL: {{ .Values.littlelink.avatar_2x_url | quote }} {{- end }} {{- if .Values.littlelink.avatar_alt }} AVATAR_ALT: {{ .Values.littlelink.avatar_alt | quote }} {{- end }} {{- if .Values.littlelink.name }} NAME: {{ .Values.littlelink.name | quote }} {{- end }} {{- if .Values.littlelink.bio }} BIO: {{ .Values.littlelink.bio | quote }} {{- end }} {{- if .Values.littlelink.github }} GITHUB: {{ .Values.littlelink.github | quote }} {{- end }} {{- if .Values.littlelink.twitter }} TWITTER: {{ .Values.littlelink.twitter | quote }} {{- end }} {{- if .Values.littlelink.instagram }} INSTAGRAM: {{ .Values.littlelink.instagram | quote }} {{- end }} {{- if .Values.littlelink.youtube }} YOUTUBE: {{ .Values.littlelink.youtube | quote }} {{- end }} {{- if .Values.littlelink.twitch }} TWITCH: {{ .Values.littlelink.twitch | quote }} {{- end }} {{- if .Values.littlelink.discord }} DISCORD: {{ .Values.littlelink.discord | quote }} {{- end }} {{- if .Values.littlelink.tiktok }} TIKTOK: {{ .Values.littlelink.tiktok | quote }} {{- end }} {{- if .Values.littlelink.kit }} KIT: {{ .Values.littlelink.kit | quote }} {{- end }} {{- if .Values.littlelink.facebook }} FACEBOOK: {{ .Values.littlelink.facebook | quote }} {{- end }} {{- if .Values.littlelink.facebook_messenger }} FACEBOOK_MESSENGER: {{ .Values.littlelink.facebook_messenger | quote }} {{- end }} {{- if .Values.littlelink.linked_in }} LINKED_IN: {{ .Values.littlelink.linked_in | quote }} {{- end }} {{- if .Values.littlelink.product_hunt }} PRODUCT_HUNT: {{ .Values.littlelink.product_hunt | quote }} {{- end }} {{- if .Values.littlelink.snapchat }} SNAPCHAT: {{ .Values.littlelink.snapchat | quote }} {{- end }} {{- if .Values.littlelink.spotify }} SPOTIFY: {{ .Values.littlelink.spotify | quote }} {{- end }} {{- if .Values.littlelink.reddit }} REDDIT: {{ .Values.littlelink.reddit | quote }} {{- end }} {{- if .Values.littlelink.medium }} MEDIUM: {{ .Values.littlelink.medium | quote }} {{- end }} {{- if .Values.littlelink.pinterest }} PINTEREST: {{ .Values.littlelink.pinterest | quote }} {{- end }} {{- if .Values.littlelink.email }} EMAIL: {{ .Values.littlelink.email | quote }} {{- end }} {{- if .Values.littlelink.email_text }} EMAIL_TEXT: {{ .Values.littlelink.email_text | quote }} {{- end }} {{- if .Values.littlelink.email_alt }} EMAIL_ALT: {{ .Values.littlelink.email_alt | quote }} {{- end }} {{- if .Values.littlelink.email_alt_text }} EMAIL_ALT_TEXT: {{ .Values.littlelink.email_alt_text | quote }} {{- end }} {{- if .Values.littlelink.sound_cloud }} SOUND_CLOUD: {{ .Values.littlelink.sound_cloud | quote }} {{- end }} {{- if .Values.littlelink.figma }} FIGMA: {{ .Values.littlelink.figma | quote }} {{- end }} {{- if .Values.littlelink.telegram }} TELEGRAM: {{ .Values.littlelink.telegram | quote }} {{- end }} {{- if .Values.littlelink.tumblr }} TUMBLR: {{ .Values.littlelink.tumblr | quote }} {{- end }} {{- if .Values.littlelink.steam }} STEAM: {{ .Values.littlelink.steam | quote }} {{- end }} {{- if .Values.littlelink.vimeo }} VIMEO: {{ .Values.littlelink.vimeo | quote }} {{- end }} {{- if .Values.littlelink.wordpress }} WORDPRESS: {{ .Values.littlelink.wordpress | quote }} {{- end }} {{- if .Values.littlelink.goodreads }} GOODREADS: {{ .Values.littlelink.goodreads | quote }} {{- end }} {{- if .Values.littlelink.skoob }} SKOOB: {{ .Values.littlelink.skoob | quote }} {{- end }} {{- if .Values.littlelink.letterboxd }} LETTERBOXD: {{ .Values.littlelink.letterboxd | quote }} {{- end }} {{- if .Values.littlelink.mastodon }} MASTODON: {{ .Values.littlelink.mastodon | quote }} {{- end }} {{- if .Values.littlelink.micro_blog }} MICRO_BLOG: {{ .Values.littlelink.micro_blog | quote }} {{- end }} {{- if .Values.littlelink.whatsapp }} WHATSAPP: {{ .Values.littlelink.whatsapp | quote }} {{- end }} {{- if .Values.littlelink.strava }} STRAVA: {{ .Values.littlelink.strava | quote }} {{- end }} {{- if .Values.littlelink.buymeacoffee }} BUYMEACOFFEE: {{ .Values.littlelink.buymeacoffee | quote }} {{- end }} {{- if .Values.littlelink.gitlab }} GITLAB: {{ .Values.littlelink.gitlab | quote }} {{- end }} {{- if .Values.littlelink.patreon }} PATREON: {{ .Values.littlelink.patreon | quote }} {{- end }} {{- if .Values.littlelink.devto }} DEVTO: {{ .Values.littlelink.devto | quote }} {{- end }} {{- if .Values.littlelink.umami_website_id }} UMAMI_WEBSITE_ID: {{ .Values.littlelink.umami_website_id | quote }} {{- end }} {{- if .Values.littlelink.umami_app_url }} UMAMI_APP_URL: {{ .Values.littlelink.umami_app_url | quote }} {{- end }} {{- if .Values.littlelink.paypal }} PAYPAL: {{ .Values.littlelink.paypal | quote }} {{- end }} {{- if .Values.littlelink.slack }} SLACK: {{ .Values.littlelink.slack | quote }} {{- end }} {{- if .Values.littlelink.lastfm }} LASTFM: {{ .Values.littlelink.lastfm | quote }} {{- end }} {{- if .Values.littlelink.untappd }} UNTAPPD: {{ .Values.littlelink.untappd | quote }} {{- end }} {{- if .Values.littlelink.stackoverflow }} STACKOVERFLOW: {{ .Values.littlelink.stackoverflow | quote }} {{- end }} {{- if .Values.littlelink.gitea }} GITEA: {{ .Values.littlelink.gitea | quote }} {{- end }} {{- if .Values.littlelink.polywork }} POLYWORK: {{ .Values.littlelink.polywork | quote }} {{- end }} {{- if .Values.littlelink.signal }} SIGNAL: {{ .Values.littlelink.signal | quote }} {{- end }} {{- if .Values.littlelink.footer }} FOOTER: {{ .Values.littlelink.footer | quote }} {{- end }} {{- end -}}