Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrussel committed Mar 6, 2021
1 parent bd5fe88 commit 7a53ab3
Show file tree
Hide file tree
Showing 16 changed files with 356 additions and 0 deletions.
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

85 changes: 85 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
baseURL = "https://ianrusseladem.com"
title = "Home"
languageCode = "en"
DefaultContentLanguage = "en" # Change this to change the site's language

preserveTaxonomyNames = true

[params]
# The name to display as main title in the home page
mainpagetitle = "Ian Russel Adem"

# The subtitle to display under the title in the home page
mainpagesubtitle = "Welcome to the early 90s!"

# The description of your website. It will be displayed in the home page
mainpagedesc = "I am a software developer with more than 6 years of experience. Well versed in OOP architecture"

# The name to display in the copyright section in the footer
copyrightname = "Ian Russel Adem"

# The url to use as link in the copyright name in the footer. Leave empty to use none.
copyrighturl = ""


# Urls for social networks
facebook = "https://www.facebook.com/ianrussel.adem.31"
linkedin = "https://www.linkedin.com/in/ian-russel-adem-6a4b71177/"
github = "https://github.com/ianrussel"


# Enables or disables the loading animations. false activates them. Default is false.
loadfastload = false

# Sets the speed for the page loading effect. Default is 1.0.
loadspeedfactor = 1.0

# Enables or disables the second flyby cursor. Default is false.
loadonepass = false

[params.copyright]
name = "Ian Russel Adem"



[menu]
# This displays buttons in the navbar to access your contents
[[menu.main]]
identifier = "about" # An unique identifier for the button
name = "About" # A display name for the button
url = "/" # The path to the content. It can lead to a single page (like here)
weight = 10 # A number to order the buttons in the navbar



[taxonomies]
category = "categories"
tag = "tags"


[privacy]

[privacy.vimeo]
disabled = false
simple = true

[privacy.twitter]
disabled = false
enableDNT = true
simple = true

[privacy.instagram]
disabled = false
simple = true

[privacy.youtube]
disabled = false
privacyEnhanced = true

[services]

[services.instagram]
disableInlineCSS = true

