Repository: opera7133/tella Branch: master Commit: 8b178b3dbcb2 Files: 57 Total size: 75.9 KB Directory structure: gitextract_oj22w69v/ ├── .gitignore ├── LICENSE ├── README.md ├── archetypes/ │ ├── blog.md │ └── products.md ├── assets/ │ └── css/ │ └── style.css ├── exampleSite/ │ ├── .gitignore │ ├── archetypes/ │ │ ├── blog.md │ │ └── products.md │ ├── content/ │ │ ├── _index.md │ │ ├── about.md │ │ ├── blog/ │ │ │ ├── _index.md │ │ │ ├── emoji-support.md │ │ │ ├── markdown-syntax.md │ │ │ ├── math-typesetting.md │ │ │ ├── placeholder-text.md │ │ │ └── rich-content.md │ │ ├── contact.md │ │ └── products/ │ │ ├── _index.md │ │ └── example.md │ ├── data/ │ │ ├── features.json │ │ └── slide.json │ ├── hugo.toml │ ├── layouts/ │ │ └── .gitkeep │ ├── package.json │ └── static/ │ └── css/ │ └── custom.css ├── layouts/ │ ├── 404.html │ ├── _default/ │ │ ├── baseof.html │ │ ├── list.html │ │ └── single.html │ ├── blog/ │ │ └── single.html │ ├── index.html │ ├── partials/ │ │ ├── alert.html │ │ ├── analytics.html │ │ ├── comments.html │ │ ├── footer.html │ │ ├── giscus.html │ │ ├── head.html │ │ ├── header.html │ │ ├── paginator.html │ │ ├── recent.html │ │ ├── seo/ │ │ │ ├── extend.html │ │ │ ├── print.html │ │ │ └── tags.html │ │ ├── share.html │ │ ├── slide.html │ │ ├── strip.html │ │ └── summary.html │ ├── products/ │ │ ├── list.html │ │ └── summary.html │ └── shortcodes/ │ ├── begin-task-list.html │ ├── form.html │ ├── icon.html │ └── img.html ├── static/ │ ├── css/ │ │ └── webfonts.css │ └── site.webmanifest └── theme.toml ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # Compiled Object files, Static and Dynamic libs (Shared Objects) *.o *.a *.so # Folders _obj _test # Architecture specific extensions/prefixes *.[568vq] [568vq].out *.cgo1.go *.cgo2.c _cgo_defun.c _cgo_gotypes.go _cgo_export.* _testmain.go *.exe *.test node_modules/ .DS_Store ================================================ FILE: LICENSE ================================================ The MIT License (MIT) Copyright (c) 2020 wamo 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. ================================================ FILE: README.md ================================================ # Tella ![](https://raw.githubusercontent.com/opera7133/tella/master/images/screenshot.png) Tella, A Hugo theme for Companies. The demo can be seen here: https://tella.pages.dev ## Features - Responsive - Carousel (with Splide.js) - Google Analytics - Pagination - Support categories - Disqus / Giscus - FontAwesome, Bootstrap Icons ## Installation ### Method 1 Inside the folder of your Hugo site run: ```bash git clone https://github.com/opera7133/tella themes/tella ``` Updating theme: ```bash cd themes/tella git pull ``` ### Method 2 Inside the folder of your Hugo site run: ```bash git submodule add https://github.com/opera7133/tella.git themes/tella ``` Updating theme: ```bash git submodule update --remote --merge ``` ### Install dependencies You need [Node.js](https://nodejs.org/) before installation. Copy `package.json` from `themes/tella/exampleSite` to the root folder of your site. After that, run this command. ```bash npm install ``` ## Getting started After installing the theme successfully it requires a just a few more steps to get your site running. ### Update config file Copy the config.toml in the exampleSite to the root of your Hugo site. Change strings as you like. ### Check your site In order to see your site in action, run Hugo's built-in local server. ```bash hugo server ``` Now enter `localhost:1313` in the address bar of your browser. ### Build your site ```bash hugo ``` ## Contributing If you find a bug or have an idea for a feature, feel free to write an [issue](https://github.com/opera7133/tella/issues) or make a PR. ## License This theme is released under the [MIT license](https://github.com/opera7133/tella/blob/master/LICENSE). ================================================ FILE: archetypes/blog.md ================================================ --- title: "" date: {{ .Date }} image: "img/default.jpg" draft: true weight: 100 author: "" --- ================================================ FILE: archetypes/products.md ================================================ --- title: "" date: {{ .Date }} draft: true --- ================================================ FILE: assets/css/style.css ================================================ @import "tailwindcss"; @plugin "@tailwindcss/typography"; @plugin "@tailwindcss/forms"; @source "hugo_stats.json"; @theme { --color-tlgray-200: oklch(0.9276 0.0058 264.53); --color-tlgray-400: oklch(0.7137 0.0192 261.32); --color-tlgray-700: oklch(0.3729 0.0306 259.73); --color-tlgray-800: oklch(0.2781 0.0296 256.85); } body { font-family: 'Montserrat', 'Noto Sans JP', sans-serif; font-weight: 300; } .content { font-family: 'Open Sans', 'Noto Sans JP', sans-serif; } html { scroll-behavior: smooth; } /* slide */ @keyframes ScaleAni { 0% { transform: scale(0.9); } 100% { transform: scale(1); } } .splide__slide .s-fade-txt { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0; } .splide__slide .s-fade-txt { animation: FadeAni 0.5s ease 1s 1 normal both; } @keyframes FadeAni { 0% { opacity: 0; } 100% { opacity: 1; } } .wrap { overflow: hidden; } .splide__list img { width: 100%; height: 85vh; object-fit: cover; } .active { display: block !important; } .slide-wrap img { width: 100%; height: 85vh; object-fit: cover; } .slide-class { margin: 0 auto; } .animation-slide { position: relative; } /* menu */ .mopen { float: left; display: block; background: rgba(255, 255, 255, 0); position: relative; z-index: 1000; } .mopen span { transition: all 0.3s; transform: rotate(0deg); width: 50px; height: 2px; display: block; background: #000; position: absolute; left: 50%; top: 50%; margin-left: -25px; } .mopen .top { transform: translateY(-17px); } .mopen .bottom { transform: translateY(17px); } .mopen.is-open span { background: #fff; } .mopen.is-open .middle { background: rgba(255, 255, 255, 0); } .mopen.is-open .top { transform: rotate(-45deg) translateY(0px); } .mopen.is-open .bottom { transform: rotate(45deg) translateY(0px); } /* menu bg */ /* menu bg */ #overlay.open { opacity: 1; pointer-events: auto; } body.scroll-lock { position: fixed; left: 0px; right: 0px; top: 0px; bottom: 0px; } .scroll-top { background-color: #222; text-align: center; color: #fff; position: fixed; right: 1.5rem; bottom: 1.5rem; width: 3rem; height: 3rem; display: flex; flex-direction: column; z-index: 30; padding-top: 0.75em; padding-bottom: 0.75em; cursor: pointer; } /* pagination */ .pagination { display: flex; list-style: none; border-radius: 0.25rem; margin: 20px 0; padding: 0; justify-content: center; } .page-link { position: relative; display: block; padding: 0.75rem 1rem; margin-left: -1px; line-height: 1.25; border: 1px solid #dee2e6; } .homepage .page-link, .listing .page-link { background-color: #fff; } .page-item.disabled .page-link { color: #6c757d; pointer-events: none; cursor: auto; background-color: #fff; border-color: #dee2e6; } .page-item.active .page-link { z-index: 1; } /* toc */ #TableOfContents > ul { border: 1px solid #999; border-radius: 3px; padding: 0.5em 1em; line-height: 2; } #TableOfContents > ul:before { content: 'Table of Contents'; text-align: center; font-size: 1.5em; font-weight: 400; } #TableOfContents ul { list-style-type: none; } #TableOfContents li { padding-top: 0; } #TableOfContents li > ul { padding-left: 1em; width: 100%; } #TableOfContents a { display: block; border-bottom: dashed 1px lightgray; } /* scroll bar */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { border-radius: 8px; box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); } ::-webkit-scrollbar-thumb { background-color: #121212; border-radius: 10px; box-shadow: 0 0 0 1px #121212; } ================================================ FILE: exampleSite/.gitignore ================================================ # Compiled Object files, Static and Dynamic libs (Shared Objects) *.o *.a *.so # Folders _obj _test # Architecture specific extensions/prefixes *.[568vq] [568vq].out *.cgo1.go *.cgo2.c _cgo_defun.c _cgo_gotypes.go _cgo_export.* _testmain.go *.exe *.test /public .DS_Store ================================================ FILE: exampleSite/archetypes/blog.md ================================================ --- title: "" date: {{ .Date }} image: "img/default.jpg" draft: true weight: 100 author: "" --- ================================================ FILE: exampleSite/archetypes/products.md ================================================ --- title: "" date: {{ .Date }} draft: true --- ================================================ FILE: exampleSite/content/_index.md ================================================ --- author: "Hugo Authors" --- ================================================ FILE: exampleSite/content/about.md ================================================ --- title: "About" description: "Hugo, the world's fastest framework for building websites" date: "2019-02-28" author: "Hugo Authors" --- Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. Hugo makes use of a variety of open source projects including: * https://github.com/yuin/goldmark * https://github.com/alecthomas/chroma * https://github.com/muesli/smartcrop * https://github.com/spf13/cobra * https://github.com/spf13/viper Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages. Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases. Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. Learn more and contribute on [GitHub](https://github.com/gohugoio). ================================================ FILE: exampleSite/content/blog/_index.md ================================================ --- aliases: ["posts", "articles", "blog", "showcase", "docs"] title: "Posts" author: "Hugo Authors" tags: ["index"] --- ================================================ FILE: exampleSite/content/blog/emoji-support.md ================================================ --- author: "Hugo Authors" title: "Emoji Support" date: "2019-03-05" description: "Guide to emoji usage in Hugo" tags: [ "emoji", ] --- Emoji can be enabled in a Hugo project in a number of ways. The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.

🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:


The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. *** **N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g. {{< highlight html >}} .emoji { font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; } {{< /highlight >}} {{< css.inline >}} {{< /css.inline >}} ================================================ FILE: exampleSite/content/blog/markdown-syntax.md ================================================ --- author: "Hugo Authors" title: "Markdown Syntax Guide" date: "2019-03-11" description: "Sample article showcasing basic Markdown syntax and formatting for HTML elements." tags: [ "markdown", "css", "html", ] categories: [ "themes", "syntax", ] series: ["Themes Guide"] --- This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. ## Headings The following HTML `

`—`

` elements represent six levels of section headings. `

` is the highest section level while `

` is the lowest. # H1 ## H2 ### H3 #### H4 ##### H5 ###### H6 ## Paragraph Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. ## Blockquotes The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. #### Blockquote without attribution > Tiam, ad mint andaepu dandae nostion secatur sequo quae. > **Note** that you can use *Markdown syntax* within a blockquote. #### Blockquote with attribution > Don't communicate by sharing memory, share memory by communicating.
> — Rob Pike[^1] [^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. ## Tables Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box. Name | Age --------|------ Bob | 27 Alice | 23 #### Inline Markdown within tables | Italics | Bold | Code | | -------- | -------- | ------ | | *italics* | **bold** | `code` | ## Code Blocks #### Code block with backticks ```html Example HTML5 Document

