Skip to content

Commit

Permalink
added 'page source' link #7
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Jan 10, 2022
1 parent 2bccf76 commit cf74416
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
AUTHOR = 'webosbrew.org'
SITENAME = 'webOS Homebrew Project'
SITEURL = ''
SOURCEURL = 'https://github.com/webosbrew/webosbrew.github.io/blob/main/content'

THEME = 'webosbrew'
WEBASSETS_SOURCE_PATHS = ['static']
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ pyscss~=1.3.7
cssmin~=0.2.0
livereload~=2.6.3
invoke~=1.6.0
git+https://github.com/webosbrew/pelican-theme-webosbrew.git#egg=pelican-theme-webosbrew
git+https://github.com/webosbrew/pelican-theme-webosbrew.git@v1.0.4#egg=pelican-theme-webosbrew
5 changes: 5 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ def preview(c):
"""Build production version of site"""
pelican_run('-s {settings_publish}'.format(**CONFIG))

@task
def devserver(c):
"""Build local version of site"""
pelican_run('-lr -s {settings_base} -p {port}'.format(**CONFIG))

@task
def livereload(c):
"""Automatically reload browser tab upon file modification."""
Expand Down

0 comments on commit cf74416

Please sign in to comment.