Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stratton <matt.stratton@gmail.com>2017-05-08 02:34:43 +0300
committerGitHub <noreply@github.com>2017-05-08 02:34:43 +0300
commit3dc9c34c50f9f3079c44e8794a69853acd0971fe (patch)
tree885114e2bc0e99ad3c182c03e1cbba799c8eb96f
parent1b7c71970b25858b46cd245b3eb2f85fcac45020 (diff)
parent259bc4257948bde7ee19ce5e56d31cee56b312ad (diff)
Merge pull request #75 from mattstratton/add-more-fields
Add fields to guest and hosts
-rw-r--r--README.md12
-rw-r--r--archetypes/guest.md3
-rw-r--r--config.codekit310
-rw-r--r--exampleSite/config.toml3
-rw-r--r--exampleSite/content/guest/jsmith.md5
-rw-r--r--layouts/about/single.html13
-rw-r--r--layouts/episode/single.html15
-rw-r--r--layouts/guest/single.html15
8 files changed, 70 insertions, 6 deletions
diff --git a/README.md b/README.md
index 86b6df4..f9fd1c9 100644
--- a/README.md
+++ b/README.md
@@ -80,6 +80,10 @@ You will need to add a handful of configuration items to your `config.toml` file
- `facebook` - Example: `"matt.stratton"`
- `twitter` - Example: `mattstratton`
- `linkedin` - Example: `"mattstratton"`
+ - `homepage` - Example: `"https://www.mattstratton.com"`
+ - `pinterest` - Example: `"mattstratton"`
+ - `instagram` - Example: `"mattstratton"`
+ - `youtube` - Example: `"mattstratton"`
#### A note about `BaseURL`
@@ -142,7 +146,7 @@ Graphical user interface influencer value proposition startup hackathon iPad ana
| `podcast_file` | Yes | The filename of your episode, relative to the `media_prefix` of your config.toml. | `"arrested-devops-podcast-episode053.mp3"` |
| `podcast_bytes` | No | The length of the podcast file in bytes. This is optional, but iTunes and many other podcast players prefer this to be set. | "23907533" |
| `Title` | Yes | The title of the episode. | "Back to School" |
-| `youtube` | No | The ID of the YouTube video (not the full URL). Currently unusued. | "8ClZXJsgpHY"
+| `youtube` | No | The ID of the YouTube video (not the full URL). Currently unusued. | "8ClZXJsgpHY"
### Guests
@@ -169,7 +173,6 @@ Spoon fresh pie ingredients groceries oranges luncheon farm. Broth chick peas Ch
```
-
| Field Name | Required | Description | Example |
|-------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|
| `Title` | Yes | The full name of the guest. This is what is displayed on the episode page, etc. | "Jane Smith" |
@@ -178,4 +181,7 @@ Spoon fresh pie ingredients groceries oranges luncheon farm. Broth chick peas Ch
| `GitHub` | No | Guest's GitHub username. | "mattstratton" |
| `Facebook` | No | Guest's Facebook username. Do not use the full URL. | "matt.stratton" |
| `Twitter` | No | Guest's Twitter username, without the `@`. | "mattstratton" |
-| `LinkedIn` | No | LinkedIn profile name. Optional. This is the part that comes after the `https://www.linkedin.com/in/` in your profile URL. | "mattstratton" | |
+| `LinkedIn` | No | LinkedIn profile name. This is the part that comes after the `https://www.linkedin.com/in/` in your profile URL. | "mattstratton" |
+| `Pinterest` | No | Pinterest profile name. | "mattstratton" |
+| `Instagram` | No | Instagram profile name. | "mattstratton" |
+| `YouTube` | No | YouTube profile/channel name | "mattstratton" |
diff --git a/archetypes/guest.md b/archetypes/guest.md
index 2eaf40d..5edfd3a 100644
--- a/archetypes/guest.md
+++ b/archetypes/guest.md
@@ -6,4 +6,7 @@ Facebook = ""
Linkedin = ""
GitHub = ""
Thumbnail = ""
+Pinterest = ""
+Instagram = ""
+YouTube = ""
+++
diff --git a/config.codekit3 b/config.codekit3
index aa0ed49..cf4c187 100644
--- a/config.codekit3
+++ b/config.codekit3
@@ -7535,6 +7535,16 @@
"oAP": "\/exampleSite\/static\/.gitkeep",
"oF": 0
},
+ "\/exampleSite\/static\/img\/episode\/default-banner.jpg": {
+ "ft": 16384,
+ "iS": 116684,
+ "oA": 0,
+ "oAP": "\/exampleSite\/static\/img\/episode\/default-banner.jpg",
+ "oF": 0,
+ "oIPL": 0,
+ "opt": 0,
+ "q": 100
+ },
"\/exampleSite\/static\/img\/episode\/default-social.jpg": {
"ft": 16384,
"iS": 147346,
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index bcd58ee..0870c74 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -85,6 +85,9 @@ media_prefix = "https://media.blubrry.com/arresteddevops/content.blubrry.com/arr
twitter = "mattstratton"
linkedin = "mattstratton"
homepage = "https://www.mattstratton.io"
+ pinterest = "mattstratton"
+ instagram = "instagram"
+ youtube = "mattstratton"
[params.authors.Trevor]
name = "Trevor Hess"
thumbnail = "https://www.arresteddevops.com/img/trevor.png"
diff --git a/exampleSite/content/guest/jsmith.md b/exampleSite/content/guest/jsmith.md
index 8d9cdff..fae7834 100644
--- a/exampleSite/content/guest/jsmith.md
+++ b/exampleSite/content/guest/jsmith.md
@@ -7,7 +7,10 @@ Type = "guest"
Facebook = ""
Linkedin = ""
Pronouns = ""
-GitHub = ""
+GitHub = "jsmith"
Thumbnail = "img/guest/jsmith.jpg"
+Pinterest = "mattstratton"
+Instagram = "mattstratton"
+YouTube = ""
+++
Spoon fresh pie ingredients groceries oranges luncheon farm. Broth chick peas Chinese food indie foods. Cream heating cheese food locally grown first class caramelize restaurant grocery shopping savory chick peas. Recommendations lovely starter soda herbes fridge chocolate eat better quinoa sausage java chef locally grown wholesome. Broil sweet sushi lasagna cream indian. Desert sour vegetarian sous-chef soda oven tasty eat better rice recommendations relish salt butter grape. Grocery shopping delicious Chinese food beets conserve ginger. Authentic blend drink sausage. Groceries sour desert. Take away lasagna consumer luncheon scent cookie beer groceries meals restaurants java cheese vegan chick peas.
diff --git a/layouts/about/single.html b/layouts/about/single.html
index 13c1875..a4ab59d 100644
--- a/layouts/about/single.html
+++ b/layouts/about/single.html
@@ -52,10 +52,19 @@
<a href = "https://github.com/{{ $p.social.github}}"><i class="fa fa-github-square fa-2x"></i></a>
{{ end }}
{{ if isset $p.social "linkedin" }}
- <a href = "{{ $p.social.linkedin}}"><i class="fa fa-linkedin-square fa-2x"></i></a>
+ <a href = "https://www.linkedin.com/in/{{ $p.social.linkedin}}"><i class="fa fa-linkedin-square fa-2x"></i></a>
{{ end }}
{{ if isset $p.social "facebook" }}
- <a href = "{{ $p.social.facebook}}"><i class="fa fa-facebook-square fa-2x"></i></a>
+ <a href = "https://www.facebook.com/{{ $p.social.facebook}}"><i class="fa fa-facebook-square fa-2x"></i></a>
+ {{ end }}
+ {{ if isset $p.social "pinterest" }}
+ <a href = "https://www.pinterest.com/{{ $p.social.pinterest}}"><i class="fa fa-pinterest-square fa-2x"></i></a>
+ {{ end }}
+ {{ if isset $p.social "instagram" }}
+ <a href = "https://www.instagram.com/{{ $p.social.instagram}}"><i class="fa fa-instagram fa-2x"></i></a>
+ {{ end }}
+ {{ if isset $p.social "youtube" }}
+ <a href = "https://www.youtube.com/{{ $p.social.youtube}}"><i class="fa fa-youtube-square fa-2x"></i></a>
{{ end }}
</div>
</div>
diff --git a/layouts/episode/single.html b/layouts/episode/single.html
index e233744..7b7eb12 100644
--- a/layouts/episode/single.html
+++ b/layouts/episode/single.html
@@ -95,6 +95,21 @@
<i class="fa fa-facebook-square fa-2x"></i>
</a>
{{ end }}
+ {{ if .Params.Pinterest }}
+ <a href="https://www.pinterest.com/{{ .Params.Pinterest}}">
+ <i class="fa fa-pinterest-square fa-2x"></i>
+ </a>
+ {{ end }}
+ {{ if .Params.Instagram }}
+ <a href="https://www.instagram.com/{{ .Params.Instagram}}">
+ <i class="fa fa-instagram fa-2x"></i>
+ </a>
+ {{ end }}
+ {{ if .Params.YouTube }}
+ <a href="https://www.youtube.com/{{ .Params.YouTube}}">
+ <i class="fa fa-youtube-square fa-2x"></i>
+ </a>
+ {{ end }}
</div>
</div>
{{ end }}
diff --git a/layouts/guest/single.html b/layouts/guest/single.html
index 488ec70..4d6aaaf 100644
--- a/layouts/guest/single.html
+++ b/layouts/guest/single.html
@@ -43,6 +43,21 @@
<i class="fa fa-facebook-square fa-2x"></i>
</a>
{{ end }}
+ {{ if .Params.Pinterest }}
+ <a href="https://www.pinterest.com/{{ .Params.Pinterest}}">
+ <i class="fa fa-pinterest-square fa-2x"></i>
+ </a>
+ {{ end }}
+ {{ if .Params.Instagram }}
+ <a href="https://www.instagram.com/{{ .Params.Instagram}}">
+ <i class="fa fa-instagram fa-2x"></i>
+ </a>
+ {{ end }}
+ {{ if .Params.YouTube }}
+ <a href="https://www.youtube.com/{{ .Params.YouTube}}">
+ <i class="fa fa-youtube-square fa-2x"></i>
+ </a>
+ {{ end }}
</div>
</div>
<div class = "row">