|
@@ -7,9 +7,9 @@
|
|
|
<!-- Google verification tag -->
|
|
|
<meta name="google-site-verification" content="skDuSC68YDlkfq2GfylRvmzM4WE5RgCKZIV275lKZ1A" />
|
|
|
#if $Extras.has_key('cwop')
|
|
|
- <meta name="description" content="A $station.hardware weather station reporting current weather conditions from $station.location ($Extras.cwop). This web site is powered by WeeWx. ">
|
|
|
+ <meta name="description" content="A $station.hardware weather station reporting current weather conditions from the Century Farm Subdivision in $station.location ($Extras.cwop). This web site is powered by WeeWx. ">
|
|
|
#else
|
|
|
- <meta name="description" content="A $station.hardware weather station reporting current weather conditions from $station.location. This web site is powered by WeeWx. ">
|
|
|
+ <meta name="description" content="A $station.hardware weather station reporting current weather conditions from the Century Farm Subdivision in $station.location. This web site is powered by WeeWx. ">
|
|
|
#end if
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
|
@@ -30,9 +30,9 @@
|
|
|
<meta property="og:url" content="$Extras.web_url"/>
|
|
|
#end if
|
|
|
#if $Extras.has_key('cwop')
|
|
|
- <meta property="og:description" content="A $station.hardware weather station reporting current weather conditions from $station.location ($Extras.cwop). This web site is powered by WeeWx. " />
|
|
|
+ <meta property="og:description" content="A $station.hardware weather station reporting current weather conditions from the Century Farm Subdivision in $station.location ($Extras.cwop). This web site is powered by WeeWx. " />
|
|
|
#else
|
|
|
- <meta property="og:description" content="A $station.hardware weather station reporting current weather conditions from $station.location ($Extras.cwop). This web site is powered by WeeWx. " />
|
|
|
+ <meta property="og:description" content="A $station.hardware weather station reporting current weather conditions from the Century Farm Subdivision in $station.location ($Extras.cwop). This web site is powered by WeeWx. " />
|
|
|
#end if
|
|
|
<meta property="og:type" content="website" />
|
|
|
<!--SM Markups -->
|
|
@@ -46,9 +46,12 @@
|
|
|
<meta itemprop="url" content="$Extras.web_url"/>
|
|
|
#end if
|
|
|
#if $Extras.has_key('cwop')
|
|
|
- <meta itemprop="description" content="A $station.hardware weather station reporting current weather conditions from $station.location ($Extras.cwop). This web site is powered by WeeWx. " />
|
|
|
+ <meta itemprop="description" content="A $station.hardware weather station reporting current weather conditions from the Century Farm Subdivision in $station.location ($Extras.cwop). This web site is powered by WeeWx. " />
|
|
|
#else
|
|
|
- <meta itemprop="description" content="A $station.hardware weather station reporting current weather conditions from $station.location ($Extras.cwop). This web site is powered by WeeWx. " />
|
|
|
+ <meta itemprop="description" content="A $station.hardware weather station reporting current weather conditions from the Century Farm Subdivision in $station.location ($Extras.cwop). This web site is powered by WeeWx. " />
|
|
|
+ #end if
|
|
|
+ #if $Extras.has_key('keywords_meta')
|
|
|
+ <meta name="keywords" content="$Extras.keywords_meta" />
|
|
|
#end if
|
|
|
|
|
|
<!-- FavIcons -->
|
|
@@ -58,11 +61,12 @@
|
|
|
<!-- Styles -->
|
|
|
<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
|
|
|
<link rel="stylesheet" href="css/main.css">
|
|
|
-
|
|
|
+
|
|
|
<!-- Font Awesome Icon links -->
|
|
|
+
|
|
|
<!-- Free license -->
|
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" crossorigin="anonymous">
|
|
|
-
|
|
|
+
|
|
|
<!-- Script -->
|
|
|
<script src="js/modernizr-2.6.2.min.js"></script>
|
|
|
<script src="js/checkdiff.js"></script>
|
|
@@ -111,6 +115,9 @@
|
|
|
<li><a href="summary.html" >Summaries</a></li>
|
|
|
<li><a href="about.html" >About</a></li>
|
|
|
<li><a href="RSS/weewx_rss.xml" ><i class="fas fa-rss" ></i></a></li>
|
|
|
+ #if $Extras.has_key('twitter_url')
|
|
|
+ <li><a href=$Extras.twitter_url><i class="fab fa-twitter" ></i></a></li>
|
|
|
+ #end if
|
|
|
</ul>
|
|
|
</nav>
|
|
|
</div>
|
|
@@ -217,28 +224,26 @@
|
|
|
<td>$current.radiation</td>
|
|
|
</tr>
|
|
|
#end if
|
|
|
- #if $day.lux.has_data
|
|
|
+ #if $day.illuminance.has_data
|
|
|
<tr>
|
|
|
<td>Brightness</td>
|
|
|
- <td>$current.lux</td>
|
|
|
+ <td>$current.illuminance</td>
|
|
|
</tr>
|
|
|
#end if
|
|
|
- <!--
|
|
|
- #if $day.lightningStrikes.has_data
|
|
|
+ #if $day.lightning_strike_count.has_data
|
|
|
<tr>
|
|
|
<td>Lightning Strikes</td>
|
|
|
- <td>$current.lightningStrikes</td>
|
|
|
+ <td>$current.lightning_strike_count</td>
|
|
|
</tr>
|
|
|
- <tr>
|
|
|
+ <tr>
|
|
|
<td>Average Strike Distance</td>
|
|
|
- <td>$current.lightningAvgDistance</td>
|
|
|
+ <td>$current.lightning_avg_distance</td>
|
|
|
</tr>
|
|
|
#end if
|
|
|
- -->
|
|
|
</table>
|
|
|
</div>
|
|
|
<div class="card" >
|
|
|
- <h1><i class="fas fa-moon m-grau" ></i> Since Midnight</h1>
|
|
|
+ <h1><i class="far fa-moon m-grau" ></i> Since Midnight</h1>
|
|
|
<table class="tablespacer">
|
|
|
<tr>
|
|
|
<td>High Temperature</td>
|
|
@@ -325,7 +330,7 @@
|
|
|
<td>$day.wind.vecdir</td>
|
|
|
<td></td>
|
|
|
</tr>
|
|
|
- #if $day.inTemp.has_data
|
|
|
+ #if $day.inTemp.has_data
|
|
|
<tr>
|
|
|
<td>High Inside Temperature</td>
|
|
|
<td>$day.inTemp.max</td>
|
|
@@ -336,8 +341,8 @@
|
|
|
<td>$day.inTemp.min</td>
|
|
|
<td>$day.inTemp.mintime</td>
|
|
|
</tr>
|
|
|
- #end if
|
|
|
- #if $day.inHumidity.has_data
|
|
|
+ #end if
|
|
|
+ #if $day.inHumidity.has_data
|
|
|
<tr>
|
|
|
<td>High Inside Humidity</td>
|
|
|
<td>$day.inHumidity.max</td>
|
|
@@ -348,7 +353,7 @@
|
|
|
<td>$day.inHumidity.min</td>
|
|
|
<td>$day.inHumidity.mintime</td>
|
|
|
</tr>
|
|
|
- #end if
|
|
|
+ #end if
|
|
|
#if $day.extraTemp1.has_data
|
|
|
<tr>
|
|
|
<td>High Pond Temp</td>
|
|
@@ -387,27 +392,25 @@
|
|
|
<td>$day.radiation.maxtime</td>
|
|
|
</tr>
|
|
|
#end if
|
|
|
- #if $day.lux.has_data
|
|
|
+ #if $day.illuminance.has_data
|
|
|
<tr>
|
|
|
<td>High Brightness</td>
|
|
|
- <td>$day.lux.max</td>
|
|
|
- <td>$day.lux.maxtime</td>
|
|
|
+ <td>$day.illuminance.max</td>
|
|
|
+ <td>$day.illuminance.maxtime</td>
|
|
|
</tr>
|
|
|
#end if
|
|
|
- <!--
|
|
|
- #if $day.lightningStrikes.has_data
|
|
|
+ #if $day.lightning_strike_count.has_data
|
|
|
<tr>
|
|
|
<td>Lightning Strikes</td>
|
|
|
- <td>$day.lightningStrikes.sum</td>
|
|
|
+ <td>$day.lightning_strike_count.sum</td>
|
|
|
<td></td>
|
|
|
</tr>
|
|
|
- <tr>
|
|
|
+ <tr>
|
|
|
<td>Average Strike Distance</td>
|
|
|
- <td>$day.lightningAvgDistance.avg</td>
|
|
|
- <td></td>
|
|
|
+ <td>$day.lightning_avg_distance.avg</td>
|
|
|
+ <td></td>
|
|
|
</tr>
|
|
|
#end if
|
|
|
- -->
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
@@ -419,20 +422,20 @@
|
|
|
#if $day.dateTime.format("%d-%b") == '29-Feb'
|
|
|
#set $n = 1461
|
|
|
#else if $day.dateTime.format("%d-%b") >= '01-Mar'
|
|
|
- #set $n = 366
|
|
|
+ #set $n = 367
|
|
|
#else
|
|
|
- #set $n = 365
|
|
|
+ #set $n = 366
|
|
|
#end if
|
|
|
#else
|
|
|
- #set $n = 365
|
|
|
+ #set $n = 366
|
|
|
#end if
|
|
|
#else
|
|
|
#if $day.dateTime.format("%d-%b") == '29-Feb'
|
|
|
#set $n = 1461
|
|
|
#else if $day.dateTime.format("%d-%b") >= '01-Mar'
|
|
|
- #set $n = 366
|
|
|
+ #set $n = 367
|
|
|
#else
|
|
|
- #set $n = 365
|
|
|
+ #set $n = 366
|
|
|
#end if
|
|
|
#end if
|
|
|
#else
|
|
@@ -440,13 +443,13 @@
|
|
|
#if $yrNew % 100 == 0
|
|
|
#if $yrNew % 400 == 0
|
|
|
#if $day.dateTime.format("%d-%b") < '01-Mar'
|
|
|
- #set $n = 366
|
|
|
+ #set $n = 367
|
|
|
#else
|
|
|
- #set $n = 365
|
|
|
+ #set $n = 366
|
|
|
#end if
|
|
|
#end if
|
|
|
#else
|
|
|
- #set $n = 365
|
|
|
+ #set $n = 366
|
|
|
#end if
|
|
|
#end if
|
|
|
#if $days_ago($days_ago=$n).outTemp.max.string != " N/A"
|
|
@@ -508,7 +511,7 @@
|
|
|
<td>$days_ago($days_ago=$n).wind.max <br> $days_ago($days_ago=$n).wind.gustdir</td>
|
|
|
<td>$days_ago($days_ago=$n).wind.maxtime</td>
|
|
|
</tr>
|
|
|
- #if $days_ago($days_ago=$n).inTemp.has_data
|
|
|
+ #if $days_ago($days_ago=$n).inTemp.has_data
|
|
|
<tr>
|
|
|
<td>High Inside Temperature</td>
|
|
|
<td>$days_ago($days_ago=$n).inTemp.max</td>
|
|
@@ -519,8 +522,8 @@
|
|
|
<td>$days_ago($days_ago=$n).inTemp.min</td>
|
|
|
<td>$days_ago($days_ago=$n).inTemp.mintime</td>
|
|
|
</tr>
|
|
|
- #end if
|
|
|
- #if $days_ago($days_ago=$n).inHumidity.has_data
|
|
|
+ #end if
|
|
|
+ #if $days_ago($days_ago=$n).inHumidity.has_data
|
|
|
<tr>
|
|
|
<td>High Inside Humidity</td>
|
|
|
<td>$days_ago($days_ago=$n).inHumidity.max</td>
|
|
@@ -531,7 +534,7 @@
|
|
|
<td>$days_ago($days_ago=$n).inHumidity.min</td>
|
|
|
<td>$days_ago($days_ago=$n).inHumidity.mintime</td>
|
|
|
</tr>
|
|
|
- #end if
|
|
|
+ #end if
|
|
|
#if $days_ago($days_ago=$n).extraTemp1.has_data
|
|
|
<tr>
|
|
|
<td>High Pond Temp</td>
|
|
@@ -570,16 +573,23 @@
|
|
|
<td>$days_ago($days_ago=$n).radiation.maxtime</td>
|
|
|
</tr>
|
|
|
#end if
|
|
|
- #if $days_ago($days_ago=$n).lux.has_data
|
|
|
+ #if $days_ago($days_ago=$n).illuminance.has_data
|
|
|
<tr>
|
|
|
<td>High Brightness</td>
|
|
|
- <td>$days_ago($days_ago=$n).lux.max</td>
|
|
|
- <td>$days_ago($days_ago=$n).lux.maxtime</td>
|
|
|
+ <td>$days_ago($days_ago=$n).illuminance.max</td>
|
|
|
+ <td>$days_ago($days_ago=$n).illuminance.maxtime</td>
|
|
|
+ </tr>
|
|
|
+ #end if
|
|
|
+ #if $days_ago($days_ago=$n).lightning_strike_count.has_data
|
|
|
+ <tr>
|
|
|
+ <td>Lightning Strikes</td>
|
|
|
+ <td>$days_ago($days_ago=$n).lightning_strike_count.sum</td>
|
|
|
+ <td></td>
|
|
|
</tr>
|
|
|
#end if
|
|
|
</table>
|
|
|
</div>
|
|
|
- #end if
|
|
|
+ #end if
|
|
|
#if $Extras.has_key('radar')
|
|
|
<div class="card" >
|
|
|
<h1><i class="fab fa-react m-rot"></i> Radar</h1>
|
|
@@ -609,6 +619,7 @@
|
|
|
#for $i in $Extras.camera
|
|
|
<div class="mySlides"><b>$Extras.cameratitle[$b]</b><br>
|
|
|
<img src="$i" alt="camera $b" style="width:100%">
|
|
|
+ <meta name="description" content="A webcam located at $Extras.cameratitle[$b]">
|
|
|
</div>
|
|
|
#set $b=$b+1
|
|
|
#end for
|
|
@@ -808,9 +819,9 @@
|
|
|
<img src="daywinddir.png" alt="Hi Wind" />
|
|
|
<img src="daywindvec.png" alt="Wind Vector" />
|
|
|
<img src="daybarometer.png" alt="barometer"/>
|
|
|
- #if $day.inTemp.has_data
|
|
|
+ #if $day.inTemp.has_data
|
|
|
<img src="dayinside.png" alt="Inside" />
|
|
|
- #end if
|
|
|
+ #end if
|
|
|
<img src="dayinhumid.png" alt="Inside/Outside Humidity" />
|
|
|
#if $day.radiation.has_data
|
|
|
<img src="dayradiation.png" alt="Radiation" />
|
|
@@ -821,12 +832,10 @@
|
|
|
#if $day.rxCheckPercent.has_data
|
|
|
<img src="dayrx.png" alt="day rx percent"/>
|
|
|
#end if
|
|
|
- <!--
|
|
|
- #if $day.lightningStrikes.has_data
|
|
|
+ #if $day.lightning_strike_count.has_data
|
|
|
<img src="daylightning.png" alt="Lightning" />
|
|
|
- #end if
|
|
|
- -->
|
|
|
- #if $day.windBatteryStatus.has_data and $day.outTempBatteryStatus.has_data
|
|
|
+ #end if
|
|
|
+ #if $day.windBatteryStatus.has_data and $day.outTempBatteryStatus.has_data
|
|
|
<img src="daybattery.png" alt="day battery"/>
|
|
|
#end if
|
|
|
#if $day.extraTemp1.has_data
|
|
@@ -854,15 +863,13 @@
|
|
|
</div>
|
|
|
</footer>
|
|
|
#if $Extras.has_key('googleAnalyticsId')
|
|
|
- <!-- Google Analytics -->
|
|
|
+ <!-- Global site tag (gtag.js) - Google Analytics -->
|
|
|
+ <script async src="https://www.googletagmanager.com/gtag/js?id=$Extras.googleAnalyticsId"></script>
|
|
|
<script>
|
|
|
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
|
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
|
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
|
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
-
|
|
|
- ga('create', '$Extras.googleAnalyticsId', 'auto');
|
|
|
- ga('send', 'pageview');
|
|
|
+ window.dataLayer = window.dataLayer || [];
|
|
|
+ function gtag(){dataLayer.push(arguments);}
|
|
|
+ gtag('js', new Date());
|
|
|
+ gtag('config', '$Extras.googleAnalyticsId');
|
|
|
</script>
|
|
|
#end if
|
|
|
<!-- Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon -->
|