Browse Source

Add SEO tags to all pages

Tyler Hallada 6 years ago
parent
commit
7fb07fa372
4 changed files with 24 additions and 2 deletions
  1. 19 1
      _config.yml
  2. 2 0
      _layouts/default.html
  3. 2 0
      _layouts/home.html
  4. 1 1
      feed.xml

+ 19 - 1
_config.yml

1
+title: Tyler Hallada
1
 name: Tyler Hallada - Blog
2
 name: Tyler Hallada - Blog
2
 description: Musings on technology, literature, and interesting topics
3
 description: Musings on technology, literature, and interesting topics
3
-url: http://hallada.net/blog
4
+author: thallada
5
+url: http://www.hallada.net/
6
+blog_url: http://www.hallada.net/blog
4
 assets: http://hallada.net/assets/
7
 assets: http://hallada.net/assets/
8
+logo: /img/profile_icon_128x128.jpg
9
+social:
10
+    name: Tyler Hallada
11
+    links:
12
+        - https://twitter.com/tyhallada
13
+        - https://www.facebook.com/tyhallada
14
+        - https://www.linkedin.com/in/thallada/
15
+        - https://github.com/thallada
16
+defaults:
17
+    -
18
+        scope:
19
+            path: ""
20
+        values:
21
+            image: /img/profile_icon_128x128.jpg
5
 markdown: kramdown
22
 markdown: kramdown
6
 kramdown:
23
 kramdown:
7
     syntax_highlighter: rouge
24
     syntax_highlighter: rouge
10
 gems:
27
 gems:
11
     - jekyll-redirect-from
28
     - jekyll-redirect-from
12
     - jekyll-paginate
29
     - jekyll-paginate
30
+    - jekyll-seo-tag
13
 include: [".well-known"]
31
 include: [".well-known"]

+ 2 - 0
_layouts/default.html

41
 
41
 
42
     </script>
42
     </script>
43
     <!-- End Google Analytics -->
43
     <!-- End Google Analytics -->
44
+
45
+    {% seo %}
44
   </head>
46
   </head>
45
   <body>
47
   <body>
46
     <div class="container">
48
     <div class="container">

+ 2 - 0
_layouts/home.html

48
 
48
 
49
     </script>
49
     </script>
50
     <!-- End Google Analytics -->
50
     <!-- End Google Analytics -->
51
+
52
+    {% seo %}
51
   </head>
53
   </head>
52
   <body>
54
   <body>
53
   <canvas id="magic"></canvas>
55
   <canvas id="magic"></canvas>

+ 1 - 1
feed.xml

6
 	<channel>
6
 	<channel>
7
 		<title>{{ site.name | xml_escape }}</title>
7
 		<title>{{ site.name | xml_escape }}</title>
8
 		<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>		
8
 		<description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>		
9
-		<link>{{ site.url }}</link>
9
+		<link>{{ site.blog_url }}</link>
10
 		<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
10
 		<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
11
 		{% for post in site.posts limit:10 %}
11
 		{% for post in site.posts limit:10 %}
12
             {% if post.hidden == null or post.hidden == false %}
12
             {% if post.hidden == null or post.hidden == false %}