Commit Graph

83 Commits (master)

Author SHA1 Message Date
Kevin C. Coram 950041aea9
Add support for favicons
See https://favicon.io/favicon-converter for generating a favicon and
the link references to add to the `head` of the HTML template.
2020-11-28 11:11:08 -05:00
Kevin C. Coram 8c5110ddda
Create 'table' shortcode
Create shortcode to allow pages to provide CSS classes to apply to the
HTML table generated from a Markdown table.

Add some basic CSS styling for the table, to provide padding to make the
data easier to read.

Add a 'table-bordered' style to add borders to the table rows/columns.
2020-11-07 15:32:40 -05:00
Kevin C. Coram 0d75e505db
Add red coloring to inline code fence blocks 2020-08-13 23:36:18 -04:00
Kevin C. Coram b3f54f22ee
Add styles to better render images and code blocks
* Add max width to `figure` so it won't exceed the viewport width for either break-point
* Add max width to `img` within `figure` to account for the default 40px margin on the left/right
* Set width for `pre` blocks so they won't exceed the viewport width for either break-point; add a horizontal scroll-bar if the text is too wide
* Set `pre code` block to use `display:block` so long text won't cause the block to render too wide; otherwise, the width of the containing `pre` block won't be sufficient to contain the text
2020-08-03 15:50:00 -04:00
Kevin C. Coram a7cc18e837
Update list and single layouts for Hugo 0.63.1
The changes to the base template lookup in Hugo 0.63.1 mean that the
single/list templates must start with a `define` block. The comment
block that had been in use breaks this requirement and resulted in pages
not rendering properly at all.

See https://gohugo.io/news/0.63.0-relnotes/ particularly:

* Note: In a base template (e.g. baseof.html), the first template block
must be a define.
2020-01-23 23:13:43 -05:00
Kevin C. Coram 509262ad4a
IndieAuth and Micropub endpoint support 2020-01-04 17:30:00 -05:00
Kevin C. Coram e6255da64e
Fix instructions 2020-01-04 16:40:46 -05:00
Kevin C. Coram fcf897a797
Add support for 'mention-of' type webmentions 2020-01-01 14:15:16 -05:00
Kevin C. Coram e3aefacd70
Remove unnecessary author for single page template 2019-12-31 22:19:48 -05:00
Kevin C. Coram bec0829c63
Show "Read More" for pages with explicit summary 2019-12-31 14:42:27 -08:00
Kevin C. Coram d85b7b90b1
Merge branch 'master' of ssh://git.thecorams.net:2222/kevin/semantic-indieweb 2019-12-31 09:18:23 -08:00
Kevin C. Coram 85e9db44e7
Make 'like' avatars smaller and circular 2019-12-31 09:17:43 -08:00
Kevin C. Coram 36bfa18a1d
Fix homepage paginator 2019-12-31 09:05:18 -08:00
Kevin C. Coram 6ada4898f9
Only show homepage content on first page 2019-12-31 08:57:48 -08:00
Kevin C. Coram 82df1f687a
Add u-url microformat property to social media links 2019-12-30 19:33:39 -08:00
Kevin C. Coram 04fbd47491
Add u-key microformat property to public key link 2019-12-30 19:33:35 -08:00
Kevin C. Coram 6bd2fd8331
Reformat author link to be more representative 2019-12-30 19:20:11 -08:00
Kevin C. Coram 7ad436269b
Remove redundant author link from article summary 2019-12-30 19:11:21 -08:00
Kevin C. Coram 410eab4297
Better formatting for webmention replies 2019-12-23 23:31:52 -05:00
Kevin C. Coram 32e496f364
Add partial for webmentions
Add partial for webmentions to
* home page
* single template
* list template

