Sha256: d3e2b0be1080a1babf29aa3257708a88529b191ddd25ecc52643ef4c3b41f9cb

Contents?: true

Size: 1.75 KB

Versions: 47

Compression:

Stored size: 1.75 KB

Contents

<script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "WebSite",
        "name": "{{ site.title }}",
        "url": "{{ site.url }}",
        "about": "{{ site.description }}"{% if page.contributors %},
        {%- assign contributors = site.data.CONTRIBUTORS %}
        {%- assign contributor_count = page.contributors.size %}
        {%- assign count = 1 %}
        "author": [
            {%- for people in page.contributors %}
            {
                "@type": "Person",
                {%- if contributors[people].orcid %}
                "@id": "https://orcid.org/{{contributors[people].orcid}}",
                "mainEntityOfPage": "https://orcid.org/{{contributors[people].orcid}}",
                {%- endif %}
                {%- if contributors[people].affiliation %}
                "affiliation": {
                    "@type": "Organization",
                    "name": "{{contributors[people].affiliation}}"
                },
                {%- endif %}
                {%- if contributors[people].email %}
                "email": "{{contributors[people].email}}",
                {%- endif %}
                {%- if contributors[people].git %}
                "url": "https://github.com/{{contributors[people].git}}",
                "image": "https://avatars.githubusercontent.com/{{contributors[people].git}}",
                {%- endif %}
                {%- if contributors[people].role %}
                "jobTitle": "{{contributors[people].role}}",
                {%- endif %}
                "name": "{{people}}"
            }{% unless count == contributor_count - 1 %},{% endunless %}
            {%- assign count = count | plus:1 %}
            {%- endfor %}
        ]
        {%- endif %}
    }
</script>

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
elixir-toolkit-theme-4.0.0 _includes/schemasorg.html
elixir-toolkit-theme-3.2.0 _includes/schemasorg.html
elixir-toolkit-theme-3.1.1 _includes/schemasorg.html
elixir-toolkit-theme-3.1.0 _includes/schemasorg.html
elixir-toolkit-theme-3.0.1 _includes/schemasorg.html
elixir-toolkit-theme-3.0.0 _includes/schemasorg.html
elixir-toolkit-theme-2.5.0 _includes/schemasorg.html
elixir-toolkit-theme-2.4.0 _includes/schemasorg.html
elixir-toolkit-theme-2.3.0 _includes/schemasorg.html
elixir-toolkit-theme-2.2.2 _includes/schemasorg.html
elixir-toolkit-theme-2.2.1 _includes/schemasorg.html
elixir-toolkit-theme-2.2.0 _includes/schemasorg.html
elixir-toolkit-theme-2.1.0 _includes/schemasorg.html
elixir-toolkit-theme-2.0.0 _includes/schemasorg.html
elixir-toolkit-theme-1.26.0 _includes/schemasorg.html
elixir-toolkit-theme-1.25.0 _includes/schemasorg.html
elixir-toolkit-theme-1.24.0 _includes/schemasorg.html
elixir-toolkit-theme-1.23.0 _includes/schemasorg.html
elixir-toolkit-theme-1.22.0 _includes/schemasorg.html
elixir-toolkit-theme-1.21.0 _includes/schemasorg.html