<hr /> to top?

This is the preview for a very simple coding template for you to share a masterlist of your fanfiction. It is currently set up to allow visitors to filter and view fics by fandom, but you can add more options if you want.

Anything changed after launch (8 July 2025) will be documented on Github.

If you don't feel that comfortable yet, try a cat-guided comic introduction to HTML by Neocities (official), a beginner's webguide to HTML & CSS, or Interneting is hard (but it doesn't have to be).

This template is responsive for tablets and smartphones. The JavaScript code for the filter is from w3schools.

My index of other fannish webpage resources can be found here.

If you're interested in something similar for fanart, check out this template, from which this webpage is inspired.

Formatting preview

Heading 1

Heading 2

Heading 3

Heading 4

Here's some dummy text: in bold, in italics, underlined, highlighted, code, and links.

(Highlight) There's also custom styling for spoilers that require the viewer to highlight the text to read it. This can be done with <spoiler>spoiled text</spoiler>. Inner formatted text will override the spoiler styling.

Try out <p> to create a paragraph, and </p> to end it.
You can also use <br /> for line breaks.

  1. Check out this ordered list too.
  2. Each list starts with <ol> (for ordered list), and each item starts with <li> (list item.)
  3. Be sure to close your tags at the end by adding a forward slash in the code, like </li>
Click on me!!

You can hide and preview text/content with the <details> and <summary> tags. Read more about it here.

  • You can also make unordered lists (<ul>).
  • Look at me, I love bulletpoints.

Here's some text to break up this preview better.


Above is a horizontal rule, which you can add by inputting <hr />. It can act as a divider on your page.

This is text inside a blockquote.

Be sure to close your code!

(I'm adding text here so some spacing is more distinct.)

  • Fic metadata
  • is written as unordered list
  • because it is surrounded
  • by the filterFic div class

The HTML tags for fic summary have a little bit of padding on the left and right to differentiate from metadata.

The spacing between paragraphs within the fic summary is a little bit smaller, to keep each fic nicely condensed.

Get the code (click)
  1. Right click on this page. Select View Page Source.
  2. Copy the entire page/file of what comes up. Save it in a .html file. This may be a local file, a file on your Neocities/Nekoweb site, or any old index.html (main/index page) file.
  3. Go to the style.css for this page and, similarly, copy/paste everything into a style.css file.
  4. Modify the .html file to your heart's content with your own text, and to display your fic instead of mine.
  5. Manually add and order your fics under <div id="masterlist">. Feel free to change the metadata order. Adjust the button links under <div id="fandom-navigation"> to reflect your fanfiction fandoms.
  6. Modify style.css to reflect colors and other styles you prefer. This is not necessary if you would like your page to be styled like this preview.

You can also download the repository from Github.

For workflow ease, I recommend downloading your fic from AO3 as .html files (you can use this script) and simply uploading them as-is, linking to them through this page. Uploading the HTML file downloaded from AO3 directly to Neocities/Nekoweb/whatever will make your fic look like this page.

If you would like your fic pages to be styled and a prettier, check out ao3-style.css.

Customize fandoms and filters (click)

The code for each individual fic is prepended with <div class="filterFic fandom-name">, wherein fandom-name is the fandom that the fic is for, and matches at least one fandom filter option under fandom-navigation a la filterSelection('fandom-name').

Each fic item must be closed with </div> before listing another one.

To add a new fandom, under <nav id="fandom-navigation">, add a new button option like so:

	<button class="fandomButton" onclick="filterSelection('new-fandom')">New Fandom</button>

When adding a new fic for the fandom, put what you named the fandom under filterSelection as an additional class. In this case, I'll use new-fandom.

	<div class="filterFic new-fandom">
		<ul>
			<li><a href="">Title</a></li>
			<li>Fandom</li>
			<li>Pairing</li>
			<li>Rating</li>
			<li>Word count</li>
		</ul>
		<fic-summary>Summary of my awesome fanfiction.</fic-summary>
	</div>

Each pic can have multiple filter classes,To add another filter to a pic item, add it to an individual pic's div class.

	<div class="filterFic new-fandom second-fandom ship-pairing rated-explicit">
		<ul>
			<li><a href="">Title</a></li>
			<li>Fandom</li>
			<li>Pairing</li>
			<li>Rating</li>
			<li>Word count</li>
		</ul>
		<fic-summary>Summary of my awesome fanfiction.</fic-summary>
	</div>
Examples of alternate styling

These adjustments can be made by changing a few variables at the top of style.css, under :root{ }

Additional Notes

I fully expect for this theme to be modified, if not at least for the text/fic, then the styling as well. The code is made so that customizations are easy to implement by mostly modifying everything under :root{} in the stylesheet. This serves as a template for a lot of the busywork when it comes to code, but I'm not going to tell you how to organize or show off your fic—feel free to change and adjust whatever you want.

If you'd like, you can always edit more and come back to this page if you need to refer to the original code again. You can also edit the template so much that it doesn't look like this anymore and the code is barely recognizable as mine. Do whatever you want and remove the credits at your own whims. I trust your judgment on this more than you need mine.

I do run a fandom webring though.

Fart
Ohm and Nanon, after.
#GMMTVStarlympics24
fart

Pat's door was locked. Pran expected as much, but it still stung.

And maybe Pran was too drunk to know when to give up.

Fart 2

“What was that for?” Needy asks, as Jennifer closes her phone with a smug grin. “Those guys almost sacrificed you to Satan!”

“Yeah, but you sacrificed me to Satan instead,” Jennifer replies.

  • get wild
  • Mo Dao Zu Shi
  • Lan Wangji/Wei Wuxian
  • Explicit
  • 23,925
fart epic
fart

fart

Or, a Dionysus & Prosymnus AU.

fart
  • Solstice
  • Haikyuu!!
  • Asahi/Daichi/Suga
  • Teen
  • 27,150
fart
  • Glow
  • Haikyuu!!
  • Daichi/Suga
  • Explicit
  • 1,726
fart
fart
poop 3
poop