Commit Graph

256 Commits

Author SHA1 Message Date
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
BBaoVanC 0b5f5a7ee5
Only do the extra linebreak if there's a date 2021-09-27 14:19:35 -05:00
BBaoVanC f0cd329901
Update the internals of the styling a little
Fixes #4
2021-09-27 14:16:52 -05:00
BBaoVanC 718efd865e
Add date and tags as a subtitle on pages 2021-09-26 20:22:59 -05:00
BBaoVanC 560a64540a
Fixes #6 2021-09-26 19:21:48 -05:00
BBaoVanC 49622c0bb7
Set up list.html
Fixes #1
2021-09-26 15:02:47 -05:00
BBaoVanC 03eb50ccca
Add basic theme files 2021-09-25 20:52:01 -05:00