Commit Graph

173 Commits

Author SHA1 Message Date
Helen Chong 5b83df818c Adjust shrine right sidebar elements 2024-04-18 23:00:22 +08:00
Helen Chong e0e8f9acb5 Use position: sticky to make navbar sticky 2024-04-18 22:54:20 +08:00
Helen Chong 9d550cae71 Increase navbar sticky line 2024-04-18 22:26:11 +08:00
Helen Chong 837e5e947a Render changelog navigation via the Navigation plugin 2024-04-18 22:13:42 +08:00
Helen Chong ddbd68f611 Add breadcrumbs to articles 2024-04-18 22:07:38 +08:00
Helen Chong 89f86d4565 Set A Summer's End shrine navigation 2024-04-18 20:59:26 +08:00
Helen Chong cec76fa45c Place aria-current as the first attribute of the <a> tag 2024-04-18 18:58:23 +08:00
Helen Chong 69c32a8a5b Iterate A Summer's End shrine pages 2024-04-18 18:57:34 +08:00
Helen Chong d7d6937ba4 Fix shrine navbar links 2024-04-18 18:23:11 +08:00
Helen Chong 073f4dc7b1 Fix missing favicons for A Summer's End shrine 2024-04-18 17:02:29 +08:00
Helen Chong 57ea5705ee Set up A Summer's End — Hong Kong 1986 Shrine shrine 2024-04-18 16:57:09 +08:00
Helen Chong c00bdf2808 Set up hero block template 2024-04-18 16:52:42 +08:00
Helen Chong 748134643c Rename hero top bar variable 2024-04-18 16:16:59 +08:00
Helen Chong c57ec210d9 Add or remove hidden class from top bar 2024-04-18 16:12:09 +08:00
Helen Chong 151fdbd6d5 Do not display top bar if there is no event 2024-04-18 16:00:33 +08:00
Helen Chong dc6308d4ba Add background color and padding to content nav 2024-04-18 15:15:48 +08:00
Helen Chong 2704f2e8b1 Use block and extends for navbar 2024-04-18 13:55:45 +08:00
Helen Chong 667de9699c Use blogk and extends for footer content 2024-04-18 13:52:29 +08:00
Helen Chong e6778f4050 Move currentUrl variable 2024-04-18 13:25:26 +08:00
Helen Chong 994b6bd156 Move currentUrl variable 2024-04-18 13:24:13 +08:00
Helen Chong 4208fd5e32 Make the navbar sticky effect smoother 2024-04-18 13:22:55 +08:00
Helen Chong 4180752d42 Rename scroll position variable 2024-04-18 13:19:33 +08:00
Helen Chong 3f727a9e8e Remove event parameter 2024-04-18 13:18:57 +08:00
Helen Chong dbfdf9a6fd Fix indentation 2024-04-18 13:18:23 +08:00
Helen Chong 297f88bae3 Rename sticky navbar class 2024-04-18 13:17:05 +08:00
Helen Chong 4797d9ee8c Make the footer always stick to the bottom 2024-04-18 13:14:46 +08:00
Helen Chong 87f1aafe4f Remove default sidebar background color and padding 2024-04-18 12:12:55 +08:00
Helen Chong f1450c8a9b Add scrollbar to table of contents if overflowed 2024-04-18 12:12:22 +08:00
Helen Chong 32069b9a6a Create sticky sidebar class 2024-04-18 11:44:35 +08:00
Helen Chong 3c06120309 Change wording for last updated info 2024-04-18 11:28:04 +08:00
Helen Chong 97e69e423a Change table of contents title 2024-04-18 10:42:01 +08:00
Helen Chong e07609b92c Turn footer links into a list 2024-04-18 10:41:07 +08:00
Helen Chong 82ca06634c Adjust changelog list margin 2024-04-18 10:33:09 +08:00
Helen Chong b475c5767f Set content index navigation 2024-04-18 02:08:32 +08:00
Helen Chong ce34c6784c Add categories to article info 2024-04-18 01:39:31 +08:00
Helen Chong daae80b3b6 Set up content archive and categories pages 2024-04-18 01:34:21 +08:00
Helen Chong 51d6fdd300 Check if the page has any tags before looking for specific tag 2024-04-17 23:52:11 +08:00
Helen Chong dc870fae64 Add latest to changelog navigation 2024-04-17 22:43:12 +08:00
Helen Chong 68942ca4b1 Rename changelogs list 2024-04-17 22:30:36 +08:00
Helen Chong 82ce0ff99d Create changelog list template 2024-04-17 22:27:29 +08:00
Helen Chong c96a41b4f7 Fix blog navigation not appearing at the right sidebar 2024-04-17 20:26:57 +08:00
Helen Chong 225daacd36 Remove custom page title 2024-04-17 20:24:52 +08:00
Helen Chong aa1a38ab2d Move blog templates to its own folder 2024-04-17 01:40:43 +08:00
Helen Chong 1cfbe2d61d Add previous and next blog post section 2024-04-17 01:36:56 +08:00
Helen Chong 804126d745 Create template for older / newer pagination 2024-04-17 01:21:20 +08:00
Helen Chong 67b464a8b3 Add aria label to the HTML text area 2024-04-17 01:04:12 +08:00
Helen Chong c901a7b55c Add RSS feed link to footer 2024-04-17 01:00:11 +08:00
Helen Chong 13f27458d7 Add aria-current if on the current page 2024-04-17 00:19:15 +08:00
Helen Chong 8c4e5b1e41 Rename changelog to changelogs when appropriate 2024-04-17 00:16:57 +08:00
Helen Chong 9e7bc66f56 Move metagen, ToC and scroll-to-top button to global includes folder 2024-04-16 23:02:16 +08:00
Helen Chong d5a244cbb0 Create folder for macros in _includes 2024-04-16 22:58:12 +08:00
Helen Chong 8cfe61eba8 Set up changelog pages 2024-04-16 19:30:31 +08:00
Helen Chong a3bbbcb0db Add website layout page 2024-04-16 19:28:45 +08:00
Helen Chong 2c24ed0441 Move text and credit to the site button template 2024-04-16 18:05:10 +08:00
Helen Chong 6c089877e9 Format indentation of blog navigation 2024-04-16 17:11:22 +08:00
Helen Chong c679214c96 Fromat blog navigation list element 2024-04-16 17:10:56 +08:00
Helen Chong 380a9f3eb9 Set blog navigation items 2024-04-16 17:09:38 +08:00
Helen Chong c633c9fd88 Add classes and correct heading hierachy 2024-04-16 16:32:06 +08:00
Helen Chong 4aebe1a9c0 Set page title for articles and blog posts 2024-04-16 01:55:32 +08:00
Helen Chong 819c25e26b Create blog templates and set data 2024-04-16 01:39:56 +08:00
Helen Chong 19d40834a6 Rename file to blognav and move to main folder 2024-04-16 01:23:22 +08:00
Helen Chong 7367e0d8a8 Create blog right sidebar template 2024-04-16 01:19:50 +08:00
Helen Chong 9d508170ee Use desc instead of intro variable for description in the heading 2024-04-16 00:55:42 +08:00
Helen Chong b55b75e630 Remove unused element variable 2024-04-16 00:47:32 +08:00
Helen Chong 1230880e84 Apply sticky removal to the correct ToC element 2024-04-16 00:43:45 +08:00
Helen Chong 379c3d9fe6 Replace frontmatter variable for divided content 2024-04-16 00:33:34 +08:00
Helen Chong 14febca88b Move site map CSS to the site map template 2024-04-16 00:31:00 +08:00
Helen Chong c8c0c1de68 Move table of contents styling to the template 2024-04-16 00:28:11 +08:00
Helen Chong a045b39428 Render hero top bar only if there is an event on that day 2024-04-16 00:12:49 +08:00
Helen Chong c1e560b94a Move home page to index page 2024-04-16 00:08:43 +08:00
Helen Chong d5aa4cae35 Refactor if expression for content--divided class 2024-04-15 20:32:19 +08:00
Helen Chong 0badfe78e2 Add top margin 2024-04-15 14:27:59 +08:00
Helen Chong f1818040e6 Adjust site button text area height 2024-04-15 13:00:39 +08:00
Helen Chong 2cf0f1583e Set stlyes of content page with divided sections 2024-04-15 12:34:35 +08:00
Helen Chong 24aadcbcb6 Add parameter for custom page title 2024-04-15 12:19:42 +08:00
Helen Chong 90ede145a0 Rename article wrapper class to content wrapper 2024-04-15 12:17:43 +08:00
Helen Chong d26383c4c9 Remove article metadata type 2024-04-15 12:04:56 +08:00
Helen Chong 1ed6a079b3 Rename content list template and CSS class to content 2024-04-15 12:00:13 +08:00
Helen Chong 74ffb66923 Create content list template 2024-04-15 11:55:50 +08:00
Helen Chong c2421122f0 Tweak article info element element indentation 2024-04-15 11:47:06 +08:00
Helen Chong 8084104aa0 Change font family to Noto Sans 2024-04-15 11:44:16 +08:00
Helen Chong 3dd09a00f4 Remove custom property for top button color 2024-04-15 11:37:43 +08:00
Helen Chong 20434ae0ec Make the table of contents open by default 2024-04-15 02:38:22 +08:00
Helen Chong cf8eb8d210 Add the article class 2024-04-15 02:20:54 +08:00
Helen Chong eed4f5af94 Use site meta for author name 2024-04-15 00:31:53 +08:00
Helen Chong 3546952382 Rename main header to hero 2024-04-15 00:30:45 +08:00
Helen Chong f0971e2971 Adjust main container and article grid layout 2024-04-15 00:13:57 +08:00
Helen Chong 66efe2cdff Move table of contents into its own template 2024-04-14 18:08:50 +08:00
Helen Chong 20009097b1 Convert WebC components to Nunjucks templates 2024-04-14 16:52:52 +08:00
Helen Chong 4f25da2946 Adjust metadata URLs 2024-04-14 14:49:04 +08:00
Helen Chong 49556c59bf Self-host Noto Sans font 2024-04-14 14:41:03 +08:00
Helen Chong 8ec149dce4 Add alt text to header banner 2024-04-14 08:45:54 +08:00
Helen Chong d3d12bcc4c Move the metagen shortcode block to its own template 2024-04-14 01:52:18 +08:00
Helen Chong 2e896b929b Remove featured and resources links 2024-04-14 00:18:13 +08:00
Helen Chong 645466f853 Remove right sidebar from article template 2024-04-13 17:31:02 +08:00
Helen Chong cbfffe096e Add article template 2024-04-13 17:29:25 +08:00
Helen Chong 1c44d42bd2 Use site metadata in templates 2024-04-13 15:52:09 +08:00
Helen Chong cd68f5fb5f Remove Table of Contents conditionals 2024-04-13 02:43:04 +08:00
Helen Chong 89af94dbf8 Condifitionally render table of contents on the left sidebar 2024-04-13 01:57:00 +08:00
Helen Chong 11fe9b7e23 Make elements in WebC components override the component names 2024-04-12 11:05:05 +08:00