<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Fedizine - A Fanzine on the Fediverse</title>
  <style>
    body { font-family: sans-serif; margin: 2em auto; max-width: 700px; line-height: 1.6; background: #fafafa; color: #222; }
    h1 { font-size: 2.5em; margin-bottom: 0.2em; color: #6b46c1; }
    h2 { margin-top: 1.5em; color: #444; border-bottom: 2px solid #ddd; padding-bottom: 0.3em; }
    p, li { font-size: 1em; }
    ul { margin-top: 0.5em; }
    a { color: #6b46c1; text-decoration: none; }
    a:hover { text-decoration: underline; }
    .highlight { background: #fef3c7; padding: 0.2em 0.4em; border-radius: 4px; }
  </style>
</head>
<body>
  <h1>Fedizine</h1>
  <p>A monthly multi‑page fanzine made on the fedi and for the fedi.</p>

  <h2>How It Works</h2>
  <ul>
    <li>Two monthly A4 artworks per artist</li>
    <li>Artwork 1: A set theme decided by poll or popular demand</li>
    <li>Artwork 2: Free space, up to you</li>
    <li>Any kind of art or photography is welcome</li>
    <li><strong>No AI-generated images</strong></li>
    <li>Released both as a catalogue (on this page) and as a downloadable document</li>
  </ul>
    <h2>Status</h2>
    <p>If you're interested in participating, reach out before starting to draw, and share your ideas. Release date is TBD, but you'll have a few weeks to work. More updates will be posted soon.</p>
    <h2>September Theme</h2>
  <p><strong>A foxgirl milf Pleroma‑tan</strong></p>

  <h2>Attempt at making a template</h2>
  %
    CONTESTANT_DIRECTORY="./contestants/*"
    for CONTESTANT in $CONTESTANT_DIRECTORY
    do
  %
  <div class="contestant-box">
    %
      CONTESTANT_BIO="${CONTESTANT}/bio.txt"
      readarray -t CONTESTANT_DATA < ${CONTESTANT_BIO}
    %
    <div>
      <h3><% ${CONTESTANT_DATA[0]} %><h3>
      <small><% ${CONTESTANT_DATA[1]} %></small>
    %
      CONTESTANT_DATA_LENGTH=${#CONTESTANT_DATA[@]}
      for (( j=2; j<${CONTESTANT_DATA_LENGTH}; j++ ));
      do
        readarray -t IMAGE_LINES < <( sed -r 's/"+ *"?/\n/g' <<< ${CONTESTANT_DATA[$j]} | sed -r '/^\s*$/d' | sed -r '/^ +/d' )
        IMAGE_PATH="$CONTESTANT/${IMAGE_LINES[0]}"
        IMAGE_ALT="${IMAGE_LINES[2]}"
        IMAGE_DESCRIPTION="${IMAGE_LINES[1]}"
    %
      <div class="contestant-image">
        <img src="<% $IMAGE_PATH %>" alt="<% $IMAGE_ALT %>" width="300" />
        <span class="image-title"><b><% $IMAGE_DESCRIPTION %></b></span>
      </div>
    %
      done;
    %
    </div>
  </div>
  <img src="<% $image %>" alt="Reference 4" width="300">
  %
    done;
  %


  <h2>Guidelines</h2>
  <ul>
    <li>Nothing illegal in the USA or Argentina</li>
    <li>No politics</li>
    <li>No slurs</li>
    <li>No overly violent or sexual content</li>
    <li>Submissions must pass a basic quality standard (editor’s discretion)</li>
  </ul>
  <p>Attempts to get around these rules will be ignored.</p>

  <h2>Specs</h2>
  <p>Page size: A4 (210 × 297 mm)<br>
  Resolution: 300 ppi<br>
  2552 × 3578 px<br>
  Preferred format: PNG</p>

  <h2>Contact</h2>
  <p>Email: <a href="mailto:waifuism@tutanota.com">waifuism@tutanota.com</a><br>
  Misskey: <a href="https://mai.waifuism.life/@waifu">@waifu@mai.waifuism.life</a></p>


</body>
</html>
