diff --git a/config.rb b/config.rb index 45fbfbd..6bbf951 100644 --- a/config.rb +++ b/config.rb @@ -37,6 +37,8 @@ # Helpers ### +activate :i18n + # Automatic image dimensions on image_tag helper # activate :automatic_image_sizes @@ -74,4 +76,4 @@ configure :build do # Or use a different image path # set :http_path, "/Content/images/" -end \ No newline at end of file +end diff --git a/locales/en.yml b/locales/en.yml new file mode 100644 index 0000000..0b649a3 --- /dev/null +++ b/locales/en.yml @@ -0,0 +1,4 @@ +--- +en: + developer: "Developer" + download_resume: "Download my resume" diff --git a/locales/fr.yml b/locales/fr.yml new file mode 100644 index 0000000..bf24318 --- /dev/null +++ b/locales/fr.yml @@ -0,0 +1,4 @@ +--- +fr: + developer: "Développeur" + download_resume: "Télecharger mon CV" diff --git a/source/files/CV_Guillaume_DOTT.pdf b/source/files/CV_Guillaume_DOTT.pdf new file mode 100644 index 0000000..27675a7 Binary files /dev/null and b/source/files/CV_Guillaume_DOTT.pdf differ diff --git a/source/images/favicon.png b/source/images/favicon.png new file mode 100644 index 0000000..762aa8e Binary files /dev/null and b/source/images/favicon.png differ diff --git a/source/images/pdf.png b/source/images/pdf.png new file mode 100644 index 0000000..8d496fd Binary files /dev/null and b/source/images/pdf.png differ diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index 365985b..b9f6a1b 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -2,18 +2,37 @@ - + - + - <%= data.page.title || "The Middleman" %> - + <%= data.page.title || "Home" %> | Guillaume DOTT + <%= stylesheet_link_tag "normalize", "all" %> <%= javascript_include_tag "all" %> + <%= favicon_tag 'favicon.png' %> - + +
+
+

Guillaume DOTT

+

<%= I18n.t(:developer) %>

+
+
+ +

+ + <%= I18n.t(:download_resume) %>
+
+

+
+
<%= yield %> - \ No newline at end of file + diff --git a/source/index.html.erb b/source/localizable/index.html.erb similarity index 100% rename from source/index.html.erb rename to source/localizable/index.html.erb diff --git a/source/stylesheets/all.css b/source/stylesheets/all.css.scss similarity index 100% rename from source/stylesheets/all.css rename to source/stylesheets/all.css.scss