Skip to content

Commit

Permalink
Merge pull request mmistakes#95 from gebeto/master
Browse files Browse the repository at this point in the history
Add SEO and 'lang' param for `_config`
  • Loading branch information
pmarsceill authored May 1, 2019
2 parents c83bdf8 + 92fb6d1 commit f9e03e1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ color_scheme: nil
# Google Analytics Tracking (optional)
# e.g, UA-1234567-89
ga_tracking: UA-2709176-10

plugins:
- jekyll-seo-tag
2 changes: 2 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@
<script type="text/javascript" src="{{ "/assets/js/just-the-docs.js" | absolute_url }}"></script>

<meta name="viewport" content="width=device-width, initial-scale=1">

{% seo %}
</head>
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>

<html lang="en-us">
<html lang="{{ site.lang | default: "en-US" }}">
{% include head.html %}
<body>

Expand Down
3 changes: 2 additions & 1 deletion just-the-docs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "just-the-docs"
spec.version = "0.2.3"
spec.version = "0.2.4"
spec.authors = ["Patrick Marsceill"]
spec.email = ["patrick.marsceill@gmail.com"]

Expand All @@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
spec.executables << 'just-the-docs'

spec.add_runtime_dependency "jekyll", "~> 3.8.5"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.0"
spec.add_runtime_dependency "rake", "~> 12.3.1"

spec.add_development_dependency "bundler", "~> 2.0.1"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "just-the-docs",
"version": "0.2.3",
"version": "0.2.4",
"description": "A modern Jekyll theme for documentation",
"repository": "pmarsceill/just-the-docs",
"license": "MIT",
Expand Down

0 comments on commit f9e03e1

Please sign in to comment.