Enable Multilingual
This commit is contained in:
parent
16e9542711
commit
43d5587f8d
11 changed files with 42 additions and 32 deletions
|
@ -1,5 +1,5 @@
|
|||
<div class="education-container container-block">
|
||||
<h2 class="container-block-title">{{ .Site.Params.education.title }}</h2>
|
||||
<h2 class="container-block-title">{{ i18n "education" }}</h2>
|
||||
{{ range .Site.Params.education.list }}
|
||||
<div class="item">
|
||||
<h4 class="degree">{{ .degree }}</h4>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<section class="section experiences-section">
|
||||
<h2 class="section-title"><i class="fa {{ .Site.Params.experiences.icon }}"></i>{{ .Site.Params.experiences.title }}</h2>
|
||||
<h2 class="section-title"><i class="fa {{ .Site.Params.experiences.icon }}"></i>{{ i18n "experiences" }}</h2>
|
||||
|
||||
{{ range .Site.Params.jobs.list }}
|
||||
<div class="item">
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<title>{{ .Site.Title }}</title>
|
||||
<title>{{ i18n "title" }}</title>
|
||||
<!-- Meta -->
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="{{ with .Site.Params.description }}{{ . }}{{ end }}">
|
||||
<meta name="author" content="{{ with .Site.Params.author }}{{ . }}{{ end }}">
|
||||
<meta name="description" content="{{ i18n "description" }}">
|
||||
<meta name="author" content="{{ i18n "author" }}">
|
||||
<link rel="shortcut icon" href="favicon.ico">
|
||||
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,400italic,300italic,300,500italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
|
||||
<!-- Global CSS -->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="interests-container container-block">
|
||||
<h2 class="container-block-title">{{ .Site.Params.interests.title }}</h2>
|
||||
<h2 class="container-block-title">{{ i18n "interests" }}</h2>
|
||||
<ul class="list-unstyled interests-list">
|
||||
{{ range .Site.Params.interests.list }}
|
||||
<li>{{ .interest }}</li>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<!--[if IE 8]> <html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}" class="ie8"> <![endif]-->
|
||||
<!--[if IE 9]> <html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}" class="ie9"> <![endif]-->
|
||||
<!--[if !IE]><!--> <html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}"> <!--<![endif]-->
|
||||
<!--[if IE 8]> <html lang="{{ .Site.Language }}" class="ie8"> <![endif]-->
|
||||
<!--[if IE 9]> <html lang="{{ .Site.Language }}" class="ie9"> <![endif]-->
|
||||
<!--[if !IE]><!--> <html lang="{{ .Site.Language }}"> <!--<![endif]-->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="languages-container container-block">
|
||||
<h2 class="container-block-title">{{ .Site.Params.languages.title }}</h2>
|
||||
<h2 class="container-block-title">{{ i18n "languages" }}</h2>
|
||||
<ul class="list-unstyled interests-list">
|
||||
{{ range .Site.Params.languages.list }}
|
||||
<li>{{ .language }} <span class="lang-desc">({{ .level }})</span></li>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<section class="section projects-section">
|
||||
<h2 class="section-title"><i class="fa {{ .Site.Params.projects.icon }}"></i>{{ .Site.Params.projects.title }}</h2>
|
||||
<h2 class="section-title"><i class="fa {{ .Site.Params.projects.icon }}"></i>{{ i18n "projects" }}</h2>
|
||||
<div class="intro">
|
||||
<p>{{ with .Site.Params.projects.intro }}{{ . | markdownify }}{{ end }}</p>
|
||||
</div><!--//intro-->
|
||||
|
|
|
@ -1,5 +1,15 @@
|
|||
<div class="sidebar-wrapper">
|
||||
|
||||
{{ if .IsTranslated }}
|
||||
<div class="contact-container container-block">
|
||||
<ul class="list-unstyled contact-list">
|
||||
{{ range .Translations }}
|
||||
<li class="website" style="float: left;"><i class="fa fa-globe"></i><a href="{{ .Permalink }}">{{ .Lang }}</a>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div><!--//contact-container-->
|
||||
{{ end }}
|
||||
|
||||
{{ partial "profile.html" . }}
|
||||
|
||||
{{ if .Site.Params.contact.enable }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<section class="skills-section section">
|
||||
<h2 class="section-title"><i class="fa {{ .Site.Params.skills.icon }}"></i>{{ .Site.Params.skills.title }}</h2>
|
||||
<h2 class="section-title"><i class="fa {{ .Site.Params.skills.icon }}"></i>{{ i18n "skills" }}</h2>
|
||||
<div class="skillset">
|
||||
{{ range .Site.Params.skills.list }}
|
||||
<div class="item">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<section class="section summary-section">
|
||||
<h2 class="section-title"><i class="fa {{ .Site.Params.summary.icon }}"></i>{{ .Site.Params.summary.title }}</h2>
|
||||
<h2 class="section-title"><i class="fa {{ .Site.Params.summary.icon }}"></i>{{ i18n "summary" }}</h2>
|
||||
<div class="summary">
|
||||
<p>{{ with .Site.Params.summary.summary }}{{ . | markdownify }}{{ end }}</p>
|
||||
</div><!--//summary-->
|
||||
|
|
Loading…
Reference in a new issue