Commit Graph

256 Commits

Author SHA1 Message Date
BBaoVanC 502fc36b0d
Sort tags alphabetically 2021-11-22 02:45:28 -06:00
BBaoVanC ead88d5e16
Use indentation inside templating blocks for better readability 2021-11-22 02:21:15 -06:00
BBaoVanC e1e211a42a
Add a .Render view for subsection summary too 2021-11-22 02:07:48 -06:00
BBaoVanC f77c61b561
Clean up directory structure of partials and .Render templates 2021-11-22 01:57:35 -06:00
BBaoVanC 8067173f0c
Revamp authors taxonomy
Fixes #43
2021-11-22 01:36:38 -06:00
BBaoVanC b745f87462
Rename author-metadata.html to author_meta_tags.html 2021-11-22 01:04:45 -06:00
BBaoVanC a11cc777bf
Deduplicate .Description and .Summary blocks 2021-11-22 00:42:08 -06:00
BBaoVanC f77efb1843
Redo taxonomy template structure 2021-11-21 19:43:56 -06:00
BBaoVanC 7c877e7781
Improve wrapping in post metadata 2021-11-20 19:56:30 -06:00
BBaoVanC d9776d29c4
Select summary or summary_large_image in twitter card with image size 2021-11-20 19:06:18 -06:00
BBaoVanC a01a70fc91
Specify markdownify or plainify for .Title references 2021-11-20 19:05:56 -06:00
BBaoVanC 919ecde4ac
Clean up closing brackets on templates 2021-11-20 18:30:26 -06:00
BBaoVanC 7a0757cef7
Rewrite meta tag partials 2021-11-20 18:24:56 -06:00
BBaoVanC b83e20274f
Remove seo_schema.html 2021-11-20 17:31:02 -06:00
BBaoVanC 0893c99f97
Only add published date to seo_schema if set 2021-11-20 17:09:21 -06:00
BBaoVanC f5c9e6926a
Add translations for "Older" and "Newer" 2021-11-20 17:00:56 -06:00
BBaoVanC 5104a6f57d
Process markdown on breadcrumb nav 2021-11-19 22:54:06 -06:00
BBaoVanC 1f080d9092
Add basic schema.org data 2021-11-19 19:16:06 -06:00
BBaoVanC 7a73432238
Improve language picker usability 2021-11-19 17:22:25 -06:00
BBaoVanC 217e54c1b5
Expand table of contents and show background colors while printing 2021-11-18 17:47:31 -06:00
BBaoVanC d0c216165e
Add light mode and improve print compatibility 2021-11-18 17:26:02 -06:00
BBaoVanC 6d456768fa
Use comma delimiting for series and tags 2021-11-15 21:11:50 -06:00
BBaoVanC b2036d3bfe
Use comma delimiting on series-box in single.html 2021-11-15 21:06:53 -06:00
BBaoVanC 37c5a970c4
Improve viewsource meta item 2021-11-15 21:03:07 -06:00
BBaoVanC 8f36ba7368
Add series-summary.html and use .Render in taxonomy 2021-11-14 18:57:23 -06:00
BBaoVanC e67bd58ceb
Add previous and next page links
Fix #33
2021-11-14 00:41:49 -06:00
BBaoVanC f6140abc26
Fix #42 2021-11-13 23:31:20 -06:00
BBaoVanC 179eda3450
Improve description wrapping in <head> metadata 2021-11-13 19:37:50 -06:00
BBaoVanC 240476061b
Use flexbox for more stuff 2021-11-13 17:23:30 -06:00
BBaoVanC 96893d7de6
Add better series taxonomy list and clean up post metadata 2021-11-13 17:04:10 -06:00
BBaoVanC 21180991c0
Small tweaks to post-metadata partial 2021-11-13 15:22:06 -06:00
BBaoVanC b87f6dd884
Remove category support 2021-11-13 15:06:31 -06:00
BBaoVanC 17604ca75d
Fix indentation for subsection template code in list.html 2021-11-13 00:45:24 -06:00
BBaoVanC 05100679e2
Support descriptions for taxonomies 2021-11-12 23:14:13 -06:00
BBaoVanC b03fc6c7b1
Improve list pages + support "series"
- Use a <ul>: better accessibility
- Background for individual pages in the list, giving a better feeling
  of separation
