Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fewsteps committed Jan 16, 2023
1 parent 67aeaee commit 56b3eb0
Show file tree
Hide file tree
Showing 14 changed files with 328 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/zen"]
path = themes/zen
url = https://github.com/frjo/hugo-theme-zen.git
3 changes: 0 additions & 3 deletions config.toml

This file was deleted.

44 changes: 44 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
title: "Hugo Zen theme"
baseURL: "https://example.org/"
theme: "zen"
languageCode: "en-us"
defaultContentLanguage: "en"
pluralizelisttitles: false
removePathAccents: true
paginate: 10
paginatePath: "page"
rssLimit: 20
author:
name: "Your Name"
url: "https://example.org/somepage"
avatar: "path/to/some-image.jpg"

outputFormats:
SearchIndex:
mediaType: "application/json"
baseName: "searchindex"
isPlainText: true
notAlternative: true

outputs:
home: ["HTML","RSS", "JSON", "SearchIndex"]
section: ["HTML","RSS", "JSON"]

params:
contact: "[email protected]"
description: "The zen theme for Hugo example site."
dateformat: "2 January, 2006"
favicon: "apple-touch-icon.png"
feedlinks: true
icon: "apple-touch-icon.png"
image: "apple-touch-icon.png"
imageMaxWidth: 400
logoWidth: 64
mobileMenu: true
poweredby: true
realfavicongenerator: true
sidebar: true
submitted: true
poweredby: false
logo: false

31 changes: 31 additions & 0 deletions content/1-iLook-TechnologyLtd./index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: "1 iLook Technology Ltd."
date: 2021-09-02T01:43:45.831
update: 2023-01-12T14:35:45.805
draft: false
name: 1 iLook Technology Ltd.
tags:
- Computer And Internet
- Internet Service And E-Commerce
-
- 1
- Bangladesh

categories:
- Computer And Internet

subCategories:
- Internet Service And E-Commerce

address: 1/100, Block L, Gorgia
district:
country:
email:
phone: +123-2-34533
fax:
web:
xdescription:
- 1 iLook Technology Ltd is the best internet service provider (ISP) company
- Currently ffering various digital services like Online Browsing,Broadband Connection, Webmail Facilities,E-Commerce etc.

---
22 changes: 22 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "Make the Web Fun Again"

---

# Hugo

## Make the Web Fun Again

Introducing Hugo, a new idea for making website creation simple again. Hugo works flexibly with many formats, and is ideal for blogs, docs, portfolios and much more. Hugo’s speed fosters creativity—it makes building a website fun again.

## Run Anywhere

Hugo is quite possibly the easiest software to install you’ve ever used: simply download and run! Hugo doesn’t depend on administrative privileges, databases, runtimes, interpreters or external libraries. Sites built with Hugo can be deployed on S3, GitHub Pages, Dropbox or any web host.

## Fast & Powerful

Hugo is designed for speed and performance. Great care has been taken to ensure build time with Hugo is as short as possible. We’re talking milliseconds to build your entire site—for most setups!

## Flexible

Hugo is designed to work the way you do. Organize your content however you want with any URL structure. Group your content using your own indexes and categories. Define your own metadata in any format: YAML, TOML or JSON. Best of all, Hugo handles all these variations with virtually no configuration. Hugo just works.
7 changes: 7 additions & 0 deletions content/contact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Contact"
contactform: true

---
{{< contact >}}
Hello
7 changes: 7 additions & 0 deletions content/documentation/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Configuration"
author: "Fredrik Jonsson"

---

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
7 changes: 7 additions & 0 deletions content/documentation/create-theme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Create a theme"
author: "Fredrik Jonsson"

---

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
7 changes: 7 additions & 0 deletions content/documentation/install.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Installation"
author: "Fredrik Jonsson"

---

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
7 changes: 7 additions & 0 deletions content/documentation/quickstart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Quickstart"
author: "Fredrik Jonsson"

---

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
6 changes: 6 additions & 0 deletions content/search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Search"
searchform: true

---
{{< search >}}
108 changes: 108 additions & 0 deletions layouts/_default/single copy 2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{{ define "main" -}}
<main class="main layout__main">
<article class="single-view{{ with .Section }} single-view--{{ . | urlize }}{{ end }}">
<header>
<h1 class="title {{ if $.Param " submitted" | default false }}title-submitted{{ end }}">{{ .Title }}</h1>
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . }}{{ end -}}
{{ if .Params.tags }}{{ partial "tags.html" . }}{{ end -}}
</header>
<div class="content">
{{< search>}}
{{ .Content }}
</div>