Partial template based on code from https://paul.kinlan.me/using-web-mentions-in-a-static-sitehugo-/
2019-12-23 17:55:57 -05:00
Kevin C. Coram cd911f24b1
Add support for webmentions and pingbacks 2019-12-23 16:22:18 -05:00
Kevin C. Coram 462627349b
Add responsive design reference links 2019-12-23 09:35:41 -05:00
Kevin C. Coram a8f4ecfdda
Use u-pgp and absolute URL for PGP link 2019-12-21 22:42:59 -05:00
Kevin C. Coram 8ad03ea6e2
Add margin between social icons 2019-12-21 21:12:32 -05:00
Kevin C. Coram fc2e1705cd
Document identity, card, and social configurations 2019-12-17 21:13:19 -05:00
Kevin C. Coram 2d87a448f6
Remove LinkedIn from example configuration 2019-12-14 17:05:09 -05:00
Kevin C. Coram f182add92a
Set media breakpoint to match Bootstrap's "large" size 2019-12-11 22:49:03 -05:00
Kevin C. Coram d85b711791
Create two column layout for wide screen browsers 2019-12-11 22:36:32 -05:00
Kevin C. Coram ba844bf59a
Style the site footer
* Split the copyright and the "built with" text into separate configs
* Style footer with smaller text
* Add a thin border separating footer from rest of page
2019-12-09 22:58:54 -05:00
Kevin C. Coram c5891929fb
Add a decorative border around site header 2019-12-09 22:35:39 -05:00
Kevin C. Coram 96134a6bc3
Style the site header title and subtitle 2019-12-09 22:27:34 -05:00
Kevin C. Coram 831b32fcdb
Style the list and article paginators
* Remove the list item bullets
* Style the list items with "space between" so they will spread evenly
2019-12-09 21:43:18 -05:00
Kevin C. Coram 3a187409f4
Style the site-menu
* Remove the list item bullets
* Put some padding between the list items
* Style the navigation area to be a flex box, with item wrapping
* Add a decorative border to the navigation area
2019-12-09 21:42:02 -05:00
Kevin C. Coram ab951ced60
Add RSS links to home page and list template 2019-12-07 22:00:36 -05:00
Kevin C. Coram d7f52b0d64
Use h-feed for section, taxonomy, and taxonomyTerm 2019-12-07 21:48:06 -05:00
Kevin C. Coram 779f3c20e0
Wrap homepage list in h-feed microformat 2019-12-07 14:34:57 -05:00
Kevin C. Coram 7de183f6c6
Add an example config for header for home page list section 2019-12-07 14:32:52 -05:00
Kevin C. Coram f44ae3d46d
Add a u-url link to the Permalink to the page 2019-12-07 14:07:47 -05:00
Kevin C. Coram 1a2aa49bbf
Make list content block optional
* Only generate a content block if there is content to show
* Change to use a <div> instead of <header> for the list conent
2019-12-07 14:07:29 -05:00
Kevin C. Coram dccbceb218
Add h-entry and h-feed microformats
* Add h-entry microformat markup to single page template
* Add h-feed wrapper around list of articles in list template
* Add h-entry to summary template
2019-12-07 13:51:12 -05:00
Kevin C. Coram 911f999379
Remove LinkedIn support from identity partial 2019-12-07 10:12:54 -05:00
Kevin C. Coram 7820886eca
Add padding around author photo 2019-12-06 23:22:47 -05:00
Kevin C. Coram d3e16031cc
Remove margin
Margins/etc should go in styles.css
2019-12-06 23:22:14 -05:00
Kevin C. Coram 626b5493f1
Remove redundant "box" div 2019-12-06 23:21:33 -05:00
Kevin C. Coram a53fb3666f
Configuration driven social network icon links
Defines three types of links: email, PGP public key, and profile links.
2019-12-06 23:11:23 -05:00
Kevin C. Coram 53baef4d8b
Reduce size for social icon glyphs 2019-12-06 23:09:28 -05:00
Kevin C. Coram 65404a5da6
Create author card using h-card microformats
* Update baseof to add block for styling
* Default styles block to link in layout.css and style.css
* Update baseof to add block for importing icons from a CSS font library
* Update baseof to add an aside block to the main content to put author
card in
* Create author card with a photo, author name, and general locale
* Create beginning of a social network link ribbon
2019-12-06 22:02:44 -05:00
Kevin C. Coram 1273db7290
Add one of the FA images to use as an example author photo 2019-12-06 22:00:52 -05:00
Kevin C. Coram 19f2519762
Add Fork Awesome v1.1.7 to static assets
See: https://forkaweso.me/Fork-Awesome/

Self-hosting the Fork Awesome font icon pack.
2019-12-06 21:56:55 -05:00
Kevin C. Coram 116338b480
Fix LinkedIn URL 2019-12-03 18:33:31 -05:00