[services.twitter]
disableInlineCSS = true
Empty file added layouts/404.html
Empty file.
12 changes: 12 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content" class="container">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
{{- partial "scripts.html" . -}}
</html>
18 changes: 18 additions & 0 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{ define "main" }}
<article class="row-fluid navmargin">
<header class="page-header">
<h1>{{.Title}}</h1>
</header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{.Content}}
</article>
<ul>
<!-- Ranges through content/posts/*.md -->
{{ range .Pages }}
<li>
<a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a>
</li>
{{ end }}
</ul>
{{ end }}

12 changes: 12 additions & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{{ define "main" }}

<div class="row-fluid navmargin">
<div class="page-header">
<h1>{{ .Title }} - {{ .Date.Format "Mon, Jan 2, 2006" }}</h1>
</div>
<p class="lead">{{ .Params.description }}</p>
{{ .Content }}
<h4><a href="{{ .Site.BaseURL }}">{{ i18n "backtohome" }}</a></h4>
</div>

{{ end }}
61 changes: 61 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{{ define "main" }}

<div class="row-fluid navmargin">
<div class="page-header">
<h1>{{ .Site.Params.mainpagetitle }}</h1>
</div>
</div>

<div class="row-fluid">
<div class="span9 bs-docs-sidebar">
<p class="lead">{{ .Site.Params.mainpagesubtitle }}</p>
<p></p>
<p>{{ .Site.Params.mainpagedesc }}</p>
<p></p>
<hr class="soften">
<p></p>
</div>

<div class="span3 bs-docs-sidebar">
<h1>Stacks</h1>
<ul class="nav nav-list bs-docs-sidenav">
<li style="color:black">Python</li>
<li style="color:black">Php</li>
<li style="color:black">Javascript</li>
<li style="color:black">Go</li>
</ul>
<p></p>
<h1>Frameworks</h1>
<ul class="nav nav-list bs-docs-sidenav">
<li style="color:black">VueJS</li>
<li style="color:black">ReactJS</li>
<li style="color:black">Laravel</li>
<li style="color:black">Django</li>
<li style="color:black">Hugo</li>
</ul>
<p></p>
<h1>Devops</h1>
<ul class="nav nav-list bs-docs-sidenav">
<li style="color:black">Docker</li>
<li style="color:black">Ansible</li>
<li style="color:black">Gitlab ci</li>
<li style="color:black">Virtual Box</li>
<li style="color:black">Vagrant</li>
</ul>
<p></p>
<h1>OS</h1>
<ul class="nav nav-list bs-docs-sidenav">
<li style="color:black">Ubuntu </li>
<li style="color:black">Windows 10</li>
</ul>
<p></p>
<h1>Cloud Platform</h1>
<ul class="nav nav-list bs-docs-sidenav">
<li style="color:black">AWS </li>
<li style="color:black">Heroku</li>
</ul>
<p></p>
</div>
</div>

{{ end }}
5 changes: 5 additions & 0 deletions layouts/partials/categories.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{range first 10 ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
<li>
<a href="{{ .Permalink }}">{{.Title}}</a>
</li>
{{ end }}
15 changes: 15 additions & 0 deletions layouts/partials/copyright.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

{{ with .Site.Params.Copyright.Prefix }}
{{ . | markdownify }} |
{{end}}
&copy;
{{ with .Site.Params.copyright.url }}<a href="{{ . }}" target="_blank">{{ end }}
{{ .Site.Params.copyright.name }}
{{ with .Site.Params.copyright.url }}</a>{{ end }}
<span id="thisyear">2021 [email protected]</span>
{{ with .Site.Params.Copyright.Suffix }}
| {{ . | markdownify }}
{{end}}
{{ if isset .Site.Params "showhugo" }}
| {{ i18n "builton" }} <a href="//gohugo.io" target="_blank">Hugo</a>
{{ end }}
14 changes: 14 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<footer class="container">
<hr class="soften">
<p>
{{- partial "copyright.html" . -}}
</p>
<p class="text-center">
{{ with .Site.Params.facebook }}<a href="{{ . }}">Facebook</a> {{ end }}
{{ with .Site.Params.twitter }}<a href="{{ . }}">Twitter</a> {{ end }}
{{ with .Site.Params.linkedin }}<a href="{{ . }}">Linkedin</a> {{ end }}
{{ with .Site.Params.github }}<a href="{{ . }}">GitHub</a> {{ end }}
{{ with .Site.Params.gitlab }}<a href="{{ . }}">GitLab</a>{{ end }}
</p>
</footer>

12 changes: 12 additions & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<head>
<title>{{ .Site.Title }}</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no" />
<meta name="theme-color" content="#000084" />
<link rel="icon" href="{{ .Site.BaseURL }}/favicon.ico">
<link rel="canonical" href="{{ .Site.BaseURL }}">
{{/* Don't ask why it's like this. This original theme is a mess... */}}
<!-- <noscript><style>body { visibility: visible }</style></noscript> -->
</head>
39 changes: 39 additions & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!-- Navbar
================================================== -->
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"></button>
<a class="brand" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
<div class="nav-collapse collapse">
<ul class="nav">
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
{{ if .HasChildren }}
<li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
<a href="#">
{{ .Pre }}
<span>{{ .Name }}</span>
</a>
</li>
<ul class="sub-menu">
{{ range .Children }}
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
<a href="{{ .URL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
{{ else }}
<li>
<a href="{{ .URL }}">
{{ .Pre }}
<span>{{ .Name }}</span>
</a>
</li>
{{ end }}
{{ end }}
</ul>
</div>
</div>
</div>
</nav>
36 changes: 36 additions & 0 deletions layouts/partials/scripts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<link rel="stylesheet" href="{{ "/css/bootstrap.css" | relURL }}">
<link rel="stylesheet" href="{{ "/css/bootstrap-responsive.css" | relURL }}">
<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}">
{{ range .Site.Params.customCSS -}}
<link rel="stylesheet" href="{{ . | relURL }}">
{{- end }}
<script src="{{ "/js/jquery.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-386.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-transition.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-alert.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-modal.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-dropdown.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-scrollspy.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-tab.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-tooltip.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-popover.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-button.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-collapse.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-carousel.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-typeahead.js" | relURL }}"></script>
<script src="{{ "/js/bootstrap-affix.js" | relURL }}"></script>
<script>
_386 = {
fastLoad:{{ .Site.Params.loadfastload }},
onePass:{{ .Site.Params.loadonepass }},
speedFactor:{{ .Site.Params.loadspeedfactor }}
};

// Free updated script to get the actual year !! no more document.write or stuff!!
function ThisYear() {
document.getElementById('thisyear').innerHTML = new Date().getFullYear();
};
</script>
{{- range .Site.Params.customJS }}
<script src="{{ . | relURL }}"></script>
{{- end }}
5 changes: 5 additions & 0 deletions layouts/partials/tags.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{range first 10 ($.Site.GetPage "taxonomyTerm" "tags").Pages }}
<li>
<a href="{{ .Permalink }}">{{.Title}}</a>
</li>
{{ end }}
18 changes: 18 additions & 0 deletions layouts/taxonomy/category.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{ define "main" }}
<article class="row-fluid navmargin">
<header class="page-header">
<h1>{{.Title}}</h1>
</header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{.Content}}
</article>
<ul>
<!-- Ranges through content/posts/*.md -->
<ul>
<li>
<a href="">Css</a>
</li>
</ul>
</ul>
{{ end }}

18 changes: 18 additions & 0 deletions layouts/taxonomy/tag.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{ define "main" }}
<article class="row-fluid navmargin">
<header class="page-header">
<h1>{{.Title}}</h1>
</header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{.Content}}
</article>
<ul>
<!-- Ranges through content/posts/*.md -->
{{ range .Data.Pages }}
<li>
<a href="{{.RelPermalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a>
</li>
{{ end }}
</ul>
{{ end }}

0 comments on commit 7a53ab3

Please sign in to comment.