{{< search>}}
{{ with .Params.address }}
<h2>Address</h2> {{.}}
{{ end }}

{{ with .Params.district }}
<h2>District</h2>{{.}}
{{ end }}

{{ with .Params.zip }}
<h2>Zipcode</h2>{{.}}
{{ end }}

{{ with .Params.country }}
<h2>Country</h2>{{.}}
{{ end }}

{{ with .Params.fb }}
<h2>Facebook</h2>{{.}}
{{ end }}

{{ with .Params.phone }}
<h2>Phone</h2> {{ . | safeHTML}}
{{ end }}

{{ with .Params.mobile }}
<h2>Mobile</h2>{{. | safeHTML}}
{{ end }}

{{ with .Params.email }}
<h2>Email</h2>{{.}}
{{ end }}

{{ with .Params.web }}
<h2>Website</h2>{{.}}
{{ end }}

{{ with .Params.fax }}
<h2>Fax</h2>{{. | safeHTML}}
{{ end }}

{{ with .Params.hour }}
<h2>Business Hours:</h2>{{.}}
{{ end }}

<!-- {{ with .Params.xdescription }}
<h2>Description</h2>
<ul>
{{ range . }}
<li> {{.}}</li>
{{ end }}
</ul>
{{ end }} -->

{{ with .Params.xdescription}}
<h2>About this business: </h2>
<ul>
{{ range after 1 . }}
<li>
{{ . }}
{{ end }}
</li>
</ul>
{{ end }}



<!-- {{ $myitems := .Params.xdescription }}
{{ range $i, $e := $myitems }}
{{ if gt $i 1 }}
<p>{{ $e }}</p>
{{ end }}
{{ end }} -->


<!-- {{ $myitems := .Params.xdescription }}
{{ range $i, $e := $myitems }}
{{ if gt $i 2 }}
<p>{{ $e }}</p>
{{ end }}
{{ end }} -->






<div class="content content--bottom">
{{ if $.Param "relatedposts" | default true }}{{ partial "related.html" . }}{{ end -}}

{{ if ne .Lastmod .Date }}{{ partial "dates.html" . }}{{ end -}}
</div>
</article>
</main>
{{ end }}
78 changes: 78 additions & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{{ define "main" -}}
<main class="main layout__main">
<article class="single-view{{ with .Section }} single-view--{{ . | urlize }}{{ end }}">
<header>
<h1 class="title {{ if $.Param " submitted" | default false }}title-submitted{{ end }}">{{ .Title }}</h1>
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . }}{{ end -}}
{{ if .Params.tags }}{{ partial "tags.html" . }}{{ end -}}
</header>
<div class="content">
{{ .Content }}
</div>


{{ with .Params.address }}
<h2>Address</h2> {{.}}
{{ end }}

{{ with .Params.district }}
<h2>District</h2>{{.}}
{{ end }}

{{ with .Params.zip }}
<h2>Zipcode</h2>{{.}}
{{ end }}

{{ with .Params.country }}
<h2>Country</h2>{{.}}
{{ end }}

{{ with .Params.fb }}
<h2>Facebook</h2>{{.}}
{{ end }}

{{ with .Params.phone }}
<h2>Phone</h2> {{ . | safeHTML}}
{{ end }}

{{ with .Params.mobile }}
<h2>Mobile</h2>{{. | safeHTML}}
{{ end }}

{{ with .Params.email }}
<h2>Email</h2>{{.}}
{{ end }}

{{ with .Params.web }}
<h2>Website</h2>{{.}}
{{ end }}

{{ with .Params.fax }}
<h2>Fax</h2>{{. | safeHTML}}
{{ end }}

{{ with .Params.hour }}
<h2>Business Hours:</h2>{{.}}
{{ end }}

{{ with .Params.xdescription}}
<h2>About this business: </h2>
<ul>
{{ range after 1 . }}
<li>
{{ . }}
{{ end }}
</li>
</ul>
{{ end }}



<div class="content content--bottom">
{{ if $.Param "relatedposts" | default true }}{{ partial "related.html" . }}{{ end -}}

{{ if ne .Lastmod .Date }}{{ partial "dates.html" . }}{{ end -}}
</div>
</article>
</main>
{{ end }}
1 change: 1 addition & 0 deletions themes/zen
Submodule zen added at d2efd1

0 comments on commit 56b3eb0

Please sign in to comment.