Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Improve SEO by separating the name
Browse files Browse the repository at this point in the history
  • Loading branch information
odarriba committed May 10, 2018
1 parent 6d31c4c commit ac2a620
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 28 deletions.
4 changes: 2 additions & 2 deletions README.md
@@ -1,6 +1,6 @@
# ElixirJobs
# Elixir Jobs

ElixirJobs is a job board based in Elixir + Phoenix.
Elixir Jobs is a job board based in Elixir + Phoenix.

## Technologies used

Expand Down
4 changes: 2 additions & 2 deletions assets/static/manifest.json
@@ -1,6 +1,6 @@
{
"name": "ElixirJobs",
"short_name": "ElixirJobs",
"name": "Elixir Jobs",
"short_name": "Elixir Jobs",
"icons": [
{
"src": "/android-chrome-192x192.png",
Expand Down
2 changes: 1 addition & 1 deletion config/dev.exs
Expand Up @@ -51,7 +51,7 @@ config :phoenix, :stacktrace_depth, 20
config :bcrypt_elixir, :log_rounds, 10

config :elixir_jobs, ElixirJobsWeb.Guardian,
issuer: "ElixirJobs",
issuer: "Elixir Jobs",
secret_key: "MY_D3V_K3Y"

config :elixir_jobs, ElixirJobsWeb.Mailer, adapter: Bamboo.LocalAdapter
Expand Down
2 changes: 1 addition & 1 deletion config/prod.exs
Expand Up @@ -34,7 +34,7 @@ config :elixir_jobs, ElixirJobs.Repo,
ssl: true

config :elixir_jobs, ElixirJobsWeb.Guardian,
issuer: "ElixirJobs",
issuer: "Elixi rJobs",
secret_key: System.get_env("GUARDIAN_SECRET_KEY")

config :extwitter, :oauth,
Expand Down
2 changes: 1 addition & 1 deletion config/staging.exs
Expand Up @@ -34,7 +34,7 @@ config :elixir_jobs, ElixirJobs.Repo,
ssl: true

config :elixir_jobs, ElixirJobsWeb.Guardian,
issuer: "ElixirJobs",
issuer: "Elixir Jobs",
secret_key: System.get_env("GUARDIAN_SECRET_KEY")

config :extwitter, :oauth,
Expand Down
7 changes: 3 additions & 4 deletions config/test.exs
Expand Up @@ -13,16 +13,15 @@ config :logger, level: :warn
config :bcrypt_elixir, :log_rounds, 4

config :elixir_jobs, ElixirJobsWeb.Guardian,
issuer: "ElixirJobs",
issuer: "Elixir Jobs",
secret_key: "MY_T3ST_K3Y"

config :elixir_jobs, ElixirJobsWeb.Mailer,
adapter: Bamboo.TestAdapter
config :elixir_jobs, ElixirJobsWeb.Mailer, adapter: Bamboo.TestAdapter

config :bamboo, :refute_timeout, 3

config :elixir_jobs, :default_app_email, "no-reply@elixirjobs.net"
config :elixir_jobs, :analytics_id, ""

#Import custom configuration
# Import custom configuration
import_config "test.secret.exs"
2 changes: 1 addition & 1 deletion lib/elixir_jobs.ex
@@ -1,6 +1,6 @@
defmodule ElixirJobs do
@moduledoc """
ElixirJobs keeps the contexts that define your domain
Elixir Jobs keeps the contexts that define your domain
and business logic.
Contexts are also responsible for managing your data, regardless
Expand Down
2 changes: 1 addition & 1 deletion lib/elixir_jobs_web/email.ex
Expand Up @@ -16,7 +16,7 @@ defmodule ElixirJobsWeb.Email do
for recipient <- recipients do
from
|> put_basic_layouts(recipient)
|> subject(gettext("ElixirJobs - A new job offer was received"))
|> subject(gettext("Elixir Jobs - A new job offer was received"))
|> render("offer_created.text", offer: offer)
|> render("offer_created.html", offer: offer)
|> ElixirJobsWeb.Mailer.deliver_later()
Expand Down
12 changes: 6 additions & 6 deletions lib/elixir_jobs_web/templates/layout/app.html.eex
Expand Up @@ -4,20 +4,20 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><%= SeoHelper.page_title(@conn) %> - <%= gettext("ElixirJobs") %></title>
<title><%= gettext("Elixir Jobs") %> - <%= SeoHelper.page_title(@conn) %></title>
<meta name="description" content="<%= SeoHelper.page_description(@conn) %>">
<meta name="keywords" content="elixir,jobs,community,job,board,phoenix,positions,junior,senior,full time,part time,freelance,contract,publish">
<meta property="og:url" content="<%= current_url(@conn) %>" />
<meta property="og:title" content="<%= SeoHelper.page_title(@conn) %> - <%= gettext("ElixirJobs") %>" />
<meta property="og:title" content="<%= gettext("Elixir Jobs") %> - <%= SeoHelper.page_title(@conn) %>" />
<meta property="og:description" content="<%= SeoHelper.page_description(@conn) %>" />
<meta property="og:image" content="<%= static_url(@conn, "/images/logo.png") %>" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@jobs_elixir" />
<meta name="twitter:title" content="<%= SeoHelper.page_title(@conn) %> - <%= gettext("ElixirJobs") %>" />
<meta name="twitter:title" content="<%= gettext("Elixir Jobs") %> - <%= SeoHelper.page_title(@conn) %>" />
<meta name="twitter:description" content="<%= SeoHelper.page_description(@conn) %>" />
<meta name="twitter:image" content="<%= static_url(@conn, "/images/logo.png") %>" />
<meta name="application-name" content="<%= gettext("ElixirJobs") %>">
<meta name="apple-mobile-web-app-title" content="<%= gettext("ElixirJobs") %>">
<meta name="application-name" content="<%= gettext("Elixir Jobs") %>">
<meta name="apple-mobile-web-app-title" content="<%= gettext("Elixir Jobs") %>">
<meta name="theme-color" content="#ffffff">
<meta name="msapplication-TileColor" content="#5c18bf">
<link rel="apple-touch-icon" sizes="180x180" href="<%= static_path(@conn, "/icons/apple-touch-icon.png") %>">
Expand All @@ -27,7 +27,7 @@
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#5c18bf">
<meta name="theme-color" content="#ffffff">
<link rel="alternate" type="application/rss+xml" title="ElixirJobs - RSS" href="<%= offer_path(@conn, :rss) %>" />
<link rel="alternate" type="application/rss+xml" title="Elixir Jobs - RSS" href="<%= offer_path(@conn, :rss) %>" />
<link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">
</head>
Expand Down
2 changes: 1 addition & 1 deletion lib/elixir_jobs_web/templates/offer/new.html.eex
Expand Up @@ -7,7 +7,7 @@

<p><%= raw gettext("Once you submit your offer, we will review it (just to avoid SPAM or dead links) and, if everything is correct, we will publish it as soon as possible!") %></p>

<p><%= raw gettext("<b>Publishing an offer on ElixirJobs is free</b> and will be also posted to our Twitter account, so feel free of %{follow_link} and retweet your offer when published!",
<p><%= raw gettext("<b>Publishing an offer on Elixir Jobs is free</b> and will be also posted to our Twitter account, so feel free of %{follow_link} and retweet your offer when published!",
follow_link: "<a href=\"https://twitter.com/jobs_elixir\" taget=\"_blank\">#{gettext("follow us")}</a>") %></p>
</div>
<hr />
Expand Down
2 changes: 1 addition & 1 deletion lib/elixir_jobs_web/templates/offer/rss.xml.eex
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><%= gettext("ElixirJobs") %></title>
<title><%= gettext("Elixir Jobs") %></title>
<description><%= gettext "Find your next Elixir job." %></description>
<link><%= offer_url(@conn, :index) %></link>
<%= for offer <- @offers do %>
Expand Down
6 changes: 3 additions & 3 deletions lib/elixir_jobs_web/templates/page/about.html.eex
@@ -1,7 +1,7 @@
<div class="content about">
<h2><%= raw gettext("What is this?") %></h2>

<p><%= raw gettext("ElixirJobs is a site built to help developers to find their next Elixir job, and to help companies to reach the vibrant Elixir community of developers.") %></p>
<p><%= raw gettext("Elixir Jobs is a site built to help developers to find their next Elixir job, and to help companies to reach the vibrant Elixir community of developers.") %></p>

<p><%= raw gettext("Also, our aim is to gain visibility for the Elixir job market, showing potential offers to developers all around the world, and using the tools they like to use.") %></p>

Expand All @@ -15,12 +15,12 @@

<h2><%= raw gettext("Closing thoughts") %></h2>

<p><%= raw gettext("Last but not least, ElixirJobs is a web app written in Elixir + Phoenix running in production (you can check its %{source_code}), so it's also a live example that Elixir and Phoenix are production-ready.",
<p><%= raw gettext("Last but not least, Elixir Jobs is a web app written in Elixir + Phoenix running in production (you can check its %{source_code}), so it's also a live example that Elixir and Phoenix are production-ready.",
source_code: "<a href=\"https://github.com/odarriba/elixir_jobs\" target=\"_blank\">#{gettext("source code")}</a>") %></p>

<h2><%= raw gettext("Sponsors") %></h2>

<p><%= raw gettext("Last but not least, we want to thanks the companies that are helping ElixirJobs:"
<p><%= raw gettext("Last but not least, we want to thanks the companies that are helping Elixir Jobs:"
) %></p>

<nav class="level sponsors">
Expand Down
2 changes: 1 addition & 1 deletion lib/elixir_jobs_web/templates/shared/_hero.html.eex
Expand Up @@ -5,7 +5,7 @@
<%= gettext("Connect with jobs that matter") %>
</h1>
<h2 class="subtitle">
<%= gettext("With ElixirJobs you can find your next Elixir job directly on your feed.") %>
<%= gettext("With Elixir Jobs you can find your next Elixir job directly on your feed.") %>
</h2>
<%= if (show_new_offer_button(@conn)) do %>
<%= link(gettext("Post a job offer!"), to: offer_path(@conn, :new), class: "button new-offer-btn is-primary is-large") %>
Expand Down
2 changes: 1 addition & 1 deletion lib/elixir_jobs_web/templates/shared/_navbar.html.eex
Expand Up @@ -3,7 +3,7 @@
<div class="navbar-brand">
<a class="navbar-item" href="<%= offer_path(@conn, :index) %>">
<%= img_tag static_path(@conn, "/images/logo.svg"), class: "logo" %>
<%= gettext("ElixirJobs") %>
<%= gettext("Elixir Jobs") %>
</a>
<span class="navbar-burger burger" data-target="navbar">
<span></span>
Expand Down
4 changes: 2 additions & 2 deletions lib/elixir_jobs_web/views/seo_helper.ex
Expand Up @@ -9,7 +9,7 @@ defmodule ElixirJobsWeb.SeoHelper do
import Phoenix.Controller, only: [controller_module: 1, action_name: 1]

@default_page_title "Find your next job the right way"
@default_page_description "ElixirJobs helps developers to find their next Elixir job and companies to spread their offers. Use our search engine to find your next dream job."
@default_page_description "Elixir Jobs helps developers to find their next Elixir job and companies to spread their offers. Use our search engine to find your next dream job."

alias ElixirJobs.Offers.Offer
alias ElixirJobsWeb.OfferController
Expand Down Expand Up @@ -76,7 +76,7 @@ defmodule ElixirJobsWeb.SeoHelper do
defp get_page_description(PageController, :about, _),
do:
gettext(
"Built on Elixir + Phoenix, ElixirJobs is a open source project that aims to help Elixir developers to find their next dream job."
"Built on Elixir + Phoenix, Elixir Jobs is a open source project that aims to help Elixir developers to find their next dream job."
)

defp get_page_description(_, _, _), do: gettext(@default_page_description)
Expand Down

0 comments on commit ac2a620

Please sign in to comment.