Ver código fonte

room_planner content update

andy 3 anos atrás
pai
commit
1efb3f0846

+ 1 - 1
config.toml

@@ -68,7 +68,7 @@ address = "新竹市東區公道五路二段158號11樓之3"
 # meta description
 author = "小寶優居"
 keywords = "小寶優居 | 小寶幽居 | 小寶家居 | 小寶 | ptt 評價 | 小優家居 | 小寶優居裝潢 | 小寶股份有限公司 | 優居 | bhouse  | 小寶文創 | 收費 | 折扣 | 費用 | 台南小寶優居 | 小寶居家 | 台中 | 負評 | 熟成吐司 | 沙發"
-description = "小寶優居 | 用輕裝修、再搭配我們自己設計的家具與模組系統櫃,客製化你的成家預算,規畫你的第一間房。業界首創安心裝修服務,安心裝修、監工服務、履約保證,規劃師服務流程,門市諮詢、到府丈量、風格測驗、生活習慣調查與收納規劃、挑選設計家具與模組系統櫃、空間設計圖繪製、3D/VR設計圖討論、進場施工、施工完成"
+defaultdescription = "Site template made by devcows using hugo"
 # google analytics
 google_analytics_id = "" # Your ID
 # copyright

+ 3 - 0
content/規劃作品集/_index.md

@@ -5,6 +5,9 @@ draft: false
 type: "collection"
 url: "/collection"
 image: ""
+description: "SEO 的全名是「Search Engine Optimization」(搜尋引擎優化),透過瞭解搜尋引擎的演算法來優化自己的網站,本文章帶你從入門到實作階段,讓你完整具備SEO基礎知識,透過技巧獲得更高的流量。"
+
+
 ---
 
 # test

+ 2 - 1
content/規劃師服務/index.md

@@ -3,6 +3,7 @@ title: "規劃師服務"
 date: 2021-02-06T18:14:22+08:00
 draft: false
 url: "/room_planner"
+description: "meta-description test"
 ---
 
 <script src="https://code.jquery.com/jquery-3.6.0.min.js"
@@ -380,7 +381,7 @@ url: "/room_planner"
             <span class="example">「小寶優居,陪你一輩子」</span>
             <ul>
               <li>沙發、床架實木骨架:<span class="break"><br></span>保固 10 年,永久保修。</li>
-              <li>系統櫃、五金:<span class="break"><br></span>保固 10 年,永久保修。</li>
+              <li>系統櫃、五金:<span class="break"><br></span>保固 5 年,永久保修。</li>
               <li>靠墊坐墊泡棉:<span class="break"><br></span>保固 3 年,永久保修。</li>
               <li>實木家具:<span class="break"><br></span>保固 5 年,永久保修。</li>
               <li>裝修:<span class="break"><br></span>保固 1 年,永久保修。</li>

+ 4 - 0
themes/hugo-lamp/layouts/partials/head.html

@@ -3,6 +3,8 @@
 
 <meta name="keywords" content="{{ .Site.Params.keywords }}" />
 <meta name="description" content="{{ .Site.Params.description }}">
+  <!-- {{ $description_test := default .Site.Params.defaultDescription .Description | markdownify | plainify }} -->
+  <!-- <meta name="description" content="{{ $description_test }}"> -->
 
 <!-- Open Graph Protocol -->
 <meta property="og:title" content="{{ .Site.Params.description }}" />
@@ -19,6 +21,8 @@
 <!-- Site & Page Meta Data -->
 {{ if eq .Type "post" }}
   {{ $description := .Description | default .Summary }}
+  <meta name="description" content="{{ $description }}">
+
   <!-- Page Author & Description -->
   <!-- <meta name="author" content="{{ if isset .Params "author" }}{{ .Params.author }}{{ else }}{{ .Site.Params.author }}{{ end }}" /> -->
   <!-- <meta name="description" content="{{ $description | plainify }}"> -->