- Support "series" taxonomy (displayed oldest to newest)
2021-11-12 20:25:47 -06:00
BBaoVanC 943fb83324
Enable border by default on media 2021-11-10 21:46:07 -06:00
BBaoVanC e5e3d62fc4
Rework taxonomy page title
Fixes #24
2021-11-09 17:27:36 -06:00
BBaoVanC 21ecc630df
Use a dropdown for language selector 2021-11-07 19:55:17 -06:00
BBaoVanC f16f2b6d8a
Customizable View source icon 2021-11-07 16:39:17 -06:00
BBaoVanC 4eec2d8c4d
Use a less hacky solution to fix trailing newline in render-link.html 2021-11-07 15:47:32 -06:00
BBaoVanC 8ada21c609
If authors taxonomy is enabled, link to it in metadata 2021-11-06 19:12:56 -05:00
BBaoVanC 4e27a6ce8a
Add aside shortcode 2021-11-06 17:02:59 -05:00
BBaoVanC 42f0046747
Move the langbar to be part of the navbar - TODO: dropdown 2021-11-04 21:04:27 -05:00
BBaoVanC b9879729bf
Fix lastmod displaying & show even when GitInfo is enabled 2021-11-04 14:59:15 -05:00
BBaoVanC 60f5ccc1be
Open RSS links in new tab 2021-11-03 20:30:13 -05:00
BBaoVanC 88c1d14fa2
Add comment to opengraph partial 2021-11-03 20:28:32 -05:00
BBaoVanC 99f53a386e
Add breadcrumb nav and show active navbar item 2021-11-02 16:51:07 -05:00
BBaoVanC 163965f3e6
Don't SHA512 media 2021-11-02 01:08:46 -05:00
BBaoVanC 8af0ad6d16
Fix the modified date check for git 2021-11-02 00:53:01 -05:00
BBaoVanC 3f98073aea
Change git commit to view history button 2021-11-02 00:47:59 -05:00
BBaoVanC 14121f2269
New navbar and langbar style 2021-11-01 20:29:28 -05:00
BBaoVanC 906b6213fd
Support subsections 2021-11-01 17:38:44 -05:00
BBaoVanC 550bfb6367
Add a few new shortcodes 2021-10-30 00:23:49 -05:00
BBaoVanC 24979c3c37
Remove whitespace and newlines in icon.html 2021-10-29 17:16:41 -05:00
BBaoVanC 168c9d93ad
Add meta tags for author, and don't allow old `author` param 2021-10-27 19:51:46 -05:00
BBaoVanC fe4d0979d6
Use a new authors array instead of a string 2021-10-27 19:39:25 -05:00
BBaoVanC 7ffa6c068c
Improve figures
- Add option to disable border and caption
2021-10-27 09:49:21 -05:00
BBaoVanC 0cfecdab18
Make table of contents collapsible 2021-10-26 20:50:45 -05:00
BBaoVanC a1fae8aa60
Open git commit in new tab 2021-10-26 20:33:01 -05:00
BBaoVanC 43202259c8
Update git commit link 2021-10-26 19:43:32 -05:00
BBaoVanC fc5f408831
Use jam icons instead of feather
https://jam-icons.com
2021-10-26 18:51:17 -05:00
BBaoVanC 9e5a8e6785
Add `author` param and display it 2021-10-26 14:27:37 -05:00
BBaoVanC d393d9eef9
Don't add extra stuff to the copyright string 2021-10-26 13:53:37 -05:00
BBaoVanC e0f04cb279
Make comments toggleable, remove word count, and give tags some space 2021-10-23 23:24:05 -05:00
BBaoVanC cb68e3cffd
Support comments 2021-10-23 22:51:13 -05:00
BBaoVanC 4e9ce6df46
Fix URLs for baseURLs that are on a subpath 2021-10-23 00:25:06 -05:00
BBaoVanC edff1f416d
Add See also section 2021-10-23 00:03:44 -05:00
BBaoVanC 7749ff39fa
Make word count and reading time enabled by default 2021-10-22 23:05:51 -05:00
BBaoVanC b599ddeadd
Use a single figure shortcode that does either image or video 2021-10-19 14:19:23 -05:00
BBaoVanC 96067c95c0
Automatically add the featured media to individual posts 2021-10-19 14:01:35 -05:00
BBaoVanC 937a80bc17
Use <figure> for images and videos 2021-10-19 13:57:39 -05:00
BBaoVanC 61ac27bdf9
Use page resources in figure shortcode (and hash the images) 2021-10-19 13:12:38 -05:00
BBaoVanC b51c6c257f
Add figure shortcode 2021-10-19 12:40:34 -05:00
BBaoVanC c4e7258d69
Tweak formatting of the copyright footer 2021-10-18 17:29:39 -05:00
BBaoVanC 1c6d88333f
Make <hr> inside the footer instead of outside 2021-10-18 14:52:43 -05:00
BBaoVanC 3e799b0418
Support categories
Fixes #31
2021-10-18 14:17:16 -05:00
BBaoVanC f56b9028b3
Support a copyright notice footer 2021-10-17 20:17:12 -05:00
BBaoVanC a3a5163b5e
All posts should be under a div instead of only when there's none 2021-10-16 19:51:11 -05:00
BBaoVanC 2ceda80f74
Revert "Plainify the title field in <head>"
This reverts commit 34605bb8e2.

