Release!
[static.git] / content / index.html
index 84ea512..a9a5fa6 100644 (file)
@@ -3,7 +3,8 @@ extends: base.j2
 ---
 
 
-{% block full_title %}Wprowadzenie do własności intelektualnej{% endblock %}
+{% block full_title %}Krótki kurs własności intelektualnej – materiały dla wyższych uczelni.{% endblock %}
+{% block og_title %}Krótki kurs własności intelektualnej – materiały dla wyższych uczelni.{% endblock %}
 
 
 {% block bodyid %}index{% endblock %}
@@ -11,17 +12,57 @@ extends: base.j2
 
 {% block body %}
 
+
 <header>
 <h1>Krótki kurs własności intelektualnej<br/> Materiały dla wyższych uczelni</h1>
 
 <nav>
-<a class="link-next" href="{{ content_url('/wstep') }}">
-Wstęp</a>
+<a class="link-next" href="{{ content_url('/informacje-o-kursie') }}">
+Informacje o kursie</a>
 </nav>
 
 <div style="clear:both"></div>
 </header>
 
+<section id="toc">
+
+<section class="home-section" id="tools">
+    <h2>Pobierz</h2>
+
+    <ul class="link-list">
+        <li><a class="list-item" href="{{ media_url('krotki-kurs-wlasnosci-intelektualnej-podrecznik.pdf') }}">Podręcznik w&nbsp;formacie PDF</a></li>
+        <li><a class="list-item" href="{{ media_url('krotki-kurs-wlasnosci-intelektualnej-slajdy-odp.zip') }}">Slajdy w&nbsp;formacie ODP</a></li>
+        <li><a class="list-item" href="{{ media_url('krotki-kurs-wlasnosci-intelektualnej-slajdy-pdf.zip') }}">Slajdy w&nbsp;formacie PDF</a></li>
+        {#- <li><a class="list-item" href="">Kurs w&nbsp;formacie SCORM (zgodny z Moodle)</a></li> #}
+        <li><a class="list-item" href="http://inne.redakcja.wolnelektury.pl/documents/book/kurs-ip-dla-uniwersytetow/">Źródło do edycji</a></li>
+    </ul>
+</section>
+
+
+{%- for grp, res_walker in site.content.walk_section_groups() -%}
+    {%- if grp.name != 'section' -%}
+        <section class="home-section {{ grp.name }}">
+        <h2>{{ grp.title }}</h2>
+        <ul class="link-list">
+
+        {%- for res in res_walker -%}
+            {% if res.meta.title != "Materiały uzupełniające" %}
+            <li><a class="list-item" href="{{ res.full_url }}">{{ res.meta.title }}</a></li>
+            {% endif %}
+        {%- endfor -%}
+
+        </ul>
+
+        {% if grp.name == "rozdzial-6" %}
+            <a href="{{ content_url('/materialy-uzupelniajace') }}"><h2>Materiały uzupełniające</h2></a>
+        {% endif %}
+        </section>
+    {%- endif -%}
+{%- endfor %}
+
+</section>
+
+
 <section id="logos" style="
     background: white;
     padding: 
@@ -42,7 +83,7 @@ Wstęp</a>
             alt="Trust for Civil Society in Central and Eastern Europe"
             title="Trust for Civil Society in Central and Eastern Europe"></a
     ></section><section>
-        <h1>Patron merytoryczny</h1
+        <h1>Patron</h1
         ><a href='https://www.icm.edu.pl'><img
             src="{{ media_url('logos/icm-logo-1.png') }}"
             alt="Interdyscyplinarne Centrum Modelowania Matematycznego i Komputerowego, Uniwersytet Warszawski"
@@ -53,32 +94,5 @@ Wstęp</a>
             title="Platforma Otwartej Nauki"></a
     ></section></section>
 
-<section class="home-section" id="tools">
-    <h2>Pobierz</h2>
-
-    <a href="">Kurs w&nbsp;formacie PDF</a>
-    <a href="">Prezentację w&nbsp;formacie ODP</a>
-    <a href="">Prezentację w&nbsp;formacie PDF</a>
-    <a href="">Kurs w&nbsp;formacie SCORM (zgodny z Moodle)</a>
-    <a href="http://ofop.redakcja.wolnelektury.pl/documents/book/kurs-ip-dla-uniwersytetow/">Źródło do edycji</a>
-</section>
-
-{%- for grp, res_walker in site.content.walk_section_groups() -%}
-    {%- if grp.name != 'section' -%}
-        <section class="home-section">
-        {%- if grp.title != '' -%}
-            <h2>{{ grp.title }}</h2>
-        {% endif %}
-        {%- if grp.name == 'intro' -%}
-        {%- endif -%}
-        
-        {%- for res in res_walker  -%}
-            <a href="{{ res.full_url }}">{{ res.meta.title }}
-                {% if res.meta.author %}<span class="author">{{ res.meta.author }}</span>{% endif %}
-            </a>
-        {%- endfor -%}
-        </section>
-    {%- endif -%}
-{%- endfor %}
 
-{% endblock %}
\ No newline at end of file
+{% endblock %}