Commit Graph

31 Commits

Author SHA1 Message Date
hedy 18ea2bc51c
Clean up XML 2024-05-01 12:17:08 +08:00
hedy 045d292ae7
Fix all titles in XML feeds 2024-05-01 11:57:38 +08:00
hedy 86eb7e55ab
Clean up config.toml
- Remove webmentions for now
- Specifify minification but that does not actually allow me to remove
  the `| minify` calls when fetching resources...
- Clean up indentation and fix comments
2024-04-20 12:49:22 +08:00
hedy bb61bfd957
Better reply-via-email link and add email subscription link 2024-04-13 09:39:48 +08:00
hedy d365e1ca4c
Use UTC everywhere 2024-04-11 19:36:01 +08:00
hedy 52457f350b
Add header anchor links and better footer 2024-04-08 15:16:54 +08:00
hedy 88e71594ab
Major update (too lazy to write the detailed commit message, sorry) 2024-04-07 20:18:33 +08:00
hedy 4f95e76bf7
Add Misc page and ~Cafe Spotlight for gemini 2023-01-25 18:54:48 +08:00
hedy 1001404e44
Add <hr>s between sections, modify styles 2023-01-25 10:59:49 +08:00
hedy 06198fdc7d
Nav, CSS, Content(index): Add favicon, better homepage and nav title
Basically all the changes involving my profile pics

- Favicon: 32x32 2-colors version
  - Both SVG and PNG provided

- Nav home link: Now having the icon next to the name
  - Configurable in config.toml (see its comment)
  - For homepage: the home link is Site.title
  - For other pages: icon next to name

- Index page h1: No more big ugly pfp, now inline
  - Using shortcodes with corresponding partials ln'ed to them

- CSS for the nav thing
  - Right now when user hovers on the home link, the portion has a
    background color. I tried to not select it but apparently failed.

    Desired behaviour: it should only have the hover effect if the home
    link does not have the image (which is the case for all pages other
    than index page, as described in second list item above).

    Current behaviour: A useless CSS selector change that did not alter
    the site's behaviour in any way whatsoever. Don't mind me, I'm
    horrible at comitting things for this repo - I tend to like to make
    a lot of changes in one go and commit using `git apply -p`. I also
    litter a lot of comments in the CSS, which apparently increases the
    size of the inline <style> in every. single. HTML file generated.
    Literally.

    Most likely switching back to external stylesheet in the future to
    save some bytes in my overall website size.

- (Most likely the worst CSS addition I've every made): A blinking
  lower-block for the h1 on index page. Seriously? CSS Animations on a
  supposedly "simple" site like this??? Hopefully I would know better
  and remove it soon.
  - It's only animated for like 5 seconds. After that it is hidden
  - For text-based browsers it willbe static and forever there. This may
    be a problem because it looks like my name has a trailing
    underscore 🤦
  - It just looks wrong. I didn't have the typewriter animation for the
    h1 text though, so ugh.
2022-05-16 20:16:48 +08:00
hedy 0c64b1110d
Nav: Better way of riht-aligning last few nav items
- Previously using:

  <nav><ul>
    <li>first item</li>
    <span class="right">
      <li>second item</li>
      <li>third item</li>
      <li>last item</li>
    </span>
  </ul></nav>

  This sucks, because:

  1. Fails in accessibility due the the <span> - <li> should be under <ul>
  directly
  2. I had to hard code the opening span as pre in menu config for second item,
  and closing span as post in menu config for last item.
  3. Looks horrible
  4. I have 4 reasons for changing it! :P

- Anyway, the structure of the nav is now:

  <nav>
    first item
    <ul>
      <li>second item</li>
      <li>third item</li>
      <li>last item</li>
    </ul>
  </nav>

  beautiful!
  Not quite easier to style in css, not quite nicer for text-based browsers,
  but it works, that's what matters.

NOTE TO `GIT BLAME`-ERS
-----------------------
This commit should be associated with the commit(s) before this that touched
layouts/partials/header.html, which has the changes for the nav structure. May
you find what you are looking for there.
2022-05-15 21:27:03 +08:00
hedy 629ba7431a
README, Feeds, Post(meta): Redesign post list, add atom feed 2022-05-15 18:26:12 +08:00
hedy d4914ef2f9
Head: Add meta description, remove useless <a> in <head>
Attempted to fix ugly indentation in generated HTML:
eg
    <html>
        <head>
            <meta>
            <more meta>
<meta from head.html>
<more stuff from head.html>
        </head>
        <body>
<header></header>
<footer></footer>
        </body>
    </html>

I feel like the only fix is to put the indentation manually in
partials/head.html etc.
2022-05-15 09:47:56 +08:00
hedy 4e2719bdf5
Content: Better homepage content 2022-05-14 21:16:39 +08:00
hedy d51263ded2
CSS, nav: Better styled navigation bar
- Use <ul>
- Get rid of the ugly border-bottom
- Instead, decrease the left/right margin so it spans across the width
  of the screen
- Align site index link on the left, and the other nav items on the
  right
- Adjust behaviour of hover
- Reflect currently selected page in the nav bar
2022-05-14 21:11:12 +08:00
hedy bb9732308a
Feeds: Add author information to RSS and Atom feeds
Also accidentally did `gg=G` to the Atom feed ;-;
2022-05-07 16:32:06 +08:00
hedy 8b88fac484
Update index, add ~cafe spotlight, update CSS
and more...

commiting months-old changes, don't mind me.
2022-05-07 16:16:01 +08:00
Hedy Li 675546db2f
dont use ugly urls for www, use ugly for gemini 2021-09-22 16:59:37 +08:00
Hedy Li c790020be0
make projects page a draft 2021-08-25 11:36:24 +08:00
Hedy Li 719449bb66
baseof for gmi, end comments, copyright param, etc
also add , between tags and many more stuff which I forgot
2021-08-06 15:15:39 +08:00
Hedy Li eac45eb9d6
fix links and dates 2021-08-05 21:07:32 +08:00
Hedy Li c0a66bb62f
clean up head and title stuff 2021-08-05 15:02:59 +08:00
Hedy Li 07f74d4216
syntax highlighting in posts that need them and "also on gemini" link 2021-08-05 13:04:04 +08:00
Hedy Li ff487f29c1
better css 2021-08-04 12:10:38 +08:00
Hedy Li 5c248dc516
add about, projects, table, more css, and etc 2021-08-03 14:24:15 +08:00
Hedy Li a80a440510 changes mostly related to atom gemini feed
AHHHHH the href link alternate thing in gemini.xml doesnt work AHHHH
what is this
2021-06-17 11:03:41 +08:00
Hedy Li 0972b707dc changed a lot of stuff gemini still doesnt work 2021-06-14 21:35:13 +08:00
Hedy Li c7bb13bdbc change url in config.toml 2021-06-14 09:23:52 +08:00
Hedy Li c7b51a291b update 2021-02-23 10:18:09 +00:00
Hedy Li f40ed9b83e updatse 2021-02-23 04:50:42 +00:00
Hedy Li 43dda43638 initial 2021-02-16 01:46:37 +00:00