瀏覽代碼

Update text.php.tmpl

Fixed a few bugs with itemprop tag.
Josh Smith 8 年之前
父節點
當前提交
aa9d0ebb96
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      text.php.tmpl

+ 2 - 3
text.php.tmpl

@@ -33,10 +33,10 @@ if (\$count == 4){
         <meta name="viewport" content="width=device-width, initial-scale=1">
         <link rel="profile" href="http://gmpg.org/xfn/11" />
 	#if $Extras.has_key('web_url')
-	<link rel="canonical" href="$Extras.web_url/summary.html" itemprop="name"/>
+	<link rel="canonical" href="$Extras.web_url/summary.html" itemprop="url"/>
 	#end if   
 <?php        
-        echo"<title itemprop="name">Northwest Meridian, Idaho $Extras.cwop Climate Summary for \$title </title>";
+        echo"<title>\$station.location (\$Extras.cwop) Climate Summary for \$title </title>";
 ?>
         <!-- Open Graph -->
         <meta property="og:site_name" content="$station.location Summaries and Records" />
@@ -104,7 +104,6 @@ if (\$count == 4){
 	    <div class="card" id="tablefix">
 
 <?php
-		//\$myreportname = "NOAA/".\$report;
 
     		if(file_exists(\$report)){
 			echo "<p>";