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
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
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
a8f4ecfdda
Use u-pgp and absolute URL for PGP link
2019-12-21 22:42:59 -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
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
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
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
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
116338b480
Fix LinkedIn URL
2019-12-03 18:33:31 -05:00
Kevin C. Coram
b5369d10d0
Add support for LinkedIn profile
2019-12-03 18:26:26 -05:00
Kevin C. Coram
09353cd937
Conditional "authn" for PGP Key
2019-12-02 23:07:27 -05:00
Kevin C. Coram
fc7dddfae6
Add IndieWeb Identity partial to <head>
2019-12-02 22:57:55 -05:00
Kevin C. Coram
c9621cb516
Add a menu link back to the home page
2019-11-24 21:39:29 -05:00
Kevin C. Coram
f684465d00
Pagination for index, list, and single page layouts
2019-11-24 16:51:04 -05:00
Kevin C. Coram
ec18ebfeec
Add 'content-footer' block at end of main
2019-11-23 14:32:40 -05:00
Kevin C. Coram
e5f250c91c
Move site title/sub-title into header partial
2019-11-22 23:29:39 -05:00
Kevin C. Coram
321fe23ea8
Move majority of semantic tags to baseof.html
...
In order to improve the semantic layout of the page(s) in the site, the
bulk of the semantic elements have been explicitly moved to the baseof
file. Additional Hugo blocks have been defined to allow layouts to
supply or override things like section menus, the site menu, etc.
2019-11-20 23:38:53 -05:00
Kevin C. Coram
f2129ca33a
Add "main" menu to the site header
...
Based on "Menu Templates" (https://gohugo.io/templates/menu-templates/ )
2019-11-19 21:38:33 -05:00
Kevin C. Coram
bdbe3f9d78
Only show 'Read more' if summary was truncated
2019-11-19 19:19:30 -05:00
Kevin C. Coram
0fd2bcc49a
Add content to list layout
2019-11-19 19:16:20 -05:00
Kevin C. Coram
1f62d2a9e9
Set order of precedence for subtitle
...
Look first in the front-matter for the _index.md file, and secondly in
the parameters defined in the config.toml file.
2019-11-19 00:17:07 -05:00
Kevin C. Coram
e3b6780603
Create basic layout structure
...
Create basic layout structure by following along with the documentation
from gohugo.io. In particular:
* Basic Templates and Blocks (https://gohugo.io/templates/base/ )
* Content View Templates (https://gohugo.io/templates/views/ )
* Homepage Template (https://gohugo.io/templates/homepage/ )
2019-11-19 00:17:07 -05:00
Kevin C. Coram
75cf6c1118
(chore) Initial commit
...
hugo new theme basic-theme
2019-11-19 00:17:00 -05:00