Test

``` #### Code block indented with four spaces Example HTML5 Document

Test

#### Code block with Hugo's internal highlight shortcode {{< highlight html >}} Example HTML5 Document

Test

{{< /highlight >}} ## List Types #### Ordered List 1. First item 2. Second item 3. Third item #### Unordered List * List item * Another item * And another item #### Nested list * Fruit * Apple * Orange * Banana * Dairy * Milk * Cheese ================================================ FILE: exampleSite/content/blog/math-typesetting.md ================================================ --- author: Hugo Authors title: Math Typesetting date: 2019-03-08 description: A brief guide to setup KaTeX math: true --- Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. In this example we will be using [KaTeX](https://katex.org/) - Create a partial under `/layouts/partials/math.html` - Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally. - Include the partial in your templates like so: ```bash {{ if or .Params.math .Site.Params.math }} {{ partial "math.html" . }} {{ end }} ``` - To enable KaTex globally set the parameter `math` to `true` in a project's configuration - To enable KaTex on a per page basis include the parameter `math: true` in content files **Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html) {{< math.inline >}} {{ if or .Page.Params.math .Site.Params.math }} {{ end }} {{}} ### Examples {{< math.inline >}}

Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)

{{}} Block math: $$ \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } $$ ================================================ FILE: exampleSite/content/blog/placeholder-text.md ================================================ --- author: "Hugo Authors" title: "Placeholder Text" date: "2019-03-09" description: "Lorem Ipsum Dolor Si Amet" tags: [ "markdown", "text", ] --- Lorem est tota propiore conpellat pectoribus de pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum. 1. Exierant elisi ambit vivere dedere 2. Duce pollice 3. Eris modo 4. Spargitque ferrea quos palude Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis. 1. Comas hunc haec pietate fetum procerum dixit 2. Post torum vates letum Tiresia 3. Flumen querellas 4. Arcanaque montibus omnes 5. Quidem et # Vagus elidunt [The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) ## Mane refeci capiebant unda mulcebat Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis. Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et. Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**. {{< css.inline >}} {{< /css.inline >}} ================================================ FILE: exampleSite/content/blog/rich-content.md ================================================ --- author: "Hugo Authors" title: "Rich Content" date: "2019-03-10" description: "A brief description of Hugo Shortcodes" tags: [ "shortcodes", "privacy", ] --- Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. --- ## YouTube Shortcode {{< youtube ZJthWmvUzzc >}}
--- ## X Shortcode {{< x user="DesignReviewed" id="1085870671291310081" >}}
--- ## Vimeo Shortcode {{< vimeo 48912912 >}} ================================================ FILE: exampleSite/content/contact.md ================================================ --- title: 'Contact' --- To contact us, please fill out the form below. {{< form >}} ================================================ FILE: exampleSite/content/products/_index.md ================================================ --- title: "Products" --- ================================================ FILE: exampleSite/content/products/example.md ================================================ --- title: "Example Project" date: 2020-06-23T12:33:45+10:00 draft: false featured: true weight: 1 description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec accumsan dapibus purus, vel maximus erat facilisis vel. --- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec accumsan dapibus purus, vel maximus erat facilisis vel. Suspendisse eu ipsum consequat, sodales nulla vel, faucibus velit. Fusce imperdiet lacus nec cursus auctor. In vulputate arcu et nulla placerat, nec pulvinar quam rhoncus. Praesent vel placerat nunc. Mauris elit felis, pulvinar egestas risus ut, fermentum ullamcorper orci. Integer tempor, neque sed fermentum eleifend, ligula est tincidunt purus, sodales semper elit enim ut mi. Vestibulum commodo tristique hendrerit. Duis interdum tristique augue id aliquam. Sed et tellus aliquam, accumsan erat at, facilisis tortor. Donec ac sapien sed lectus ullamcorper ultrices. Nullam placerat mauris nec urna rhoncus, vitae faucibus nulla venenatis. Donec vestibulum justo auctor, vestibulum diam quis, egestas erat. Vivamus volutpat et metus ut fermentum. Donec volutpat neque nec quam lacinia, nec faucibus felis ullamcorper. ================================================ FILE: exampleSite/data/features.json ================================================ [ { "title": "Simple", "description": "All the bare necessities are there.", "icon": "bi bi-box" }, { "title": "Fast", "description": "Light weight and fast loading speed.", "icon": "bi bi-lightning-charge" }, { "title": "Github", "description": "Please fork the Github repository and contribute to this theme!", "link": "https://github.com/opera7133/tella", "icon": "bi bi-github" } ] ================================================ FILE: exampleSite/data/slide.json ================================================ [ { "title": "Tella, A Hugo theme for Companies.", "image": "img/slide/slide01.jpg" }, { "title": "Sample text here...", "image": "img/slide/slide02.jpg", "color": "text-black" } ] ================================================ FILE: exampleSite/hugo.toml ================================================ baseURL = "https://example.com" title = "Tella" author = "username" languageCode = "en" DefaultContentLanguage = "en" enableInlineShortcodes = true theme = "tella" enableRobotsTXT = true # Please enable this feature if the site is available in Japanese, Chinese or Korean. #hasCJKLanguage = true [services] [services.googleAnalytics] # If you're using Google Analytics, you can enable this feature. #id = "G-1234567890" [services.disqus] # Disqus Comment System #shortname = "your-disqus-shortname" [params] showBlog = true mainSections = ['blog'] googleFonts = true [params.logo] main = "img/logo/logo.svg" alt = "Tella Logo" # The size parameter is the class name of tailwindcss # https://tailwindcss.com/ size = "h-14" [params.site] name = "Tella" [params.icon] # If you want to use FontAwesome, set this parameter to true. #fontawesome = true # You can also use Bootstrap Icons. bootstrap = true [params.share] # If you want to use share buttons, set this parameter to true. enable = true # Uncomment and edit to limit which services are shown # services = ["twitter", "mastodon", "facebook", "line", "linkedin", "whatsapp", "mail", "copy"] [params.homepage_meta_tags] meta_description = "A Hugo Theme for OSSProject, Companies, Organization..." meta_og_title = "Tella" meta_og_type = "website" meta_og_url = "https://tella.pages.dev" meta_og_image = "https://raw.githubusercontent.com/opera7133/tella/master/images/tn.png" meta_og_description = "A Hugo Theme for OSSProject, Companies, Organization..." meta_twitter_card = "summary_large_image" meta_twitter_site = "@username" meta_twitter_creator = "@username" [params.giscus] # Giscus Comment System # See https://giscus.app for setup instructions #repo = "your-repo" #repo_id = "your-repo-id" #category = "Announcements" #category_id = "your-category-id" #mapping = "pathname" #strict = "0" #reactions_enabled = "1" #emit_metadata = "0" #input_position = "bottom" #theme = "preferred_color_scheme" #lang = "en" #loading = "lazy" [menu] [[menu.main]] identifier = "products" name = "Products" url = "/products/" weight = 1 [[menu.main]] identifier = "blog" name = "Blog" url = "/blog/" weight = 2 [[menu.main]] identifier = "about" name = "About" url = "/about/" weight = 3 [[menu.main]] identifier = "contact" name = "Contact" url = "/contact/" weight = 4 # Footer Menu [[menu.footer]] name = "Home" url = "/" weight = 1 [[menu.footer]] name = "Github" url = "https://github.com/opera7133/tella" #pre = "" weight = 2 [taxonomies] category = "categories" tag = "tags" series = "series" [privacy] [privacy.vimeo] disabled = false simple = false [privacy.x] disabled = false enableDNT = true simple = false [privacy.instagram] disabled = false simple = false [privacy.youtube] disabled = false privacyEnhanced = true [markup] [markup.goldmark] [markup.goldmark.renderer] unsafe = true [build] [build.buildStats] enable = true [[build.cachebusters]] source = 'assets/notwatching/hugo_stats\.json' target = 'css' [module] [[module.mounts]] source = 'assets' target = 'assets' [[module.mounts]] disableWatch = true source = 'hugo_stats.json' target = 'assets/notwatching/hugo_stats.json' ================================================ FILE: exampleSite/layouts/.gitkeep ================================================ ================================================ FILE: exampleSite/package.json ================================================ { "name": "tella", "version": "0.0.1", "description": "Simple, Light, Responsive", "main": "index.js", "repository": "https://github.com/opera7133/tella", "author": "wamo ", "license": "MIT", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "devDependencies": { "@tailwindcss/cli": "^4.1.11", "@tailwindcss/typography": "^0.5.19", "@tailwindcss/forms": "^0.5.11", "tailwindcss": "^4.1.11" } } ================================================ FILE: exampleSite/static/css/custom.css ================================================ /* This CSS file is used to override the existing styles of the theme. You can change the article headings, fonts, colors, etc. */ ================================================ FILE: layouts/404.html ================================================ {{ define "main" }}
404

Page Not Found

NOT FOUND

Sorry, the page you are looking for could not be found.
The page you are trying to access may have been deleted or the URL may have changed.

Back to Home
{{ end }} ================================================ FILE: layouts/_default/baseof.html ================================================ {{- partial "head.html" . -}} {{ block "meta_tags" . }}{{end}}
{{- partial "header.html" . -}}
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}} {{ block "scripts" . }}{{ end }} ================================================ FILE: layouts/_default/list.html ================================================ {{ define "meta_tags" }} {{ if .Params.image }} {{ with .Params.image }} {{ end }} {{ else }} {{ end }} {{- if .Description }} {{- else if .Summary }} {{- else if .Site.Params.description }} {{- end }} {{ end }} {{ define "main" }}

{{.Title}}

{{.Content}}
{{ $paginator := .Paginate (where .Data.Pages "Type" "in" site.Params.mainSections) 6 }} {{ range $paginator.Pages }}
{{ partial "summary.html" . }}
{{ end }}
{{ partial "paginator.html" . }}
{{ end }} ================================================ FILE: layouts/_default/single.html ================================================ {{ define "meta_tags" }} {{ if .Params.image }} {{ with .Params.image }} {{ end }} {{ else }} {{ end }} {{- if .Description }} {{- else if .Summary }} {{- else if .Site.Params.description }} {{- end }} {{ end }} {{ define "main" }}
{{ with .Params.image }}
{{ $.Title }}
{{ end }}

{{.Title}}

{{ if .Date }}
{{ end }} {{ if .Params.author }}
{{ .Params.author }}
{{ end }}
{{.Content}}
{{ end }} ================================================ FILE: layouts/blog/single.html ================================================ {{ define "meta_tags" }} {{ partial "seo/print.html" . }} {{- with .Site.Params.facebookAppId }} {{- end }} {{ end }} {{ define "main" }}
{{ if .Params.image }}
{{ .Title }}
{{ end }}

{{.Title}}

{{ if .Params.author }}
{{.Params.author}}
{{ end }} {{ with .Params.categories }}
{{ range . }} {{ . }} {{ end }}
{{ end }}
{{.Content}}
{{ partial "share.html" . }} {{ partial "comments.html" . }}
{{ end }} ================================================ FILE: layouts/index.html ================================================ {{ define "meta_tags" }} {{ end }} {{ define "main" }} {{- partial "alert.html" . -}} {{- partial "slide.html" . -}} {{- partial "strip.html" . -}} {{ if ne .Site.Params.showBlog false }}

Blog

{{- partial "recent.html" . -}}
{{ end }} {{ end }} {{ define "scripts" }} {{ end }} ================================================ FILE: layouts/partials/alert.html ================================================ {{ if ge hugo.Version "0.156.0" }} {{ if hugo.Data.alert }}
{{ range hugo.Data.alert }}

>> {{ .date }} {{ .alert }}

{{ end }}
{{ end }} {{ else }} {{if .Site.Data.alert}}
{{ range .Site.Data.alert }}

>> {{ .date }} {{ .alert }}

{{ end }}
{{ end }} {{ end }} ================================================ FILE: layouts/partials/analytics.html ================================================ {{ if not hugo.IsServer }} {{ with .Site.Config.Services.GoogleAnalytics.ID }} {{ end }} {{ end }} ================================================ FILE: layouts/partials/comments.html ================================================ {{ if .Site.Config.Services.Disqus.Shortname }}
{{ template "_internal/disqus.html" . }}

{{ end }} {{ if .Site.Params.giscus.repo }}
{{ partial "giscus.html" . }}

{{ end }} ================================================ FILE: layouts/partials/footer.html ================================================
{{ if not .IsHome }} {{ end }} {{ if .Site.Params.googleFonts }} {{ else }} {{ end }}
{{ .Site.Params.site.name }}
© {{site.Title}} {{ now.Year }} All Rights Reserved.
================================================ FILE: layouts/partials/giscus.html ================================================
================================================ FILE: layouts/partials/head.html ================================================ {{- partial "analytics" . -}} {{site.Title}}{{if not .IsHome}} | {{.Title}}{{end}} {{ if .Site.Params.icon.fontawesome }} {{ end }} {{ if .Site.Params.icon.bootstrap }} {{ end }} {{ with resources.Get "css/style.css" }} {{ $opts := dict "minify" (not hugo.IsDevelopment) }} {{ with . | css.TailwindCSS $opts }} {{ if hugo.IsDevelopment }} {{ else }} {{ with . | fingerprint }} {{ end }} {{ end }} {{ end }} {{ end }} {{ if .IsHome }} {{ end }} ================================================ FILE: layouts/partials/header.html ================================================
================================================ FILE: layouts/partials/paginator.html ================================================ {{ $pag := $.Paginator }} {{ if gt $pag.TotalPages 1 }} {{ end }} ================================================ FILE: layouts/partials/recent.html ================================================ {{ range first 3 (where site.RegularPages.ByDate.Reverse "Type" "in" site.Params.mainSections )}} {{ partial "summary.html" . }} {{ end }} ================================================ FILE: layouts/partials/seo/extend.html ================================================ {{/* Add/Edit SEO Scratch Object @author The New Dynamic @access public @context Page User does not load the partial, as the component will. This allows to overwrite some SEO object keys with project's own. Project's partial should live under `layouts/partials/seo/extend.html` @example - In Partial {{- if eq "Type" "recipe" -}} {{- .Scratch.SetInMap "seo" "type" "article" -}} {{- end -}} {{- $locales := dict "fr" "fr_FR" "en" "en_US" -}} {{- .Scratch.SetInMap "seo" "locale" (index $locales .Lang) -}} {{- if .IsHome -}} {{- .Scratch.SetInMap "seo" "title" "Welcome Home" -}} {{- end -}} */}} ================================================ FILE: layouts/partials/seo/print.html ================================================ {{- $.Scratch.Set "seo" dict -}} {{/* Date */}} {{- if not .PublishDate.IsZero -}} {{- $.Scratch.SetInMap "seo" "published_time" (.PublishDate.Format "2006-01-02T15:04:05-07:00") -}} {{- else if not .Date.IsZero -}} {{- $.Scratch.SetInMap "seo" "published_time" (.Date.Format "2006-01-02T15:04:05-07:00") -}} {{- end -}} {{- if not .Lastmod.IsZero -}} {{- $.Scratch.SetInMap "seo" "updated_time" (.Lastmod.Format "2006-01-02T15:04:05-07:00") -}} {{- end -}} {{/* Description */}} {{ $description := "" }} {{/* 1. SEO Description */}} {{- if .Params.seo.description -}} {{- $description = .Params.seo.description -}} {{/* 2. Description As it could potentially contain HTML tags, we strip them with plainify */}} {{- else if .Params.description -}} {{- $description = .Params.description | plainify -}} {{/* 3. Summary */}} {{- else if .Summary -}} {{- $description = substr .Summary 0 .Site.Params.summaryLength | plainify -}} {{- else -}} {{/* 4. site description */}} {{ $description = .Site.Params.Description }} {{- end -}} {{- $.Scratch.SetInMap "seo" "description" $description -}} {{/* Site Name */}} {{- with .Param "seo.site_name" -}} {{- $.Scratch.SetInMap "seo" "site_name" . -}} {{- else -}} {{- $.Scratch.SetInMap "seo" "site_name" .Site.Title -}} {{- end -}} {{/* Twitter */}} {{/* Default twitter_card is "summary_large_image" */}} {{- $.Scratch.SetInMap "seo" "twitter_card" "summary_large_image" -}} {{/* We check the site config sports a Social.twitter and use as handle */}} {{- with .Site.Params.Social.twitter -}} {{- $.Scratch.SetInMap "seo" "twitter_handle" (printf "@%s" .) -}} {{- end -}} {{/* Type */}} {{- $.Scratch.SetInMap "seo" "type" "website" -}} {{- if in (slice "blog" "news") .Type -}} {{- $.Scratch.SetInMap "seo" "type" "article" -}} {{ else if in (slice "article") .Type }} {{- $.Scratch.SetInMap "seo" "type" "event" -}} {{- end -}} {{/* Canonical */}} {{ with .Params.seo.canonical }} {{- $.Scratch.SetInMap "seo" "canonical" (. | absURL) -}} {{ else }} {{- $.Scratch.SetInMap "seo" "canonical" .Permalink -}} {{ end }} {{- partial "seo/extend" . -}} {{ partial "seo/tags" (dict "page" $ "seo" ($.Scratch.Get "seo")) }} {{ with .Site.Params.seo.jsonld }} {{ partial "seo/jsonld" (dict "page" $ "seo" ($.Scratch.Get "seo")) }} {{ end }} {{ with .Site.Params.seo.debug }} {{ partial "seo/debug" $ }} {{ end }} {{ if .Params.image }} {{ with .Params.image }} {{ end }} {{ else }} {{ end }} ================================================ FILE: layouts/partials/seo/tags.html ================================================ {{- $seo := .seo -}} {{ with $seo.canonical }} {{ end }} {{- with $seo.updated_time }} {{- end }} ================================================ FILE: layouts/partials/share.html ================================================ {{ if .Site.Params.share.enable }} {{ $services := default (slice "twitter" "facebook" "line" "copy") .Site.Params.share.services }}
Share this post
{{ if in $services "twitter" }} X {{ end }} {{ if in $services "mastodon" }} Mastodon {{ end }} {{ if in $services "facebook" }} Facebook {{ end }} {{ if in $services "linkedin" }} LinkedIn {{ end }} {{ if in $services "whatsapp" }} WhatsApp {{ end }} {{ if in $services "line" }} LINE {{ end }} {{ if in $services "mail" }} Email {{ end }} {{ if in $services "copy" }} {{ end }}
{{ end }} ================================================ FILE: layouts/partials/slide.html ================================================
    {{ if ge hugo.Version "0.156.0" }} {{ range hugo.Data.slide }}
  • {{ .alt }}

    {{ .title }}

  • {{ end }} {{ else }} {{ range .Site.Data.slide }}
  • {{ .alt }}

    {{ .title }}

  • {{ end }} {{ end }}
================================================ FILE: layouts/partials/strip.html ================================================ {{ if ge hugo.Version "0.156.0" }} {{if hugo.Data.features}}
{{ range hugo.Data.features }} {{if .link }}{{ end }}
{{if .icon }} {{ end }}

{{ .title }}

{{ .description | markdownify }}

{{if .link }}
{{ end }} {{ end }}
{{end}} {{ else }} {{if .Site.Data.features}}
{{ range .Site.Data.features }} {{if .link }}{{ end }}
{{if .icon }} {{ end }}

{{ .title }}

{{ .description | markdownify }}

{{if .link }}
{{ end }} {{ end }}
{{end}} {{ end }} ================================================ FILE: layouts/partials/summary.html ================================================
{{ if .Params.image }} {{.Title}} {{ else }} {{.Title}} {{ end }}
{{ .Title }}

{{ substr .Summary 0 130 | plainify | htmlUnescape }}...

================================================ FILE: layouts/products/list.html ================================================ {{ define "main" }}

{{.Title}}

{{.Content}}
{{ range .Pages.ByWeight }} {{ .Render "summary" }} {{ end }}
{{ end }} ================================================ FILE: layouts/products/summary.html ================================================ ================================================ FILE: layouts/shortcodes/begin-task-list.html ================================================ ================================================ FILE: layouts/shortcodes/form.html ================================================
================================================ FILE: layouts/shortcodes/icon.html ================================================ {{/* Through this, you can use icons in markdown files. The following is an example: {{}} perhaps {{ {{- else -}} {{- end -}} ================================================ FILE: static/css/webfonts.css ================================================ @font-face { font-family: 'Open Sans'; src: url('../webfonts/OpenSans-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Open Sans'; src: url('../webfonts/OpenSans-Medium.ttf') format('truetype'); font-weight: medium; font-style: normal; } @font-face { font-family: 'Open Sans'; src: url('../webfonts/OpenSans-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'Open Sans'; src: url('../webfonts/OpenSans-Italic.ttf') format('truetype'); font-weight: normal; font-style: italic; } @font-face { font-family: 'Open Sans'; src: url('../webfonts/OpenSans-MediumItalic.ttf') format('truetype'); font-weight: medium; font-style: italic; } @font-face { font-family: 'Open Sans'; src: url('../webfonts/OpenSans-BoldItalic.ttf') format('truetype'); font-weight: bold; font-style: italic; } @font-face { font-family: 'Montserrat'; src: url('../webfonts/Montserrat-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'Montserrat'; src: url('../webfonts/Montserrat-Medium.ttf') format('truetype'); font-weight: medium; font-style: normal; } @font-face { font-family: 'Montserrat'; src: url('../webfonts/Montserrat-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Montserrat'; src: url('../webfonts/Montserrat-BoldItalic.ttf') format('truetype'); font-weight: bold; font-style: italic; } @font-face { font-family: 'Montserrat'; src: url('../webfonts/Montserrat-MediumItalic.ttf') format('truetype'); font-weight: medium; font-style: italic; } @font-face { font-family: 'Montserrat'; src: url('../webfonts/Montserrat-Italic.ttf') format('truetype'); font-weight: normal; font-style: italic; } ================================================ FILE: static/site.webmanifest ================================================ { "name": "Tella", "short_name": "Tella", "icons": [ { "src": "/web-app-manifest-192x192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" }, { "src": "/web-app-manifest-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" } ], "theme_color": "#ffffff", "background_color": "#ffffff", "display": "standalone" } ================================================ FILE: theme.toml ================================================ name = "Tella" license = "MIT" licenselink = "https://github.com/opera7133/tella/blob/master/LICENSE" description = "Simple, Light, Responsive" homepage = "https://github.com/opera7133/tella" demosite = "https://tella.pages.dev" tags = ["light", "simple", "blog", "clean", "tailwindcss", "responsive", "company", "modern", "slide"] features = ["blog", "slides", "responsive"] [author] name = "wamo" homepage = "https://wmsci.com"