Browse code

Adición de piwik

NikaZhenya authored on 04/10/2018 21:04:46
Showing 42 changed files
... ...
@@ -420,6 +420,20 @@ li.no-count:before {
420 420
     content: none !important;
421 421
 }
422 422
 
423
+.li-manual {
424
+	list-style-type: none;
425
+}
426
+
427
+.li-manual > li > p:first-child > span:first-of-type:not(.versalita) {
428
+	display: block;
429
+	margin-left: -1.5em;
430
+	margin-bottom: -1.25em;
431
+}
432
+
433
+li > .li-manual {
434
+    margin: 0 0 0 1.5em;
435
+}
436
+
423 437
 /* Images / Imágenes */
424 438
 
425 439
 img {    /* It helps if the source doesn't exist / Ayuda a detectarlos si no existe el recurso */
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="../js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
... ...
@@ -10,6 +10,7 @@
10 10
         <!--        
11 11
         <link rel="shortcut icon" href="favicon.ico">
12 12
          -->
13
+        <script type="text/javascript" src="js/piwik.js"></script>
13 14
     </head>
14 15
     <body>
15 16
         <header>
16 17
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+var _paq = _paq || [];
2
+/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
3
+_paq.push(['trackPageView']);
4
+_paq.push(['enableLinkTracking']);
5
+(function() {
6
+  var u="https://analytics.cliteratu.re/";
7
+  _paq.push(['setTrackerUrl', u+'piwik.php']);
8
+  _paq.push(['setSiteId', '7']);
9
+  var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
10
+  g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
11
+})();
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-add" "" "Véase también: pc-add -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-analytics" "" "Véase también: pc-analytics -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-automata" "" "Véase también: pc-automata -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-changer" "" "Véase también: pc-changer -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-cites" "" "Véase también: pc-cites -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-creator" "" "Véase también: pc-creator -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-divider" "" "Véase también: pc-divider -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-doctor" "" "Véase también: pc-doctor -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-images" "" "Véase también: pc-images -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-index" "" "Véase también: pc-index -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-notes" "" "Véase también: pc-notes -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-pandog" "" "Véase también: pc-pandog -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-recreator" "" "Véase también: pc-recreator -h" "Pecas"
4 4
 .hy
... ...
@@ -1,4 +1,4 @@
1
-.\" Automatically generated by Pandoc 2.2.3.2
1
+.\" Automatically generated by Pandoc 2.3
2 2
 .\"
3 3
 .TH "" "pc-tiff2pdf" "" "Véase también: pc-tiff2pdf -h" "Pecas"
4 4
 .hy
... ...
@@ -195,7 +195,7 @@ def create_html path
195 195
             if html_name !~ /^index/
196 196
                 new_html.push($head.join("\n"))
197 197
             else
198
-                new_html.push($head.join("\n").gsub('<link type="text/css" rel="stylesheet" href="../css/styles.css">', '<link type="text/css" rel="stylesheet" href="css/styles.css">'))
198
+                new_html.push($head.join("\n").gsub('<link type="text/css" rel="stylesheet" href="../css/styles.css">', '<link type="text/css" rel="stylesheet" href="css/styles.css">').gsub('<script type="text/javascript" src="../js/piwik.js"></script>', '<script type="text/javascript" src="js/piwik.js"></script>'))
199 199
             end
200 200
         elsif l =~ /<\/head>/
201 201
             write = true
... ...
@@ -6,4 +6,5 @@
6 6
         <meta name="keywords" content="nika,zhenya,pecas,epub,ebook,publishing,libros,pandoc,ghostscript,tesseract,latex,context,jats,pdf-document,pdf-generation,tex,automation,markdown,html,xhtml,mobi">
7 7
         <link type="text/css" rel="stylesheet" href="../css/styles.css">
8 8
 <!--        <link rel="shortcut icon" href="favicon.ico"> -->
9
+        <script type="text/javascript" src="../js/piwik.js"></script>
9 10
     </head>