Commit Graph

378 Commits

Author SHA1 Message Date
Helen Chong 52d8906755 Set max height of hero image to 16rem 2024-04-20 19:43:13 +08:00
Helen Chong cf833ee28c Reduce header height 2024-04-20 19:34:16 +08:00
Helen Chong aaea1dbbbf Move the link separtor in list elements to ::after selector 2024-04-20 18:59:51 +08:00
Helen Chong 28ea0cacd9 Prevent HTML entities in meta title 2024-04-20 18:34:44 +08:00
Helen Chong 7307fdbd07 Set main site hero image fetching to high priority 2024-04-20 18:30:19 +08:00
Helen Chong c5306fa409 Remove outline of the link focus 2024-04-20 17:44:05 +08:00
Helen Chong 2983a4be68 Add arrows to pagination labels 2024-04-20 17:42:00 +08:00
Helen Chong 589631dae4 Change text color of pagination item without a link 2024-04-20 17:25:33 +08:00
Helen Chong ce8bc066eb Style pagination 2024-04-20 17:23:05 +08:00
Helen Chong a741844235 Add download the mod label 2024-04-20 15:11:39 +08:00
Helen Chong ab1c995d1e Create macro for mod entry 2024-04-20 15:01:51 +08:00
Helen Chong 6166020502 Add Font Awesome assets 2024-04-20 12:58:52 +08:00
Helen Chong 306cf6fb05 Make hero image of KotOR shrine responsive 2024-04-20 12:48:53 +08:00
Helen Chong 71008a4382 Make hero image of A Summer's End sheine responsive 2024-04-20 12:18:54 +08:00
Helen Chong 76f590b5bb Use mobile first flow for responsive hero image 2024-04-20 12:07:06 +08:00
Helen Chong a07aecc159 Add links to return to shrine index 2024-04-20 12:03:35 +08:00
Helen Chong 8482b45dbe Make the Cassette Beasts shrine hero image responsive 2024-04-20 11:57:56 +08:00
Helen Chong 9a3f3dd91d Adjust left padding of table of contents 2024-04-20 06:13:13 +08:00
Helen Chong fdcf1f5b27 Set up Cassette Beasts shrine 2024-04-20 05:41:53 +08:00
Helen Chong 5abc109cc5 Format shrine info link 2024-04-20 05:24:00 +08:00
Helen Chong 874db7177e Rename hero block 2024-04-20 05:20:38 +08:00
Helen Chong a73458bb8e Add shrine to page title 2024-04-20 05:16:51 +08:00
Helen Chong cf4d7bdf07 Fix error with missing title to render breadcrumbs 2024-04-20 00:43:37 +08:00
Helen Chong 15f074abb6 Add hasBreadcrumbs variable to allow non-article content to add breadcrumbs 2024-04-19 23:56:22 +08:00
Helen Chong baf61d74ae Revert changes to article breadcrumbs 2024-04-19 23:53:10 +08:00
Helen Chong c9d530522a Allow non-article pages to add breadcrumbs 2024-04-19 23:50:12 +08:00
Helen Chong 6e11609cf4 Wrap breadcrumbs 2024-04-19 20:32:37 +08:00
Helen Chong 5ade6af6b0 Fix issues with rendering breacrumbs and blog nav outside main site 2024-04-19 20:04:25 +08:00
Helen Chong c7a5521ff2 Make content navigation only show up on the main articles page 2024-04-19 18:04:23 +08:00
Helen Chong 80af405612 Use site meta to render author's name 2024-04-19 17:57:43 +08:00
Helen Chong c0c4462b61 Set up KotOR shrine 2024-04-19 17:56:52 +08:00
Helen Chong 684e4c2559 Rename scroll-to-top button image 2024-04-19 17:18:51 +08:00
Helen Chong 51ba388c5f Adjust scroll-to-top button 2024-04-19 17:15:43 +08:00
Helen Chong 8214ecd304 Remove footer width restriction 2024-04-19 17:01:05 +08:00
Helen Chong 250537cdb2 Rename index CSS file to misc 2024-04-19 07:57:34 +08:00
Helen Chong 4b9f1f98a2 Rename start folder in inceludes to misc 2024-04-19 07:56:26 +08:00
Helen Chong 1804072371 Use global content layout for A Summer's End shrine's 2024-04-19 07:52:34 +08:00
Helen Chong 516dc1ecdb Set up global content layout 2024-04-19 07:50:20 +08:00
Helen Chong bde44bd168 Use blocks to set layout for A Summer's End shrine 2024-04-19 07:14:58 +08:00
Helen Chong 6b465c3587 Use block for page and meta title 2024-04-19 07:13:50 +08:00
Helen Chong 4333a82e15 Use blocks for CSS and favicon 2024-04-19 07:00:51 +08:00
Helen Chong f13dd8c8e1 Use blocks to define components 2024-04-19 06:58:45 +08:00
Helen Chong 134aad4423 Move base layout template to global folder 2024-04-19 06:51:53 +08:00
Helen Chong 54237f1632 Add back missing tags check 2024-04-19 06:43:25 +08:00
Helen Chong f562940708 Revert back to checking if tags includes articles for blog nav 2024-04-19 06:42:31 +08:00
Helen Chong ee430ccbd4 Remove article layout 2024-04-19 06:41:51 +08:00
Helen Chong 53595f851d Use article heading if the content is an article 2024-04-19 06:41:26 +08:00
Helen Chong f731082884 Check for isArticle conditional instead of article tags for content nav 2024-04-19 06:37:39 +08:00
Helen Chong 5315e455d8 Use article tag is the content is an article 2024-04-19 06:35:07 +08:00
Helen Chong 8a83a624d3 Add content nav if tags includes articles 2024-04-19 06:33:21 +08:00
Helen Chong f49eab281b Use content layout and specify if they are articles 2024-04-19 06:30:21 +08:00
Helen Chong 6363de3b49 Move site layout macro back to layout page template 2024-04-18 23:47:17 +08:00
Helen Chong cafac5543b Create shrine info template 2024-04-18 23:07:41 +08:00
Helen Chong bdbb33823a Rename shrine info class 2024-04-18 23:04:14 +08:00
Helen Chong d5e06309f6 Rename shrine right sidebar file to shrine info 2024-04-18 23:02:01 +08:00
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
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