Commit Graph

255 Commits

Author SHA1 Message Date
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
Helen Chong 7f892f7b95 Wrap the support me buttons 2024-04-12 10:14:41 +08:00
Helen Chong 1299104aa5 Make the header a WebC component 2024-04-12 00:47:15 +08:00
Helen Chong 6b3279642d Declare navbar variable 2024-04-12 00:45:54 +08:00
Helen Chong b2481e8e0b Comment out header and navbar variables 2024-04-12 00:32:09 +08:00
Helen Chong 7cfea66289 Add comments for different support buttons 2024-04-12 00:27:18 +08:00
Helen Chong 95143fbab8 Defer support button scripts 2024-04-12 00:26:25 +08:00
Helen Chong e3927b4c46 Make support me buttons into a WebC component 2024-04-12 00:22:57 +08:00
Helen Chong bd2e9cfcee Remove declaration of header variable 2024-04-12 00:13:44 +08:00
Helen Chong 4fb7783da1 Make my website button into a WebC component 2024-04-12 00:03:29 +08:00
Helen Chong 74fc59f9b5 Turn the navigation bar into a WebC component 2024-04-11 23:57:02 +08:00
Helen Chong 55ce73a294 Add metagen shortcode to generate Open Graph metadata 2024-04-11 23:48:05 +08:00
Helen Chong 425b37b7a5 Add comments 2024-04-11 23:46:26 +08:00
Helen Chong 35e9c3bd7d Make scroll-to-top button its own WebC component 2024-04-11 23:42:11 +08:00
Helen Chong 3b6ece319f Rearrange layout and template files 2024-04-11 23:29:15 +08:00
Helen Chong f5c88ac5e9 Set up index page Open Graph meta data 2024-04-11 21:04:06 +08:00
Helen Chong ad601afa0f Fix stylesheet link element 2024-04-08 18:22:33 +08:00
Helen Chong 3e58d0b6df Add site map page 2024-04-06 14:51:07 +08:00
Helen Chong 8e08e3f211 Add scroll to top button 2024-04-06 14:38:31 +08:00
Helen Chong 46e8b6213a Declare variable for Open Graph meta URL 2024-04-06 14:22:08 +08:00
Helen Chong c8fc0803e3 Aff table of contents if the toc variable is truthy 2024-04-06 14:18:12 +08:00
Helen Chong 915b6a6b05 Move CDN links to a separate template 2024-04-06 14:09:09 +08:00
Helen Chong 19bd27d1d4 Set up home page 2024-04-06 13:30:02 +08:00
Helen Chong 88c9a9b95e Set up index pages 2024-04-06 12:49:13 +08:00