Archive

<div class="c-archive">

    <table>
        <tbody>
            <tr class="u-disabled">
                <td>
                    2018
                </td>
                <td>
                    <a href="false">
                        Faccialibro
                    </a>
                </td>
                <td>
                    <a href='#'>Categoria 1</a>,
                    <a href='#'>Categoria 2</a>,
                    <a href='#'>Categoria 3</a>
                </td>
            </tr>
            <tr>
                <td>
                    2018
                </td>
                <td>
                    <div class="c-archive-rec" alt="Progetto in corso"></div>
                    <span class="u-disabled">{Case d"altri}</span>
                </td>
                <td>
                    <a href='#'>Categoria 1</a>,
                    <a href='#'>Categoria 2, Extra categoria</a>,
                    <a href='#'>Categoria 3</a>
                </td>
            </tr>
            <tr>
                <td>
                    2018
                </td>
                <td>
                    <a href="http://www.emmaboshi.net/progetti/99-objects">
                        Prima festa sulla neve
                    </a>
                </td>
                <td>
                    <a href='#'>Categoria 1</a>,
                    <a href='#'>Categoria 2</a>,
                    <a href='#'>Categoria 3</a>
                </td>
            </tr>
            <tr>
                <td>
                    2018
                </td>
                <td>
                    <a href="http://www.emmaboshi.net/progetti/99-objects">
                        Faccialibro
                    </a>
                </td>
                <td>
                    <a href='#'>Categoria 1</a>,
                    <a href='#'>Categoria 2</a>,
                    <a href='#'>Categoria 3</a>
                </td>
            </tr>
            <tr>
                <td>
                    2018
                </td>
                <td>
                    <a href="http://www.emmaboshi.net/progetti/99-objects">
                        {Case d"altri}
                    </a>
                </td>
                <td>
                    <a href='#'>Categoria 1</a>,
                    <a href='#'>Categoria 2</a>,
                    <a href='#'>Categoria 3</a>
                </td>
            </tr>
            <tr>
                <td>
                    2018
                </td>
                <td>
                    <a href="http://www.emmaboshi.net/progetti/99-objects">
                        Prima festa sulla neve
                    </a>
                </td>
                <td>
                    <a href='#'>Categoria 1</a>,
                    <a href='#'>Categoria 2</a>,
                    <a href='#'>Categoria 3</a>
                </td>
            </tr>
            <tr>
                <td>
                    2016
                </td>
                <td>
                    <div class="c-archive-rec" alt="Progetto in corso"></div>
                    <span class="u-disabled">Nau 2009 eghein</span>
                </td>
                <td>
                    <a href='#'>Categoria 1</a>,
                    <a href='#'>Categoria 2</a>,
                    <a href='#'>Categoria 3</a>
                </td>
            </tr>
            <tr>
                <td>
                    2016
                </td>
                <td>
                    <a href="http://www.emmaboshi.net/progetti/99-objects">
                        Il tempo
                    </a>
                </td>
                <td>
                    <a href='#'>Categoria 1</a>,
                    <a href='#'>Categoria 2</a>,
                    <a href='#'>Categoria 3</a>
                </td>
            </tr>
            <tr>
                <td>
                    2016
                </td>
                <td>
                    <a href="http://www.emmaboshi.net/progetti/99-objects">
                        The rose has teeth in the mouth of a beast, cioè, buon anno
                    </a>
                </td>
                <td>
                    <a href='#'>Categoria 1</a>,
                    <a href='#'>Categoria 2</a>,
                    <a href='#'>Categoria 3</a>
                </td>
            </tr>
            <tr>
                <td>
                    2016
                </td>
                <td>
                    <a href="http://www.emmaboshi.net/progetti/99-objects">
                        Nau 2009 eghein
                    </a>
                </td>
                <td>
                    <a href='#'>Categoria 1</a>,
                    <a href='#'>Categoria 2</a>,
                    <a href='#'>Categoria 3</a>
                </td>
            </tr>
        </tbody>
    </table>

</div>
<div class="c-archive">

  <table>
    <tbody>
      {% for item in archiveList %}
        <tr {% if not item.url %}class="u-disabled"{% endif %}>
          <td>
            {{ item.anno }}
          </td>
          <td>
            {% if item.isLive is defined and item.isLive %}
            <div class="c-archive-rec" alt="Progetto in corso"></div>
              <span class="u-disabled">{{ item.title }}</span>
            {% else %}
            <a href="{{ item.url }}">
              {{ item.title }}
            </a>
            {% endif %}
          </td>
          {% if item.hasCategories %}
            <td>
              {% for category in item.categories %}
                <a href='#'>{{ category.title }}</a>{{ not loop.last ? ', ' }}
              {% endfor %}
            </td>
          {% endif %}
        </tr>
      {% endfor %}
    </tbody>
</table>

</div>
{
  "title": "Archivio",
  "archiveList": [
    {
      "anno": "2018",
      "hasStar": false,
      "isLive": false,
      "title": "Faccialibro",
      "url": false,
      "hasCategories": true,
      "categories": [
        {
          "title": "Categoria 1"
        },
        {
          "title": "Categoria 2"
        },
        {
          "title": "Categoria 3"
        }
      ]
    },
    {
      "anno": "2018",
      "hasStar": true,
      "isLive": true,
      "title": "{Case d\"altri}",
      "url": "http://www.emmaboshi.net/progetti/99-objects",
      "hasCategories": true,
      "categories": [
        {
          "title": "Categoria 1"
        },
        {
          "title": "Categoria 2, Extra categoria"
        },
        {
          "title": "Categoria 3"
        }
      ]
    },
    {
      "anno": "2018",
      "hasStar": false,
      "isLive": false,
      "title": "Prima festa sulla neve",
      "url": "http://www.emmaboshi.net/progetti/99-objects",
      "hasCategories": true,
      "categories": [
        {
          "title": "Categoria 1"
        },
        {
          "title": "Categoria 2"
        },
        {
          "title": "Categoria 3"
        }
      ]
    },
    {
      "anno": "2018",
      "hasStar": false,
      "isLive": false,
      "title": "Faccialibro",
      "url": "http://www.emmaboshi.net/progetti/99-objects",
      "hasCategories": true,
      "categories": [
        {
          "title": "Categoria 1"
        },
        {
          "title": "Categoria 2"
        },
        {
          "title": "Categoria 3"
        }
      ]
    },
    {
      "anno": "2018",
      "hasStar": true,
      "isLive": false,
      "title": "{Case d\"altri}",
      "url": "http://www.emmaboshi.net/progetti/99-objects",
      "hasCategories": true,
      "categories": [
        {
          "title": "Categoria 1"
        },
        {
          "title": "Categoria 2"
        },
        {
          "title": "Categoria 3"
        }
      ]
    },
    {
      "anno": "2018",
      "hasStar": false,
      "isLive": false,
      "title": "Prima festa sulla neve",
      "url": "http://www.emmaboshi.net/progetti/99-objects",
      "hasCategories": true,
      "categories": [
        {
          "title": "Categoria 1"
        },
        {
          "title": "Categoria 2"
        },
        {
          "title": "Categoria 3"
        }
      ]
    },
    {
      "anno": "2016",
      "hasStar": true,
      "isLive": true,
      "title": "Nau 2009 eghein",
      "url": "http://www.emmaboshi.net/progetti/99-objects",
      "hasCategories": true,
      "categories": [
        {
          "title": "Categoria 1"
        },
        {
          "title": "Categoria 2"
        },
        {
          "title": "Categoria 3"
        }
      ]
    },
    {
      "anno": "2016",
      "hasStar": true,
      "isLive": false,
      "title": "Il tempo",
      "url": "http://www.emmaboshi.net/progetti/99-objects",
      "hasCategories": true,
      "categories": [
        {
          "title": "Categoria 1"
        },
        {
          "title": "Categoria 2"
        },
        {
          "title": "Categoria 3"
        }
      ]
    },
    {
      "anno": "2016",
      "hasStar": false,
      "isLive": false,
      "title": "The rose has teeth in the mouth of a beast, cioè, buon anno",
      "url": "http://www.emmaboshi.net/progetti/99-objects",
      "hasCategories": true,
      "categories": [
        {
          "title": "Categoria 1"
        },
        {
          "title": "Categoria 2"
        },
        {
          "title": "Categoria 3"
        }
      ]
    },
    {
      "anno": "2016",
      "hasStar": false,
      "isLive": false,
      "title": "Nau 2009 eghein",
      "url": "http://www.emmaboshi.net/progetti/99-objects",
      "hasCategories": true,
      "categories": [
        {
          "title": "Categoria 1"
        },
        {
          "title": "Categoria 2"
        },
        {
          "title": "Categoria 3"
        }
      ]
    }
  ]
}
  • Content:
    # Archive
    
    Varianti:
    - può avere il titolo `title`
    - può avere 2 o 3 colonne
    - le singole righe possono essere link oppure testo semplice (`link`)
    - i progetti possono essere live (`isLive: true`) con il pallino rosso, oppure `isStar:true` con l'asterisco
    
    Note:
    - Costruito con una <table> di default.
    
  • URL: /components/raw/archive/archive.md
  • Filesystem Path: src/02-components/archive/archive.md
  • Size: 305 Bytes

No notes defined.