update pdf
[static.git] / site.yaml
index 4244301..d2a0ad2 100644 (file)
--- a/site.yaml
+++ b/site.yaml
@@ -1,7 +1,6 @@
-base_url: /
 context:
     data:
 context:
     data:
-        domain: https://przyszlosc.prawokultury.pl
+        domain: https://prawokultury.pl
 plugins:
     - hyde.ext.plugins.meta.MetaPlugin
     - hyde.ext.plugins.meta.AutoExtendPlugin
 plugins:
     - hyde.ext.plugins.meta.MetaPlugin
     - hyde.ext.plugins.meta.AutoExtendPlugin
@@ -10,7 +9,6 @@ plugins:
     - hyde.ext.plugins.meta.SorterPlugin
     - hyde.ext.plugins.structure.FlattenerPlugin
     - hyde.ext.plugins.css.SassyCSSPlugin
     - hyde.ext.plugins.meta.SorterPlugin
     - hyde.ext.plugins.structure.FlattenerPlugin
     - hyde.ext.plugins.css.SassyCSSPlugin
-    - gzipper.GzipperPlugin
 meta:
     nodemeta: meta.yaml
 urlcleaner:
 meta:
     nodemeta: meta.yaml
 urlcleaner:
@@ -21,11 +19,19 @@ urlcleaner:
     append_slash: true
 flattener:
     items:
     append_slash: true
 flattener:
     items:
-        - source: texts/main
-          target: ""
         - source: texts/intro
           target: ""
         - source: texts/intro
           target: ""
-        - source: texts/outro
+        - source: import/rozdzial-1
+          target: ""
+        - source: import/rozdzial-2
+          target: ""
+        - source: import/rozdzial-3
+          target: ""
+        - source: import/rozdzial-4
+          target: ""
+        - source: import/rozdzial-5
+          target: ""
+        - source: import/rozdzial-6
           target: ""
 gzipper:
     extensions:
           target: ""
 gzipper:
     extensions:
@@ -33,23 +39,33 @@ gzipper:
         - css
         - js
 sorter:
         - css
         - js
 sorter:
-    by_order:
+    order:
+        attr:
+            - meta.order
+        filters:
+            source.kind: html
+            meta.listable: true
+    global_order:
         attr:
         attr:
+            - meta.section
             - meta.order
         filters:
             source.kind: html
             meta.listable: true
 grouper:
     section:
             - meta.order
         filters:
             source.kind: html
             meta.listable: true
 grouper:
     section:
-        sorter: by_order
+        sorter: order
         groups:
             - name: intro
         groups:
             - name: intro
-            - name: main
-            - name: outro
-publisher:
-    default:
-        type: hyde.ext.publishers.ssh.SSH
-        username: prawokultury
-        server: giewont.icm.edu.pl
-        target: /srv/przyszlosc/www/
-        opts: -r -v --delete
+            - name: rozdzial-1
+              title: "Rozdział 1"
+            - name: rozdzial-2
+              title: "Rozdział 2"
+            - name: rozdzial-3
+              title: "Rozdział 3"
+            - name: rozdzial-4
+              title: "Rozdział 4"
+            - name: rozdzial-5
+              title: "Rozdział 5"
+            - name: rozdzial-6
+              title: "Rozdział 6"