diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index cbd3036..c7920f3 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -17,9 +17,9 @@ permissions: # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: "pages" - cancel-in-progress: false +# concurrency: +# group: "pages" +# cancel-in-progress: false jobs: deploy: @@ -30,3 +30,4 @@ jobs: id-token: "write" with: settings: "publishconf.py" + requirements: "pelican[markdown]" \ No newline at end of file diff --git a/content/first-post.md b/content/first-post.md new file mode 100644 index 0000000..e291279 --- /dev/null +++ b/content/first-post.md @@ -0,0 +1,5 @@ +Title: First Post +Date: 2025-03-26 11:51 +Category: Annoucment + +Some great stuff. diff --git a/output/.gitkeep b/output/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/pelicanconf.py b/pelicanconf.py new file mode 100644 index 0000000..2ee4b83 --- /dev/null +++ b/pelicanconf.py @@ -0,0 +1,35 @@ +AUTHOR = 'SM' +SITENAME = 'SM Blog' +SITEURL = "" + +PATH = "content" + +TIMEZONE = 'Europe/Dublin' + +DEFAULT_LANG = 'en' + +# Feed generation is usually not desired when developing +FEED_ALL_ATOM = None +CATEGORY_FEED_ATOM = None +TRANSLATION_FEED_ATOM = None +AUTHOR_FEED_ATOM = None +AUTHOR_FEED_RSS = None + +# Blogroll +LINKS = ( + ("Pelican", "https://getpelican.com/"), + ("Python.org", "https://www.python.org/"), + ("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 + +# Uncomment following line if you want document-relative URLs when developing +# RELATIVE_URLS = True diff --git a/publishconf.py b/publishconf.py new file mode 100644 index 0000000..a55b933 --- /dev/null +++ b/publishconf.py @@ -0,0 +1,22 @@ +# This file is only used if you use `make publish` or +# explicitly specify it as your config file. + +import os +import sys + +sys.path.append(os.curdir) +from pelicanconf import * + +# If your site is available via HTTPS, make sure SITEURL begins with https:// +SITEURL = "https://solarmonitor.github.io/blog" +RELATIVE_URLS = False + +FEED_ALL_ATOM = "feeds/all.atom.xml" +CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml" + +DELETE_OUTPUT_DIRECTORY = True + +# Following items are often useful when publishing + +# DISQUS_SITENAME = "" +# GOOGLE_ANALYTICS = ""