diff --git a/config.toml b/config.toml index a249b81..4791b17 100644 --- a/config.toml +++ b/config.toml @@ -3,4 +3,5 @@ baseURL = "https://devrelcollective.fun/" languageCode = "en-us" title = "The DevRel Collective" theme = "avocado" -googleAnalytics = "UA-113313834-3" \ No newline at end of file +googleAnalytics = "UA-113313834-3" +meta = "DevRel Collective 🥑- and So Can You! exists to facilitate sharing information, resources, and encouragement among the Developer Relations community." \ No newline at end of file diff --git a/data/admins/dan.yaml b/data/admins/dan.yaml new file mode 100644 index 0000000..a136ca3 --- /dev/null +++ b/data/admins/dan.yaml @@ -0,0 +1,3 @@ +name: Dan +twitter: phrawzty +airport: Paris, France \ No newline at end of file diff --git a/data/admins/davidgs.yaml b/data/admins/davidgs.yaml new file mode 100644 index 0000000..0087217 --- /dev/null +++ b/data/admins/davidgs.yaml @@ -0,0 +1,3 @@ +name: David +twitter: davidgsIoT +airport: Raleigh, NC \ No newline at end of file diff --git a/data/admins/jocelyn.yaml b/data/admins/jocelyn.yaml new file mode 100644 index 0000000..bbb492c --- /dev/null +++ b/data/admins/jocelyn.yaml @@ -0,0 +1,3 @@ +name: Jocelyn +twitter: bffjossy +airport: San Francisco, CA \ No newline at end of file diff --git a/data/admins/quintessence.yaml b/data/admins/quintessence.yaml new file mode 100644 index 0000000..3b28dc5 --- /dev/null +++ b/data/admins/quintessence.yaml @@ -0,0 +1,3 @@ +name: Quintessence +twitter: QuintessenceAnx +airport: Buffalo, NY \ No newline at end of file diff --git a/themes/avocado/layouts/partials/admins.html b/themes/avocado/layouts/partials/admins.html new file mode 100644 index 0000000..95c6ee8 --- /dev/null +++ b/themes/avocado/layouts/partials/admins.html @@ -0,0 +1,2 @@ + + {{ .airport }} ({{ .name }})
diff --git a/themes/avocado/layouts/partials/design.html b/themes/avocado/layouts/partials/design.html index adf2489..3aa95b9 100644 --- a/themes/avocado/layouts/partials/design.html +++ b/themes/avocado/layouts/partials/design.html @@ -4,13 +4,17 @@
-

Location

-

The closest airport to

-

San Francisco, CA (Jocelyn)
- Buffalo, NY (Quintessence)
- Raleigh, NC (David)
- Paris, France (Dan)
-

+ {{ if $.Site.Data }} +

Location

+

The closest airport to

+

+ {{ range $.Site.Data.admins }} + {{ partial "admins.html" . }} + {{ end }} +

+ {{ else }} +

No Admins!

+ {{ end }}

Around the Web

@@ -25,7 +29,7 @@

Around the Web

  • - +
  • diff --git a/themes/avocado/static/admin/config.yml b/themes/avocado/static/admin/config.yml index 82fbc98..3743f81 100644 --- a/themes/avocado/static/admin/config.yml +++ b/themes/avocado/static/admin/config.yml @@ -17,6 +17,7 @@ collections: - { label: 'Description', name: 'description', widget: 'string' } - { label: 'Logo', name: 'icon', widget: 'string' } - { label: 'Background', name: 'background', widget: 'image' } + - { label: 'Meta', name: 'meta', widget: 'string' } - name: 'pages' label: 'Pages' folder: 'content/' diff --git a/themes/avocado/theme.toml b/themes/avocado/theme.toml index 47850d3..4333da6 100644 --- a/themes/avocado/theme.toml +++ b/themes/avocado/theme.toml @@ -1,4 +1,4 @@ -name = "Dimension" +name = "Avocado" license = "CC 3.0" licenselink = "https://creativecommons.org/licenses/by/3.0/" description = "A port of HTML5UP's dimension theme, optimized for markdown based CMS." @@ -8,8 +8,8 @@ features = ["blog", "syntax highlighting"] min_version = 0.54 [author] - name = "d-asnaghi" - homepage = "https://d-asnaghi.github.io" + name = "davidgs" + homepage = "https://davidgs.com" [original] author = "HTML5UP"