Activate I18n and start base layout
This commit is contained in:
parent
d73731996c
commit
3a36c0cc3a
@ -37,6 +37,8 @@
|
|||||||
# Helpers
|
# Helpers
|
||||||
###
|
###
|
||||||
|
|
||||||
|
activate :i18n
|
||||||
|
|
||||||
# Automatic image dimensions on image_tag helper
|
# Automatic image dimensions on image_tag helper
|
||||||
# activate :automatic_image_sizes
|
# activate :automatic_image_sizes
|
||||||
|
|
||||||
@ -74,4 +76,4 @@ configure :build do
|
|||||||
|
|
||||||
# Or use a different image path
|
# Or use a different image path
|
||||||
# set :http_path, "/Content/images/"
|
# set :http_path, "/Content/images/"
|
||||||
end
|
end
|
||||||
|
|||||||
4
locales/en.yml
Normal file
4
locales/en.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
en:
|
||||||
|
developer: "Developer"
|
||||||
|
download_resume: "Download my resume"
|
||||||
4
locales/fr.yml
Normal file
4
locales/fr.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
fr:
|
||||||
|
developer: "Développeur"
|
||||||
|
download_resume: "Télecharger mon CV"
|
||||||
BIN
source/files/CV_Guillaume_DOTT.pdf
Normal file
BIN
source/files/CV_Guillaume_DOTT.pdf
Normal file
Binary file not shown.
BIN
source/images/favicon.png
Normal file
BIN
source/images/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 256 B |
BIN
source/images/pdf.png
Normal file
BIN
source/images/pdf.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
@ -2,18 +2,37 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
|
||||||
<!-- Always force latest IE rendering engine or request Chrome Frame -->
|
<!-- Always force latest IE rendering engine or request Chrome Frame -->
|
||||||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
|
||||||
|
|
||||||
<!-- Use title if it's in the page YAML frontmatter -->
|
<!-- Use title if it's in the page YAML frontmatter -->
|
||||||
<title><%= data.page.title || "The Middleman" %></title>
|
<title><%= data.page.title || "Home" %> | Guillaume DOTT</title>
|
||||||
|
|
||||||
<%= stylesheet_link_tag "normalize", "all" %>
|
<%= stylesheet_link_tag "normalize", "all" %>
|
||||||
<%= javascript_include_tag "all" %>
|
<%= javascript_include_tag "all" %>
|
||||||
|
<%= favicon_tag 'favicon.png' %>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="<%= page_classes %>">
|
<body class="<%= page_classes %>">
|
||||||
|
<header>
|
||||||
|
<div>
|
||||||
|
<h1>Guillaume DOTT</h1>
|
||||||
|
<h2><%= I18n.t(:developer) %></h2>
|
||||||
|
</div>
|
||||||
|
<div id="download_cv">
|
||||||
|
<div id="icon">
|
||||||
|
<a href="/files/CV_Guillaume_DOTT.pdf">
|
||||||
|
<%= image_tag 'pdf.png' %>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<p>
|
||||||
|
<a href="/files/CV_Guillaume_DOTT.pdf">
|
||||||
|
<%= I18n.t(:download_resume) %><br />
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user