💥 first commit
27
LICENSE
@ -1,21 +1,20 @@
|
||||
MIT License
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Hadi Sinaee
|
||||
Copyright (c) 2019 YOUR_NAME_HERE
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
173
README.md
@ -1,2 +1,171 @@
|
||||
# avicenna
|
||||
minimal academic page for students
|
||||
# Avicenna Theme
|
||||
A minimal academic page for academics built with Hugo.
|
||||
|
||||
> This theme hugely benefits from `Ezhil Theme`. I just made some changes to create `avicenna`.
|
||||
|
||||
<!-- # Demo -->
|
||||
<!-- [View demo](https://ezhil-hugo.netlify.com/) -->
|
||||
|
||||
<!--  -->
|
||||
|
||||
# Features
|
||||
* Minimal, Responsive, and Clean
|
||||
* Single File Configuration
|
||||
* Supports Social Links
|
||||
* Supports Publication Listing
|
||||
* Supports Project Listing
|
||||
* Supports Google Analytics
|
||||
* Supports Hugo RSS feeds
|
||||
|
||||
# How To Install `Avicenna`?
|
||||
> I assume that you know to start with `Hugo`. If you do not know how to run a website with `Hugo`, please read its [quick start](https://gohugo.io/getting-started/quick-start/).
|
||||
|
||||
```bash
|
||||
cd themes
|
||||
git clone https://github.com/hadisinaee/avicenna.git
|
||||
```
|
||||
|
||||
# Sample Configuration
|
||||
```toml
|
||||
# your page address
|
||||
baseURL = "https://example.edu"
|
||||
languageCode = "en-us"
|
||||
title = "Your Name"
|
||||
theme = "avicenna"
|
||||
googleAnalytics = "UA-1234-6"
|
||||
timeout=3000
|
||||
|
||||
[params]
|
||||
# your profile picture should be under "static" folder
|
||||
profile_image="YourProfileImage.jpg"
|
||||
subtitle= "PhD Student"
|
||||
interests="Deep Reinforcement Learning, Machine Learning "
|
||||
# your cv file should be under "static" folder
|
||||
cv_name= "YourCVNameFile.pdf"
|
||||
blog="http://myblog.edu"
|
||||
|
||||
[[params.affilation]]
|
||||
name = "Stanford University"
|
||||
position = "PhD Student"
|
||||
contact = "hadi@cs.stanford.edu"
|
||||
|
||||
[[params.affilation]]
|
||||
name = "MyCoolStartup"
|
||||
position = "Co-Founder"
|
||||
contact = "hadi@mycoolstartup.ai"
|
||||
|
||||
[[params.social]]
|
||||
name = "GitHub"
|
||||
icon = "github"
|
||||
url = "https://github.com/hadisinaee"
|
||||
|
||||
[[params.social]]
|
||||
name = "Twitter"
|
||||
icon = "twitter"
|
||||
url = "https://twitter.com/hadisinaee"
|
||||
|
||||
|
||||
[[params.social]]
|
||||
name = "LinkedIn"
|
||||
icon = "linkedin"
|
||||
url = "https://linkedin.com/in/hadisinaee/"
|
||||
|
||||
[[params.introduction.paragraph]]
|
||||
text="""Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
Nunc scelerisque viverra mauris in aliquam sem fringilla ut morbi. Integer feugiat scelerisque varius morbi enim.
|
||||
A diam maecenas sed enim ut sem viverra. Orci eu lobortis elementum nibh tellus.
|
||||
Egestas sed sed risus pretium quam vulputate dignissim suspendisse in.
|
||||
Accumsan sit amet nulla facilisi morbi tempus iaculis urna. Condimentum lacinia quis vel eros donec.
|
||||
"""
|
||||
[[params.introduction.paragraph]]
|
||||
text=""" Pellentesque nec nam aliquam sem et tortor consequat id porta.
|
||||
Viverra suspendisse potenti nullam ac. Leo vel orci porta non pulvinar neque laoreet.
|
||||
Nulla facilisi nullam vehicula ipsum a arcu. Tempus egestas sed sed risus pretium quam vulputate dignissim suspendisse.
|
||||
Ullamcorper velit sed ullamcorper morbi tincidunt ornare. Dui sapien eget mi proin sed libero.
|
||||
Quam pellentesque nec nam aliquam sem et tortor consequat id. Aliquet lectus proin nibh nisl.
|
||||
"""
|
||||
|
||||
|
||||
[[params.projects]]
|
||||
[[params.projects.project]]
|
||||
name = "my first cool project title"
|
||||
description = "Enim facilisis gravida neque convallis a. Suspendisse potenti nullam ac tortor vitae purus faucibus ornare suspendisse.Velit egestas dui id ornare arcu odio ut sem. Nec nam aliquam sem et tortor. In nisl nisi scelerisque eu ultrices vitae auctor."
|
||||
project_page = "https://myprojecthomepage.com"
|
||||
code_link = "https://coderepo.com"
|
||||
blog_link = "https://ablogpost.com"
|
||||
|
||||
[[params.projects.project]]
|
||||
name = "my second cool project title"
|
||||
description = ""
|
||||
project_page = "https://myprojecthomepage.com"
|
||||
code_link = "https://coderepo.com"
|
||||
blog_link = ""
|
||||
|
||||
[[params.projects.project]]
|
||||
name = "my third cool project title"
|
||||
description = ""
|
||||
project_page = "https://myprojecthomepage.com"
|
||||
code_link = ""
|
||||
blog_link = "https://ablogpost.com"
|
||||
|
||||
[[params.publications]]
|
||||
year="Preprint"
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "My Publication Title 1"
|
||||
authors = "Author 1, Author 2, __ME__"
|
||||
dest = "Journal/Conference"
|
||||
link = "https://mypaperishere.com"
|
||||
code_link = "https://thecoderepo.com"
|
||||
blog_link = "https://myblogaboutit.com"
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "My Publication Title 2"
|
||||
authors = "__ME__, Author 1, Author 2"
|
||||
dest = "Journal/Conference"
|
||||
link = "https://mypaperishere.com"
|
||||
code_link = "https://thecoderepo.com"
|
||||
blog_link = "https://myblogaboutit.com"
|
||||
|
||||
[[params.publications]]
|
||||
year="2019"
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "My Publication Title 1"
|
||||
authors = "Author 1, __ME__ Author 2"
|
||||
dest = "Journal/Conference"
|
||||
link = "https://mypaperishere.com"
|
||||
code_link = "https://thecoderepo.com"
|
||||
blog_link = ""
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "My Publication Title 2"
|
||||
authors = "Author 1, __ME__ "
|
||||
dest = "Journal/Conference"
|
||||
link = "https://mypaperishere.com"
|
||||
code_link = ""
|
||||
blog_link = "https://myblogaboutit.com"
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "My Publication Title 3"
|
||||
authors = "__ME__, Author 1 "
|
||||
dest = "Journal/Conference"
|
||||
link = "https://mypaperishere.com"
|
||||
code_link = ""
|
||||
blog_link = ""
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "My Publication Title 4"
|
||||
authors = "__ME__"
|
||||
dest = "Journal/Conference"
|
||||
link = ""
|
||||
code_link = ""
|
||||
blog_link = ""
|
||||
```
|
||||
|
||||
# Any Idea?
|
||||
I am using `avicenna` for my personal uses. Therefore, I will update it regularly. If you need something that doesn't exists, let's discuss it over an issue :)
|
||||
|
||||
# Credits
|
||||
* [Ezhil Theme](https://github.com/vividvilla/ezhil)
|
||||
* [Feather Icons](https://feathericons.com/)
|
||||
|
2
archetypes/default.md
Normal file
@ -0,0 +1,2 @@
|
||||
+++
|
||||
+++
|
132
exampleSite/config.toml
Normal file
@ -0,0 +1,132 @@
|
||||
baseURL = "https://example.edu"
|
||||
languageCode = "en-us"
|
||||
title = "Hadi Sinaee"
|
||||
theme = "avicenna"
|
||||
googleAnalytics = "UA-1234-6"
|
||||
timeout=3000
|
||||
|
||||
[params]
|
||||
profile_image="profile_bw.jpg"
|
||||
subtitle= "PhD Student"
|
||||
interests="Deep Reinforcement Learning, Machine Learning "
|
||||
cv_name= "HadiSinaee_CV.pdf"
|
||||
blog="http://myblog.edu"
|
||||
|
||||
[[params.affilation]]
|
||||
name = "Stanford University"
|
||||
position = "PhD Student"
|
||||
contact = "hadi@cs.stanford.edu"
|
||||
|
||||
[[params.affilation]]
|
||||
name = "MyCoolStartup"
|
||||
position = "Co-Founder"
|
||||
contact = "hadi@mycoolstartup.ai"
|
||||
|
||||
[[params.social]]
|
||||
name = "GitHub"
|
||||
icon = "github"
|
||||
url = "https://github.com/hadisinaee"
|
||||
|
||||
[[params.social]]
|
||||
name = "Twitter"
|
||||
icon = "twitter"
|
||||
url = "https://twitter.com/hadisinaee"
|
||||
|
||||
|
||||
[[params.social]]
|
||||
name = "LinkedIn"
|
||||
icon = "linkedin"
|
||||
url = "https://linkedin.com/in/hadisinaee/"
|
||||
|
||||
|
||||
[[params.introduction.paragraph]]
|
||||
text="""Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
Nunc scelerisque viverra mauris in aliquam sem fringilla ut morbi. Integer feugiat scelerisque varius morbi enim.
|
||||
A diam maecenas sed enim ut sem viverra. Orci eu lobortis elementum nibh tellus.
|
||||
Egestas sed sed risus pretium quam vulputate dignissim suspendisse in.
|
||||
Accumsan sit amet nulla facilisi morbi tempus iaculis urna. Condimentum lacinia quis vel eros donec.
|
||||
"""
|
||||
[[params.introduction.paragraph]]
|
||||
text=""" Pellentesque nec nam aliquam sem et tortor consequat id porta.
|
||||
Viverra suspendisse potenti nullam ac. Leo vel orci porta non pulvinar neque laoreet.
|
||||
Nulla facilisi nullam vehicula ipsum a arcu. Tempus egestas sed sed risus pretium quam vulputate dignissim suspendisse.
|
||||
Ullamcorper velit sed ullamcorper morbi tincidunt ornare. Dui sapien eget mi proin sed libero.
|
||||
Quam pellentesque nec nam aliquam sem et tortor consequat id. Aliquet lectus proin nibh nisl.
|
||||
"""
|
||||
|
||||
|
||||
[[params.projects]]
|
||||
[[params.projects.project]]
|
||||
name = "Velit egestas dui id ornare arcu odio ut sem. Nec nam aliquam sem et tortor"
|
||||
description = "Enim facilisis gravida neque convallis a. Suspendisse potenti nullam ac tortor vitae purus faucibus ornare suspendisse.Velit egestas dui id ornare arcu odio ut sem. Nec nam aliquam sem et tortor. In nisl nisi scelerisque eu ultrices vitae auctor."
|
||||
project_page = "https://myprojecthomepage.com"
|
||||
code_link = "https://coderepo.com"
|
||||
blog_link = "https://ablogpost.com"
|
||||
|
||||
[[params.projects.project]]
|
||||
name = "In nisl nisi scelerisque eu ultrices vitae auctor"
|
||||
description = ""
|
||||
project_page = "https://myprojecthomepage.com"
|
||||
code_link = "https://coderepo.com"
|
||||
blog_link = ""
|
||||
|
||||
[[params.projects.project]]
|
||||
name = "Integer eget aliquet nibh praesent tristique magna"
|
||||
description = ""
|
||||
project_page = "https://myprojecthomepage.com"
|
||||
code_link = ""
|
||||
blog_link = "https://ablogpost.com"
|
||||
|
||||
[[params.publications]]
|
||||
year="Preprint"
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "Enim nunc faucibus a pellentesque sit amet porttitor"
|
||||
authors = "Ana Alvardo, William Worthley, __Hadi Sinaee__"
|
||||
dest = "Helga Zita Journal"
|
||||
link = "https://mypaperishere.com"
|
||||
code_link = "https://thecoderepo.com"
|
||||
blog_link = "https://myblogaboutit.com"
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "In cursus turpis massa tincidunt dui ut ornare lectus sit"
|
||||
authors = "__Hadi Sinaee__,Les Larkins, Edra Ethier"
|
||||
dest = "Meklit Katlego Conference"
|
||||
link = "https://mypaperishere.com"
|
||||
code_link = "https://thecoderepo.com"
|
||||
blog_link = "https://myblogaboutit.com"
|
||||
|
||||
[[params.publications]]
|
||||
year="2019"
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "Feugiat sed lectus vestibulum mattis ullamcorper velit sed"
|
||||
authors = "Caroll Comes, __Hadi Sinaee__"
|
||||
dest = "Udo Madhu Journal"
|
||||
link = "https://mypaperishere.com"
|
||||
code_link = "https://thecoderepo.com"
|
||||
blog_link = ""
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "Venenatis urna cursus eget nunc. Nam aliquam sem et tortor consequat id porta nibh venenatis"
|
||||
authors = "Les Larkins, Ana Alvardo, __Hadi Sinaee__ "
|
||||
dest = "Zorka Vita Conference"
|
||||
link = "https://mypaperishere.com"
|
||||
code_link = ""
|
||||
blog_link = "https://myblogaboutit.com"
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "Aliquet eget sit amet tellus cras adipiscing enim eu turpis"
|
||||
authors = "Les Larkins, __Hadi Sinaee__, Ana Alvardo"
|
||||
dest = "Lena Randa Conference"
|
||||
link = "https://mypaperishere.com"
|
||||
code_link = ""
|
||||
blog_link = ""
|
||||
|
||||
[[params.publications.paper]]
|
||||
name = "Orci eu lobortis elementum nibh tellus molestie nunc non blandit"
|
||||
authors = "__Hadi Sinaee__, Caroll Comes"
|
||||
dest = "Thandeka Radhika Conference"
|
||||
link = ""
|
||||
code_link = ""
|
||||
blog_link = ""
|
BIN
exampleSite/static/HadiSinaee_CV.pdf
Normal file
BIN
exampleSite/static/android-chrome-192x192.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
exampleSite/static/android-chrome-512x512.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
exampleSite/static/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
exampleSite/static/favicon-16x16.png
Normal file
After Width: | Height: | Size: 371 B |
BIN
exampleSite/static/favicon-32x32.png
Normal file
After Width: | Height: | Size: 643 B |
BIN
exampleSite/static/favicon.ico
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
exampleSite/static/profile_bw.jpg
Normal file
After Width: | Height: | Size: 33 KiB |
0
layouts/404.html
Normal file
11
layouts/_default/baseof.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
0
layouts/_default/list.html
Normal file
0
layouts/_default/single.html
Normal file
16
layouts/index.html
Normal file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<body>
|
||||
<div class="container wrapper">
|
||||
{{ partial "head.html" . }}
|
||||
{{ partial "introduction.html" . }}
|
||||
{{ partial "projects.html" . }}
|
||||
{{ partial "publications.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
|
||||
</html>
|
13
layouts/partials/footer.html
Normal file
@ -0,0 +1,13 @@
|
||||
<div class="footer wrapper">
|
||||
<nav class="nav">
|
||||
<div>Avicenna Theme | Built with <a href="https://gohugo.io">Hugo</a></div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{- with .Site.Params.Social -}}
|
||||
<script>
|
||||
feather.replace()
|
||||
|
||||
</script>
|
||||
{{- end -}}
|
45
layouts/partials/head.html
Normal file
@ -0,0 +1,45 @@
|
||||
<div class="header">
|
||||
<img src="{{ .Site.Params.profile_image }}" class="profile_image">
|
||||
<h1 class="site-title">{{ .Site.Title }}</h1>
|
||||
<div class="site-affilation">
|
||||
<span class="affilation">
|
||||
{{- range $index, $key := .Site.Params.affilation -}}
|
||||
<ul class="flat">
|
||||
<li class="position">{{$key.position}}, {{$key.name}}</li>
|
||||
<li class="email">{{ $key.contact}}</li>
|
||||
</ul>
|
||||
{{- end -}}
|
||||
</span>
|
||||
<!--
|
||||
{{- if isset .Site.Params "subtitle" -}}
|
||||
<h2>{{ .Site.Params.Subtitle | markdownify }}</h2>
|
||||
{{- end -}}
|
||||
-->
|
||||
|
||||
<nav class="nav social">
|
||||
<ul class="flat">
|
||||
{{- range $index, $key := .Site.Params.Social -}}
|
||||
<a href="{{ $key.url }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>
|
||||
{{- end -}}
|
||||
{{ if or (.Site.Params.blog) (.Site.Params.cv_name) }}
|
||||
|
|
||||
{{- with .Site.Params.blog -}}
|
||||
<a href="{{ . }}" class="blog_cv">[blog]</a>
|
||||
{{- end -}}
|
||||
|
||||
{{ with .Site.Params.cv_name }}
|
||||
<a href="{{ . }}" class="blog_cv">[cv]</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<nav class="nav">
|
||||
<ul class="flat">
|
||||
{{ range .Site.Menus.main }}
|
||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
38
layouts/partials/header.html
Normal file
@ -0,0 +1,38 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
{{- $title := ( .Title ) -}}
|
||||
{{- $siteTitle := ( .Site.Title ) -}}
|
||||
{{- if .IsHome -}}
|
||||
<title>{{ $siteTitle }} {{- if isset .Site.Params "subtitle" -}} - {{ .Site.Params.Subtitle }}{{- end -}} </title>
|
||||
{{- else -}}
|
||||
<title>{{ $title }} - {{ $siteTitle }}</title>
|
||||
{{- end -}}
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
|
||||
<link rel="manifest" href="site.webmanifest">
|
||||
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#5bbad5">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
|
||||
{{- template "_internal/opengraph.html" . -}}
|
||||
{{- template "_internal/twitter_cards.html" . -}}
|
||||
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,300italic,400italic|Raleway:500,100,300" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="css/normalize.css" />
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css" />
|
||||
|
||||
{{- if and (isset .Site.Params "social") (isset .Site.Params "feathericonscdn") (eq .Site.Params.featherIconsCDN true) -}}
|
||||
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
||||
{{- else if (isset .Site.Params "social") -}}
|
||||
<script src="js/feather.min.js"></script>
|
||||
{{- end -}}
|
||||
<script src="js/main.js"></script>
|
||||
</head>
|
11
layouts/partials/introduction.html
Normal file
@ -0,0 +1,11 @@
|
||||
<div class="introduction">
|
||||
{{- range $index, $key := .Site.Params.Introduction.paragraph -}}
|
||||
<span>
|
||||
{{ $key.text | markdownify }}
|
||||
</span>
|
||||
<br>
|
||||
{{- end -}}
|
||||
<span>
|
||||
<b>Interests.</b> {{ $.Site.Params.interests | markdownify }}
|
||||
</span>
|
||||
</div>
|
33
layouts/partials/projects.html
Normal file
@ -0,0 +1,33 @@
|
||||
<div class="introduction">
|
||||
<h4>Projects</h4>
|
||||
<ul>
|
||||
{{- range $index, $projects_map := .Site.Params.projects -}}
|
||||
|
||||
{{ range $elem_index, $project := $projects_map.project }}
|
||||
<li>
|
||||
<a href="{{ $project.project_page }}" class="project"> {{ $project.name }}</a>
|
||||
|
||||
{{ if or ($project.code_link) ($project.blog_link) }}
|
||||
<span class="code_blog">
|
||||
{{ with $project.code_link }}
|
||||
[<a href="{{ . }}">code</a>]
|
||||
{{ end }}
|
||||
|
||||
{{ with $project.blog_link }}
|
||||
[<a href="{{ . }}">blog</a>]
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ with $project.description }}
|
||||
<span class="project_description">
|
||||
{{ . | markdownify}}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
{{- end -}}
|
||||
</ul>
|
||||
</div>
|
36
layouts/partials/publications.html
Normal file
@ -0,0 +1,36 @@
|
||||
<div class="introduction">
|
||||
<h4>Publications</h4>
|
||||
|
||||
{{- range $index, $publications := .Site.Params.publications -}}
|
||||
<div class="year">{{ $publications.year }}</div>
|
||||
|
||||
<ul>
|
||||
{{ range $elem_index, $publication := $publications.paper }}
|
||||
<li>
|
||||
{{ if $publication.link }}
|
||||
<a href="{{ $publication.link }}" class="publications"> {{ $publication.name }}, </a>
|
||||
{{ else }}
|
||||
<p class="publications">{{ $publication.name }},</p>
|
||||
{{ end }}
|
||||
{{ $publication.dest | markdownify }}.
|
||||
|
||||
{{ if or ($publication.code_link) $publication.blog_link }}
|
||||
<span class="code_blog">
|
||||
{{ with $publication.code_link }}
|
||||
[<a href="{{ $publication.code_link }}">code</a>]
|
||||
{{ end }}
|
||||
|
||||
{{ with $publication.blog_link }}
|
||||
[<a href="{{ $publication.blog_link }}">blog</a>]
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
<span class="collaborators">
|
||||
{{ $publication.authors | markdownify }}
|
||||
</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{- end -}}
|
||||
</div>
|
410
static/css/main.css
Normal file
@ -0,0 +1,410 @@
|
||||
/* Ubuntu, Ubuntu */
|
||||
@import url(https://fonts.googleapis.com/css?family=Ubuntu);
|
||||
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono);
|
||||
|
||||
body {
|
||||
font-family: "Ubuntu", sans-serif;
|
||||
font-weight: 300;
|
||||
color: #333;
|
||||
line-height: 1.5;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
a,
|
||||
a:hover {
|
||||
color: #a00;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
html,
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
::-moz-selection {
|
||||
background: #b3d4fc;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: #b3d4fc;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
hr {
|
||||
display: none;
|
||||
height: 1px;
|
||||
border: 0;
|
||||
/* border-top: 1px solid #ccc; */
|
||||
margin: 1rem 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
img,
|
||||
video {
|
||||
width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin-left: 1rem;
|
||||
font-style: italic;
|
||||
font-size: 1.4rem;
|
||||
font-family: Georgia, bitstream charter, serif;
|
||||
border-left: 3px solid;
|
||||
border-color: #a00;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
blockquote cite {
|
||||
font-size: 70%;
|
||||
opacity: 0.8;
|
||||
}
|
||||
span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
a,
|
||||
a:hover {
|
||||
color: #a00;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: Ubuntu, raleway, sans-serif;
|
||||
line-height: 1.2;
|
||||
color: #330;
|
||||
font-weight: 100;
|
||||
margin-bottom: 15px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.75rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-weight: 300;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-weight: 300;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
ul.flat {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul.flat li {
|
||||
display: inline-block;
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.prevent-collapse {
|
||||
min-height: 0.1rem;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.smaller {
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc inside;
|
||||
}
|
||||
|
||||
.introduction ul li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.introduction ul li p {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.highlight pre {
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
padding: 20px;
|
||||
background-color: #fafafa !important;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
background: 0 0;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
max-width: 760px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.header {
|
||||
margin-bottom: 20px;
|
||||
/* padding-bottom: 20px; */
|
||||
}
|
||||
|
||||
.header .profile_image {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 30%;
|
||||
height: auto;
|
||||
border-radius: 50%;
|
||||
/* float: left; */
|
||||
}
|
||||
|
||||
.header h1,
|
||||
.header h2 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 2rem;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
|
||||
.header h2 {
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
.header nav {
|
||||
margin-top: 20px;
|
||||
/* border-top: 1px solid #f4f4f4; */
|
||||
}
|
||||
|
||||
.header nav ul,
|
||||
.header nav li {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.header nav ul.flat {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.header nav ul.flat li {
|
||||
display: inline-block;
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
margin-right: 10px;
|
||||
margin-top: 10px;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.header .site-affilation {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.header .site-affilation .email {
|
||||
/* color: #a00; */
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
font-family: "Ubuntu Mono";
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.header .site-affilation .position {
|
||||
/* color: #a00; */
|
||||
/* font-size: 14px; */
|
||||
/* display: block; */
|
||||
font-family: Ubuntu;
|
||||
/* font-weight: bolder; */
|
||||
}
|
||||
|
||||
.header .site-affilation nav {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.header .site-affilation nav ul svg {
|
||||
max-height: 15px;
|
||||
}
|
||||
|
||||
.email {
|
||||
/* color: #a00; */
|
||||
font-size: 16px;
|
||||
font-family: "Ubuntu Mono";
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.collaborators {
|
||||
font-size: 15px;
|
||||
margin-left: .9em;
|
||||
margin-top: .1em;
|
||||
}
|
||||
|
||||
.year {
|
||||
font-size: 20px;
|
||||
margin-bottom: -.6em;
|
||||
}
|
||||
|
||||
.project {
|
||||
margin: .5em -.5em 0em;
|
||||
}
|
||||
|
||||
.publications {
|
||||
margin-left: -.5em;
|
||||
}
|
||||
|
||||
.code_blog {
|
||||
font-family: "Ubuntu Mono";
|
||||
font-size: 14px;
|
||||
margin: 0em .9em 0em;
|
||||
}
|
||||
|
||||
.blog_cv {
|
||||
font-family: "Ubuntu Mono";
|
||||
font-size: 17px;
|
||||
/* margin: 0em .9em 0em; */
|
||||
}
|
||||
|
||||
.project_description {
|
||||
margin: .5em .9em 0em;
|
||||
}
|
||||
|
||||
.section .section-header {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
color: #999;
|
||||
margin-bottom: 20px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.recent-posts .posts .introduction {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.recent-posts .posts .introduction .meta,
|
||||
.introduction .introduction-header .meta,
|
||||
.list .posts .introduction .meta {
|
||||
font-size: 0.725rem;
|
||||
color: #999;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.introduction .introduction-header {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.introduction .introduction-header .title {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.introduction .introduction-header .meta {
|
||||
padding-left: 5px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.list .posts .introduction .meta {
|
||||
margin-bottom: 0;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: right;
|
||||
font-size: 0.75em;
|
||||
color: #999;
|
||||
border-top: 1px solid #f4f4f4;
|
||||
padding: 20px 0;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.tag-cloud {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.tag-cloud a {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media (max-width: 767px) {
|
||||
body {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
body {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
1
static/css/normalize.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */img,legend{border:0}legend,td,th{padding:0}html{font-family:serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}table{border-collapse:collapse;border-spacing:0}
|
13
static/js/feather.min.js
vendored
Normal file
0
static/js/main.js
Normal file
21
theme.toml
Normal file
@ -0,0 +1,21 @@
|
||||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Avicenna"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/hadisinaee/avicenna/blob/master/LICENSE"
|
||||
description = ""
|
||||
homepage = "https://github.com/hadisinaee/avicenna"
|
||||
tags = ["academic", "personal", "minimal", "minimalist", "clean", "responsive", "simple", "university"]
|
||||
features = ["Academic", "Responsive", "Clean And Minimal", "Social Media Links"]
|
||||
min_version = "0.41"
|
||||
|
||||
[author]
|
||||
name = "Hadi Sinaee"
|
||||
homepage = "http://ce.sharif.edu/~sinaee/"
|
||||
|
||||
# If porting an existing theme
|
||||
[original]
|
||||
name = "ezhil"
|
||||
homepage = "https://github.com/vividvilla/ezhil"
|
||||
repo = "https://github.com/vividvilla/ezhil"
|