Commit beeabfad authored by Vibhoothi's avatar Vibhoothi
Browse files

blog: Revamp to hugo

parent 7725dfc1
Pipeline #103470 passed with stage
in 9 seconds
image: alpine:latest
image: alpine:latest
pages:
tags:
- pages
stage: deploy
script:
- apk add --update nodejs npm
- npm install
- ./node_modules/.bin/gatsby build --prefix-paths
- apk add --update hugo
- hugo
- echo 'Build Completed'
artifacts:
paths:
......
[submodule "themes/hugo-xmin"]
path = themes/hugo-xmin
url = https://github.com/yihui/hugo-xmin
The MIT License (MIT)
Copyright (c) 2015 gatsbyjs
Copyright (c) 2017 Yihui Xie
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.
# Gatsby Theme Console
# HUGO XMIN
Inspired from [Jekyll Theme Console](https://github.com/b2a3e8/jekyll-theme-console)
## _Keep it simple, but not simpler_
## :bulb: Installation Instructions
**XMin** is a Hugo theme written by [Yihui Xie](https://yihui.org) in about four hours: half an hour was spent on the Hugo templates, and 3.5 hours were spent on styling. The main motivation for writing this theme was to provide a really minimal example to beginners of Hugo templates. This XMin theme contains about 130 lines of code in total, including the code in HTML templates and CSS (also counting empty lines).
1. Fork the Repo.
2. git clone https://github.com/yourusername/gatsby-theme-console.git
3. npm install
4. Get the google analytics tracking id and paste it in `src/gatsby-config.js`
4. npm start
You started you development server at `http://localhost:8000/`.
\ No newline at end of file
```bash
find . -not -path '*/exampleSite/*' \( -name '*.html' -o -name '*.css' \) | xargs wc -l
```
```
5 ./layouts/404.html
12 ./layouts/_default/single.html
20 ./layouts/_default/list.html
13 ./layouts/_default/terms.html
0 ./layouts/partials/foot_custom.html
0 ./layouts/partials/head_custom.html
9 ./layouts/partials/footer.html
20 ./layouts/partials/header.html
51 ./static/css/style.css
7 ./static/css/fonts.css
137 total
```
I can certainly further reduce the code, for example, by eliminating the CSS, but I believe a tiny bit of CSS can greatly improve readability. You cannot really find many CSS frameworks that only contain 50 lines of code.
[![Screenshot](https://github.com/yihui/hugo-xmin/raw/master/images/screenshot.png)](https://xmin.yihui.org)
baseurl: "/"
languageCode: "en-us"
title: "Pretend to know what I am doing."
theme: "hugo-xmin"
googleAnalytics: ""
disqusShortname: ""
ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$", "\\.knit\\.md$", "\\.utf8\\.md$"]
footnotereturnlinkcontents: "↩"
permalinks:
note: "/note/:year/:month/:day/:slug/"
blog: "/blog/:slug/"
menu:
main:
- name: /home
url: ""
weight: 1
- name: /projects
url: "projects/"
weight: 2
- name: /about
url: "about/"
weight: 3
params:
description: "Pretend to know what I am doing."
footer: "Made with [Hugo](https://code.videolan.org/mindfreeze/mindfreeze.videolan.me), hosted on [code.videolan.org](https://videolan.org). <br/> [subscribe](index.xml)"
markup:
goldmark:
renderer:
unsafe: true
---
title: Home
---
### Writeups
\ No newline at end of file
---
title: Home
---
### _Writeups_
\ No newline at end of file
---
title: About
author: Vibhoothi
---
[Vibhoothi](https://www.linkedin.com/in/vibhoothi/), is holding Bachelors degree in Computer Science and Engineering from [Amrita University](https://amrita.edu).
Currently he is part of Electronic and Electrical Engineering Department of [Trinity College Dublin](https://tcd.ie) working on various Video Compression research and development focusing on improving compression and efficency of Open-standards like AV1, VP9 etc. He also part of [sigmedia.tv](http://sigmedia.tv) Group in the university under Prof. Anil Kokaram.
He is also part of various FOSS Multimedia projects including [Xiph.org](https://xiph.org) and [VideoLAN.](https://videolan.org) projects.
Email: mindfreeze@xiph.org, vibhoothi.a@gmail.com
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment