1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-04 07:40:09 +05:30

config changes

This commit is contained in:
avinal
2020-09-28 17:06:59 +05:30
parent 3040a4fdea
commit 59620acbda
4 changed files with 26 additions and 13 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ OUTPUTDIR=$(BASEDIR)/output
CONFFILE=$(BASEDIR)/pelicanconf.py CONFFILE=$(BASEDIR)/pelicanconf.py
PUBLISHCONF=$(BASEDIR)/publishconf.py PUBLISHCONF=$(BASEDIR)/publishconf.py
GITHUB_PAGES_BRANCH=main GITHUB_PAGES_BRANCH=gh-pages
DEBUG ?= 0 DEBUG ?= 0
+17
View File
@@ -0,0 +1,17 @@
#! /bin/bash
# install tools
apt-get update && apt-get install -y git make python3 python3-pip
# setup github config
git config user.email "185067@nith.ac.in"
git config user.name "avinal"
# install dependencies
pip3 install -r requirements.txt
# pelican commands
pelican-themes --install /themes/alchemy --verbose
# publish to github pages
make github
+6 -12
View File
@@ -2,11 +2,11 @@
# -*- coding: utf-8 -*- # # -*- coding: utf-8 -*- #
AUTHOR = 'Avinal' AUTHOR = 'Avinal'
SITENAME = 'The Intesteller Twillight' SITENAME = 'The Interstellar Twilight'
SITEURL = '' SITEURL = ''
THEME = 'alchemy'
PATH = 'content' PATH = 'content'
SITEIMAGE = '/images/profile.jpg width=150 height=150'
TIMEZONE = 'Asia/Kolkata' TIMEZONE = 'Asia/Kolkata'
DEFAULT_LANG = 'en' DEFAULT_LANG = 'en'
@@ -19,16 +19,10 @@ AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None AUTHOR_FEED_RSS = None
# Blogroll # Blogroll
LINKS = (('Pelican', 'https://getpelican.com/'), LINKS = (('GitHub', 'https://github.com/avinal'),
('Python.org', 'https://www.python.org/'), ('LinkedIn', ''),)
('Jinja2', 'https://palletsprojects.com/p/jinja/'),
('You can modify those links in your config file', '#'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
DEFAULT_PAGINATION = 10 DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
+2
View File
@@ -0,0 +1,2 @@
pelican
ghp-import