Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.56 KB

index.md

File metadata and controls

55 lines (43 loc) · 1.56 KB
layout title tags
col-sidebar
OWASP Community Pages
community

OWASP Community Pages is a place where OWASP can accept community contributions for security-related content. To contribute, go to the repository for this site. Go into the pages folder and create a new file. Save and commit the file.

Include the following front matter in your file (for examples, see pages/password-special-characters.md in this repository):

---

layout: col-sidebar
title: [title of page]
author: [author name]
contributors: [contributors]
permalink: [direct link to page, removes /pages] (this is optional and requires some care)
tags: [attack, XSS, etc]

---

File Listing

{% assign pages = site.pages | sort: 'name' | where_exp: "page", "page.path contains 'pages/'" | where_exp: "page", "page.name != 'index.md'" | where_exp: "page": "page.name != 'info.md'"%}

    {% for page in pages %}
  • {{ page.title }}{% if page.author %} by {{ page.author }}{% endif %}
  • {% endfor %}

Tags

{% assign page_tags = site.pages | map: 'tags' | join: ',' | join: ',' | split: ',' | uniq | sort %} {% for tag in page_tags %} {{ tag }} {% endfor %}

{% capture all_tags %} {% for page in site.pages %} {% for tag in page.tags %} {{ tag }}{% unless forloop.last %},{% endunless %} {% endfor %} {% endfor %} {% endcapture %} {% assign tag_list = all_tags | split: "," | uniq %} {% for t in tag_list %} {{ t }} {% endfor %}