It causes an issue with characters such as quotes in the website title
2021-10-15 19:31:04 -05:00
BBaoVanC 92352a0c19
Fix #11 - better syntax highlighting
This requires the following to be added to config.toml:

[markup]
  [markup.highlight]
    noClasses = false
    lineNos = true
2021-10-15 19:16:14 -05:00
BBaoVanC 34605bb8e2
Plainify the title field in <head> 2021-10-15 18:51:58 -05:00
BBaoVanC 40331b4c1c
Move taxonomy related list page to a different file 2021-10-15 18:13:14 -05:00
BBaoVanC a02da46706
Use absolute URLs in a couple cases where relative ones were used 2021-10-15 17:45:03 -05:00
BBaoVanC e7f9240383
Set crossorigin="anonymous" on the CSS
This helps with Netlify
2021-10-13 20:35:38 -05:00
BBaoVanC e62ccfd085
Remove partialCached for now because I'm worried of it causing issues
It didn't last very long. Speed isn't really a concern currently since
my sites all generate in ~50ms (on my computer, at least).
2021-10-11 21:35:16 -05:00
BBaoVanC 93ce39fdac
Update the post metadata logic 2021-10-11 21:29:16 -05:00
BBaoVanC 7276be72e9
Add a language switcher bar below the navbar 2021-10-11 21:26:23 -05:00
BBaoVanC 47adfd5f7d
List translations on pages 2021-10-11 20:50:09 -05:00
BBaoVanC 0d6aed2b18
Don't force the homepage to be named "Home" on the navbar 2021-10-11 20:13:20 -05:00
BBaoVanC c7cfb9c844
Support multilingual mode (experimental)
Please report any bugs!
2021-10-11 18:24:14 -05:00
BBaoVanC 03834fb1ba
Add caching to some partials that don't change much 2021-10-11 09:52:24 -05:00
BBaoVanC 9ff5314bc0
Use with in head.html and add code block section to CSS 2021-10-10 19:36:47 -05:00
BBaoVanC ddbcaa6d56
Don't show modified date if git commit is shown
It's redundant
2021-10-10 19:03:15 -05:00
BBaoVanC 1b59b258bc
Move the header link icon to the end 2021-10-10 17:47:45 -05:00
BBaoVanC f0cddf7e42
Add icon to drafts
Fix #23
2021-10-10 17:28:05 -05:00
BBaoVanC fddb7ab0e4
Support section icons 2021-10-10 16:27:46 -05:00
BBaoVanC c40be2bcd7
Change modified date to use an edit icon 2021-10-10 16:20:02 -05:00
BBaoVanC b923054bd3
Enable the section header link icon 2021-10-10 15:14:36 -05:00
BBaoVanC ff79ae29b5
Add header link icon but commented out because it looks weird 2021-10-10 15:02:20 -05:00
BBaoVanC c233b8122f
Show certain metadata on all pages 2021-10-09 22:54:33 -05:00
BBaoVanC cc20b09e8e
Clean up after the last commit 2021-10-09 22:33:18 -05:00
BBaoVanC f3274c67fc
Add git commit, improve post metadata wrapping 2021-10-09 22:17:24 -05:00
BBaoVanC 3dfcec2350
Add an hr to separate post metadata from the content
Previously it was only present when table of contents was enabled
2021-10-09 20:33:42 -05:00
BBaoVanC 9bb2b0c41c
Correctly replace the name for svgs 2021-10-09 19:31:38 -05:00
BBaoVanC 6d976a3909
It meant to use the hugo function, not variable 2021-10-09 18:56:03 -05:00
BBaoVanC f062a98a75
Use the global .Hugo variable instead of the Page one 2021-10-09 18:53:22 -05:00
BBaoVanC 98587c94ae
Don't enable reading time and word count by default 2021-10-09 18:44:36 -05:00
BBaoVanC 3242d892b5
Update og:video code 2021-10-09 18:31:05 -05:00
BBaoVanC b2a5a6acaf
Set generator tag in html 2021-10-09 18:09:01 -05:00
BBaoVanC c8874736ea
Update post-metadata to use a partial, and add word count 2021-10-09 18:08:27 -05:00
BBaoVanC 4dc429ce5d
Only include pagination div if there's pagination 2021-10-09 17:40:49 -05:00
BBaoVanC fa3f9b7a51
Use the actual svg instead of feather-sprite.svg for icons 2021-10-09 17:32:35 -05:00
BBaoVanC c74ce0597c
.Description should be in a <p> 2021-10-09 16:02:26 -05:00
BBaoVanC 05ed7c33d2
Fix .Summary in summary.html 2021-10-09 15:23:33 -05:00
BBaoVanC a015238834
Use .Render for summary 2021-10-09 15:16:24 -05:00
BBaoVanC 9beed385a8
Use a custom opengraph template and rename feature-video to just feature 2021-10-09 14:09:02 -05:00
BBaoVanC 2616803f47
Support featured videos (instead of image) 2021-10-08 22:52:58 -05:00
BBaoVanC 7160c761c1
Don't skip headers for table of contents 2021-10-08 20:44:19 -05:00
BBaoVanC 4e0c77d8a3
Fix meta description (found by Google Lighthouse) 2021-10-08 20:32:49 -05:00
BBaoVanC b9fd054f37
Remove empty 404.html and clean up <title> in head.html 2021-10-08 20:15:42 -05:00
BBaoVanC 8a4579007b
Add integrity field to CSS 2021-10-08 20:00:08 -05:00
BBaoVanC 6c819a3923
Improve accessibility by adding title to icons 2021-10-08 19:51:03 -05:00
BBaoVanC d803c74ef8
Remove trailing newline in render-link.html 2021-10-07 17:09:10 -05:00
BBaoVanC 01e89e0249
Put a span around post date in list pages 2021-10-07 16:54:26 -05:00
BBaoVanC 2490ebe6d9
Add the ability to feature an image in an article on list pages 2021-10-06 17:34:55 -05:00
BBaoVanC 02fcd97a9a
Fix #14
See https://gohugo.io/getting-started/configuration-markup#markdown-render-hooks
2021-10-06 17:15:55 -05:00
BBaoVanC 1e5b70b460
Add a filter icon to taxonomy pages 2021-10-06 17:09:38 -05:00
BBaoVanC 19f0eb8357
Remove breadcrumb navigation and fix #17 2021-10-06 17:00:34 -05:00
BBaoVanC 9af039619e
Add RSS link 2021-10-06 09:52:06 -05:00
BBaoVanC 919fcfe7cc
Use Hugo resources system for feather-sprite.svg 2021-10-06 09:41:38 -05:00
BBaoVanC 0238423f1e
Fix #16 2021-10-06 09:36:04 -05:00
BBaoVanC 29414e01ac
Add icons 2021-10-05 19:12:10 -05:00
BBaoVanC 5c5f98322b
Reorganize CSS 2021-10-03 19:31:56 -05:00
BBaoVanC 165e6a580e
Add hr below table of contents and theme it 2021-10-03 18:48:11 -05:00
BBaoVanC 2a7a427992
Fix #10 2021-10-02 20:20:44 -05:00
BBaoVanC c03c44ff2d
Support pagination
Fixes #12
2021-10-02 19:26:33 -05:00
BBaoVanC a90a95ae5e
Remove unused .Params.showdate 2021-10-02 17:58:33 -05:00
BBaoVanC cd4bfc40a2
Don't show empty post-metadata div 2021-10-02 17:32:36 -05:00
BBaoVanC 0067109d4a
Fix whitespace in modified date and add padding-left to tags 2021-10-02 16:35:24 -05:00
BBaoVanC bed4a9b74a
Fix #7 2021-10-02 16:22:52 -05:00
BBaoVanC 157feeb814
Add breadcrumb navigation
Disabled by default, and you probably want to keep it that way. It
doesn't fit in very well with the design currently. I just found it in
the Hugo docs and thought I might as well put it in for safe keeping.
2021-10-01 20:54:18 -05:00
BBaoVanC c961682d04
Create theme 3 2021-10-01 14:12:39 -05:00
BBaoVanC 3cd01fc8c1
Redesign header/navbar 2021-09-30 17:56:55 -05:00
BBaoVanC 49dca7471b
Clean up bobastyle, flexbox will be improved soon 2021-09-29 21:33:23 -05:00
BBaoVanC 1fcf18dd75
Use assets/ instead of static/ 2021-09-28 20:46:25 -05:00
BBaoVanC 0e4025a2d9
Table of contents defaults to false 2021-09-28 18:36:14 -05:00
BBaoVanC 41bd025132
Add customizable/disable-able favicons 2021-09-28 18:28:22 -05:00
BBaoVanC c995cb9d95
Require `showtags` parameter to show tags on a list page 2021-09-28 18:15:16 -05:00
BBaoVanC 28a10e1dc4
BREAKING: Only show date in lists if `showdate` is set to true in _index.md 2021-09-27 20:47:39 -05:00
BBaoVanC 58fbdafc10
Add comment to each page with link to bobatheme repo 2021-09-27 20:47:09 -05:00