view globalneighbors/templates/city.html @ 18:87ae70245201

ubuntu wants .conf, redhat wants ini of course
author Jeff Hammel <k0scist@gmail.com>
date Sun, 25 Jun 2017 15:13:29 -0700
parents 21095c9006e5
children 6891c5523b69
line wrap: on
line source

<!DOCTYPE html>
<html>
  <head>
    <title>{{ city.name }}</title>
  </head>
  <body>
    <a href="/"
       title="back to Global Niehgbors">Home</a>

    <h1>{{ city.name }}</h1>

    <!-- give a link to Google maps, for fun -->
    <h2>
      <a href="https://www.google.com/maps/?ll={{city.latitude}},{{city.longitude}}"
         target="_blank"
         title="location">{{city.latitude}},{{city.longitude}}
      </a>
    </h2>

    <dl>
      <dt>Population:</dt>
      <dd>{{ city.population }}</dd>

      <dt>Country:</dt>
      <dd>{{ city['country code'] }}
    </dl>
  </body>
</html>