github.com/cockroachdb/tools@v0.0.0-20230222021103-a6d27438930d/cmd/present/templates/dir.tmpl (about)

     1  <!DOCTYPE html>
     2  <html>
     3  <head>
     4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     5    <title>Talks - The Go Programming Language</title>
     6    <link type="text/css" rel="stylesheet" href="/static/dir.css">
     7    <script src="/static/dir.js"></script>
     8    <script>
     9      // Initialize Google Analytics tracking code on production site only.
    10      if (window["location"] && window["location"]["hostname"] == "talks.golang.org") {
    11        var _gaq = _gaq || [];
    12        _gaq.push(["_setAccount", "UA-11222381-6"]);
    13        _gaq.push(["b._setAccount", "UA-49880327-6"]);
    14        window.trackPageview = function() {
    15          _gaq.push(["_trackPageview", location.pathname+location.hash]);
    16          _gaq.push(["b._trackPageview", location.pathname+location.hash]);
    17        };
    18        window.trackPageview();
    19        window.trackEvent = function(category, action, opt_label, opt_value, opt_noninteraction) {
    20          _gaq.push(["_trackEvent", category, action, opt_label, opt_value, opt_noninteraction]);
    21          _gaq.push(["b._trackEvent", category, action, opt_label, opt_value, opt_noninteraction]);
    22        };
    23      }
    24    </script>
    25  </head>
    26  <body>
    27  
    28  <div id="topbar"><div class="container">
    29  
    30  <form method="GET" action="//golang.org/search">
    31  <div id="menu">
    32  <a href="http://golang.org/doc/">Documents</a>
    33  <a href="http://golang.org/ref">References</a>
    34  <a href="http://golang.org/pkg/">Packages</a>
    35  <a href="http://golang.org/project/">The Project</a>
    36  <a href="http://golang.org/help/">Help</a>
    37  <input type="text" id="search" name="q" class="inactive" value="Search">
    38  </div>
    39  <div id="heading"><a href="/">The Go Programming Language</a></div>
    40  </form>
    41  
    42  </div></div>
    43  
    44  <div id="page">
    45  
    46    <h1>Go talks</h1>
    47  
    48    {{with .Path}}<h2>{{.}}</h2>{{end}}
    49  
    50    {{with .Articles}}
    51    <h4>Articles:</h4>
    52    <dl>
    53    {{range .}}
    54    <dd><a href="/{{.Path}}">{{.Name}}</a>: {{.Title}}</dd>
    55    {{end}}
    56    </dl>
    57    {{end}}
    58  
    59    {{with .Slides}}
    60    <h4>Slide decks:</h4>
    61    <dl>
    62    {{range .}}
    63    <dd><a href="/{{.Path}}">{{.Name}}</a>: {{.Title}}</dd>
    64    {{end}}
    65    </dl>
    66    {{end}}
    67  
    68    {{with .Other}}
    69    <h4>Files:</h4>
    70    <dl>
    71    {{range .}}
    72    <dd><a href="/{{.Path}}">{{.Name}}</a></dd>
    73    {{end}}
    74    </dl>
    75    {{end}}
    76  
    77    {{with .Dirs}}
    78    <h4>Sub-directories:</h4>
    79    <dl>
    80    {{range .}}
    81    <dd><a href="/{{.Path}}">{{.Name}}</a></dd>
    82    {{end}}
    83    </dl>
    84    {{end}}
    85  
    86  </div>
    87  
    88  <div id="footer">
    89  Except as <a href="https://developers.google.com/site-policies#restrictions">noted</a>,
    90  the content of this page is licensed under the
    91  Creative Commons Attribution 3.0 License,
    92  and code is licensed under a <a href="http://golang.org/LICENSE">BSD license</a>.<br>
    93  <a href="http://golang.org/doc/tos.html">Terms of Service</a> |
    94  <a href="http://www.google.com/intl/en/policies/privacy/">Privacy Policy</a>
    95  </div>
    96  
    97  <script>
    98    (function() {
    99      // Load Google Analytics tracking code on production site only.
   100      if (window["location"] && window["location"]["hostname"] == "talks.golang.org") {
   101        var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
   102        ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
   103        var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
   104      }
   105    })();
   106  </script>
   107  </body>
   108  </html>