summaryrefslogtreecommitdiffstats
path: root/scripts/template.diff
blob: dd96a75f1c94d9ec6f9149ed9b2ca6b342d03eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
--- planetqt/template.qt	2022-10-03 14:44:25.447587715 +0200
+++ scripts/template.html	2022-10-21 11:08:02.685280289 +0200
@@ -9,14 +9,15 @@
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
 
-    <title>Planet Qt</title>
-
+    <title>%(title)s</title>
+    %(stylesheet)s
     <link rel="shortcut icon" href="favicon.ico" />
     <link href='http://fonts.googleapis.com/css?family=Open+Sans:700,300,400' rel='stylesheet' type='text/css'>
     <link rel="stylesheet" type="text/css" href="online.css" />
     <link rel="stylesheet" type="text/css" href="style.css" />
+    <!-- Can remove this style hack once QTWEBSITE-1071 is fixed in planetqt's master -->
+    <style type="text/css"> em { font-style: italic; } strong { font-weight: bold; } </style>
 
-    <script type="text/javascript" src="http://d3hp9ud7yvwzy0.cloudfront.net/wp-content/themes/oneqt/js/combo.js.gzip"></script>
     <script type="text/javascript" src="main.js"></script>
     <script type="text/javascript" src="extras.js"></script>
     <script type="text/javascript" src='modernizr.custom.84855.js'></script>
@@ -82,32 +83,14 @@
 </div>
 <div class="content">
     <div class="wrapper">
-        <div class="content-column">
-            <div class="pages">
-                __paged_output_pages__
-            </div>
-            <div id="items">
-                __items__
-            </div>
-            <div class="pages">
-                __paged_output_pages__
-            </div>
-        </div>
-        <aside>
-            <img src="images/content-meteor.png" class="responsive-image" alt="Planet Qt" />
-            <a href="rss20.xml" class="rss-feed">RSS</a>
-            <h3>About Planet Qt</h3>
-            <p>The Qt Planet is an aggregator for Qt related blogs, regardless of who the author is. The opinions it contains are those of the respective author. This site is powered by <a href="http://offog.org/code/rawdog.html">Rawdog</a> and <a href="https://launchpad.net/rawdog-rss">Rawdog RSS</a>.  Feed readers can read Planet Qt with <a href="rss20.xml">RSS</a>, <a href="foafroll.xml">FOAF</a> or <a href="opml.xml">OPML</a></p>
-            <h3>Join us</h3>
-            <ul class="icon-links">
-                    <li class="qtproject-twitter"><a href="http://twitter.com/qtproject">@qtproject</a></li>
-                    <li class="qt-meetup"><a href="http://www.meetup.com/QtEverywhere/">Qt Meetups</a></li>
-            </ul>
-            <h3>Contributing</h3>
-            <p>All who blog in English about Qt can either add their complete RSS feed or a feed based on a specific category or tag for those blogging about multiple topics. All you need to do is clone the <a href="https://code.qt.io/cgit/www/planetqt.git/">Planet Qt repository</a>, add your feed's address, and put your change up for <a href="http://wiki.qt.io/Code_Reviews">review</a>.</p>
-            <h3>Subscriptions</h3>
-            __feedlist__
-        </aside>
+      <h1>%(title)s</h1>
+      <ul>
+        <li><a href="./">QUIP Index</a></li>
+        <li><a href="%(urlstem)s.html">QUIP %(quip)s</a></li>
+      </ul>
+      <div class="context document">
+%(body)s
+      </div>
     </div>
 </div>
 <div id="footer">
@@ -173,10 +156,7 @@
             <a href="http://www.qt.io/about-us/" target="_blank" class="theqtcompany"></a>
             <div class="footer-social clearfix">
                 <div class="facebook">
-                    <iframe scrolling="no" frameborder="0" allowTransparency="true" src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fqtbydigia&amp;width&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;share=false&amp;height=21" style="border:none;overflow:hidden;height:21px;"></iframe>
-                </div>
-                <div class="twitter">
-                    <iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" src="//platform.twitter.com/widgets/follow_button.33b190ea0cba008796487b65df7f6d8e.en.html#_=1414403615717&amp;id=twitter-widget-0&amp;lang=en&amp;screen_name=qtproject&amp;show_count=true&amp;show_screen_name=false&amp;size=m" class="twitter-follow-button twitter-follow-button" title="Twitter Follow Button" data-twttr-rendered="true" style="width: 160px; height: 20px;"></iframe>
+                    <iframe scrolling="no" frameborder="0" allowTransparency="true" src="//www.facebook.com/plugins/like.php?href=https%%3A%%2F%%2Fwww.facebook.com%%2Fqtbydigia&amp;width&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;share=false&amp;height=21" style="border:none;overflow:hidden;height:21px;"></iframe>
                 </div>
             </div>
         </div>
@@ -185,7 +165,7 @@
         <div class="container clearfix no_discs">
             <ul id="menu-footer-submenu" class="right clearfix"><li class="menu-item"><a href="http://www.qtworldsummit.com">Qt World Summit</a></li>
                     <li class="menu-item"><a title="Sign into your account." href="https://account.qt.io/login">Sign In</a></li>
-                    <li class="menu-item"><a href="mailto:feedback@theqtcompany.com?Subject=Feedback%20about%20www.qt.io%20site">Feedback</a></li>
+                    <li class="menu-item"><a href="mailto:feedback@theqtcompany.com?Subject=Feedback%%20about%%20QUIPs on qt.io%%20site">Feedback</a></li>
                     <li class="menu-item"><a href="http://www.qt.io/about-us">© 2019 The Qt Company</a></li>
             </ul>
         </div>