diff options
author | Baron Schwartz <xaprb@users.noreply.github.com> | 2022-03-18 17:25:08 +0300 |
---|---|---|
committer | Baron Schwartz <xaprb@users.noreply.github.com> | 2022-03-18 17:25:08 +0300 |
commit | 1807beab28d5118f2a8d735472ef87df72438a39 (patch) | |
tree | 8210f205f6628aefbc9daebefce585b4174825cd | |
parent | dd4ba57517b05b42036cc50a48a798baa2a9a65c (diff) |
Genericize author etc
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | exampleSite/content/_index.md | 7 | ||||
-rw-r--r-- | exampleSite/content/author-pages.md | 13 | ||||
-rw-r--r-- | exampleSite/content/images.md | 3 | ||||
-rwxr-xr-x | exampleSite/content/img/baron-square.jpg | bin | 26663 -> 0 bytes | |||
-rw-r--r-- | exampleSite/content/img/jane-square.png | bin | 0 -> 11900 bytes | |||
-rw-r--r-- | exampleSite/content/slides/adirondack/index.md | 8 | ||||
-rw-r--r-- | exampleSite/content/slides/adirondack/vividcortex-horizontal-web.svg | 47 | ||||
-rw-r--r-- | exampleSite/content/talks/adirondack.md | 2 | ||||
-rw-r--r-- | exampleSite/content/typography.md | 4 |
10 files changed, 17 insertions, 71 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 47cdf2b..a62d111 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -25,8 +25,8 @@ buildFuture = true url = "/archives/" [params] - author = "Baron Schwartz" - twitter = "xaprb" + author = "Jane Smith" + twitter = "sometwitteruser" classes = [] [outputs] diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index c29276a..1acc775 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -2,9 +2,6 @@ title: Story Hugo Theme Demo Site subtitle: "Showcase Your Work" --- -[![Baron Schwartz](/img/baron-square.jpg)](https://www.xaprb.com) +[![Jane Smith](/img/jane-square.png)](https://www.example.com) -Baron Schwartz is the founder and CTO of [VividCortex](https://vividcortex.com), author of -several books, and creator of various open-source software. He writes about topics -such as technology, entrepreneurship, and fitness. [More about -Baron](https://www.xaprb.com/). +Jane is an example of an author for this website. diff --git a/exampleSite/content/author-pages.md b/exampleSite/content/author-pages.md index 516f83a..9140bf5 100644 --- a/exampleSite/content/author-pages.md +++ b/exampleSite/content/author-pages.md @@ -42,10 +42,10 @@ config file's `params` array: ``` params: - author: "Baron Schwartz" + author: "Jane Smith" ``` -That's exactly what this sample site you're reading right now does: Baron is the +That's exactly what this sample site you're reading right now does: Jane is the author by default, but Elvis is the author of _this_ content you're reading now. ### Creating Author Profiles @@ -91,18 +91,15 @@ described above, you can create content that will serve as a fallback across the whole site. If Story doesn't find a specific author's profile page, it'll look for the default `_index.md` content for the section it's currently rendering. The top-level default for the whole site is `content/_index.md`, which this demo -site uses to provide Baron Schwartz's author information. This information will +site uses to provide Jane Smith's author information. This information will appear on all pages _other than_ the current page, which is authored by Elvis Presley. This fallback information from `content/_index.md` looks like the following: ``` -[![Baron Schwartz](/img/baron-square.jpg)](https://www.xaprb.com) +[![Jane Smith](/img/jane-smith.jpg)](https://www.example.com) -Baron Schwartz is the founder and CTO of [VividCortex](https://vividcortex.com), author of -several books, and creator of various open-source software. He writes about topics -such as technology, entrepreneurship, and fitness. [More about -Baron](https://www.xaprb.com/). +Jane Smith's biography goes here; markdown is supported. ``` This content is a (non-author-specific) fallback for the entire site. diff --git a/exampleSite/content/images.md b/exampleSite/content/images.md index eedc94f..4479e56 100644 --- a/exampleSite/content/images.md +++ b/exampleSite/content/images.md @@ -28,8 +28,7 @@ The image above is much wider than the content region, but it's sized to fit. ### Control Over Image Formatting -Story uses [URL fragment -techniques](https://www.xaprb.com/blog/how-to-style-images-with-markdown/) to +Story uses URL fragment techniques to give you control over image styling. Images that use this technique don't get converted into [figures with captions](/figures). diff --git a/exampleSite/content/img/baron-square.jpg b/exampleSite/content/img/baron-square.jpg Binary files differdeleted file mode 100755 index 75f2148..0000000 --- a/exampleSite/content/img/baron-square.jpg +++ /dev/null diff --git a/exampleSite/content/img/jane-square.png b/exampleSite/content/img/jane-square.png Binary files differnew file mode 100644 index 0000000..9f985fb --- /dev/null +++ b/exampleSite/content/img/jane-square.png diff --git a/exampleSite/content/slides/adirondack/index.md b/exampleSite/content/slides/adirondack/index.md index 4385fb1..61e6849 100644 --- a/exampleSite/content/slides/adirondack/index.md +++ b/exampleSite/content/slides/adirondack/index.md @@ -443,8 +443,8 @@ started](#getting-started) slide. layout: true .footer[ -- @xaprb -- ![logo](vividcortex-horizontal-web.svg) +- @exampletwittername +- ![logo](company-logo-web.svg) ] --- @@ -458,8 +458,8 @@ content is: --- layout: true .footer[ -- @xaprb -- ![logo](vividcortex-horizontal-web.svg) +- @exampletwittername +- ![logo](company-logo-web.svg) ] ``` diff --git a/exampleSite/content/slides/adirondack/vividcortex-horizontal-web.svg b/exampleSite/content/slides/adirondack/vividcortex-horizontal-web.svg deleted file mode 100644 index 0e031a5..0000000 --- a/exampleSite/content/slides/adirondack/vividcortex-horizontal-web.svg +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="270px" height="62px" viewBox="0 0 270 62" enable-background="new 0 0 270 62" xml:space="preserve">
-<g>
- <polygon fill="#4F4F56" points="88.743,35.763 83.886,20.086 81.576,20.086 87.624,39.387 89.859,39.387 95.906,20.086
- 93.597,20.086 "/>
- <rect x="102.516" y="25.601" fill="#4F4F56" width="2.22" height="13.786"/>
- <rect x="102.516" y="20.086" fill="#4F4F56" width="2.22" height="2.734"/>
- <polygon fill="#4F4F56" points="116.851,35.902 113.647,25.601 111.33,25.601 115.744,39.387 117.972,39.387 122.375,25.601
- 120.054,25.601 "/>
- <rect x="128.986" y="20.086" fill="#4F4F56" width="2.197" height="2.734"/>
- <rect x="128.986" y="25.601" fill="#4F4F56" width="2.197" height="13.786"/>
- <path fill="#4F4F56" d="M146.641,25.601h-4.246c-2.102,0-3.762,1.634-3.762,3.695v4.747c0,2.98,2.374,5.344,5.314,5.344h4.873
- v-19.3h-2.18V25.601z M146.641,37.451h-2.693c-1.713,0-3.109-1.389-3.109-3.15v-5.246c0-0.853,0.678-1.521,1.557-1.521h4.246
- V37.451z"/>
- <path fill="#4F4F56" d="M156.283,25.211v7.167c0,3.844,3.088,7.008,6.953,7.008h4.594v-1.936h-4.594
- c-2.584,0-4.744-2.189-4.744-4.788v-7.739c0-1.555,1.323-2.916,2.925-2.916h6.413v-1.922h-6.413
- C158.554,20.086,156.283,22.361,156.283,25.211z"/>
- <path fill="#4F4F56" d="M180.388,25.601h-3.023c-2.058,0-3.739,1.634-3.739,3.695v5.806c0,2.397,1.885,4.285,4.284,4.285h1.933
- c2.393,0,4.291-1.888,4.291-4.285v-5.806C184.133,27.235,182.443,25.601,180.388,25.601z M181.914,35.396
- c0,1.136-0.939,2.056-2.072,2.056h-1.933c-1.138,0-2.079-0.92-2.079-2.056v-6.341c0-0.853,0.688-1.521,1.534-1.521h3.023
- c0.887,0,1.526,0.668,1.526,1.521V35.396z"/>
- <path fill="#4F4F56" d="M193.767,26.813l-0.804-1.212h-1.438v13.786h2.242v-8.826c0-1.666,1.329-3.026,3.041-3.026h3.293v-1.933
- h-3.293C195.526,25.601,194.565,26.012,193.767,26.813z"/>
- <path fill="#4F4F56" d="M209.174,20.086h-2.18v15.599c0,2.058,1.665,3.701,3.871,3.701h1.638v-1.936h-1.638
- c-0.925,0-1.691-0.798-1.691-1.766v-8.151h3.329v-1.933h-3.329V20.086z"/>
- <path fill="#4F4F56" d="M225.787,33c1.612-0.432,2.979-1.935,2.979-3.704c0-2.061-1.688-3.695-3.87-3.695h-2.464
- c-2.158,0-3.844,1.634-3.844,3.695v4.747c0,2.98,2.317,5.344,5.287,5.344h4.322v-1.936h-4.322c-1.76,0-3.093-1.389-3.093-3.15
- v-0.136L225.787,33z M220.783,29.296c0-0.961,0.704-1.762,1.649-1.762h2.464c0.901,0,1.689,0.801,1.689,1.762
- c0,0.973-0.6,1.601-1.305,1.77l-4.498,1.091V29.296z"/>
- <path fill="#4F4F56" d="M245.576,25.601h-2.481c-0.928,1.532-1.922,3.214-2.883,4.837l-2.883-4.837h-2.514l4.115,6.893
- l-4.115,6.893h2.514c0.94-1.562,1.922-3.239,2.883-4.836l2.883,4.836h2.481l-4.114-6.893L245.576,25.601z"/>
-</g>
-<g>
- <polygon fill="#FFFFFF" points="35.798,17.375 25.766,0 0,0 35.798,62 71.59,0 45.828,0 "/>
- <polygon fill="#02BAD1" points="33.879,17.957 24.653,2 5.537,2 "/>
- <polygon fill="#02BAD1" points="32.842,19.667 4.43,3.672 13.665,19.667 "/>
- <polygon fill="#4F4F56" points="34.879,23.145 25.27,39.766 34.879,56.41 "/>
- <polygon fill="#008EAA" points="33.423,21.667 14.82,21.667 24.115,37.766 "/>
- <polygon fill="#02BAD1" points="37.746,17.957 46.972,2 66.089,2 "/>
- <polygon fill="#02BAD1" points="38.784,19.667 67.195,3.672 57.96,19.667 "/>
- <polygon fill="#4F4F56" points="36.746,23.145 46.356,39.766 36.746,56.41 "/>
- <polygon fill="#008EAA" points="38.203,21.667 56.806,21.667 47.511,37.766 "/>
-</g>
-</svg>
diff --git a/exampleSite/content/talks/adirondack.md b/exampleSite/content/talks/adirondack.md index d78b58c..b4859c8 100644 --- a/exampleSite/content/talks/adirondack.md +++ b/exampleSite/content/talks/adirondack.md @@ -17,7 +17,7 @@ information like a video of your talk. In this way you can build a portfolio of your speaking history. <!--more--> -Talks are designed to go together with slides. I (Baron, the author of Story) +Talks are designed to go together with slides. I (the author of Story) create a talk page for every speaking appearance. You can reuse slides between talks, so multiple talks pages link to the same diff --git a/exampleSite/content/typography.md b/exampleSite/content/typography.md index 8ac59ae..48aed8f 100644 --- a/exampleSite/content/typography.md +++ b/exampleSite/content/typography.md @@ -93,9 +93,9 @@ And an ordered list: If you don't like embedding tweets, Story has a cleaner way to quote and link to a tweet. Just blockquote the content and begin it with a link containing the author's name and the tweet's permalink, and enable the `feature-tweetquote` flag. Story will transform the quote to resemble a simplistic tweet styling. If the flag isn't enabled, normal blockquote styling applies. -> [Baron Schwartz](https://twitter.com/xaprb/status/921004656402321408) +> [Jane Smmith](https://twitter.com/username/status/0123456789) > -> Monitoring tells you whether the system works. Observability lets you ask why it's not working. +> Text of quoted tweet goes here. <script type="text/javascript"> $( "#hyph" ).click(function() { |