-
Album example · Bootstrap
+ Portfolio
@@ -47,16 +49,15 @@
@@ -68,6 +69,7 @@
Sharad's Blog
+Blog
Latest Posts
{% for blog in blogs.all %}
-
diff --git a/blog/templates/blog/detail.html b/blog/templates/blog/detail.html index 0f63566..0212031 100644 --- a/blog/templates/blog/detail.html +++ b/blog/templates/blog/detail.html @@ -1 +1,94 @@ -{{ blog.title }} \ No newline at end of file + + + + {% load static %} + + + + + + +{{ blog.title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/jobs/templates/jobs/home.html b/jobs/templates/jobs/home.html
index c9365f1..63efe40 100644
--- a/jobs/templates/jobs/home.html
+++ b/jobs/templates/jobs/home.html
@@ -1,12 +1,14 @@
+ {% load static %}
+
- {{ blog.title }}
+{{ blog.title }}
{{ blog.pubdate_pretty }}diff --git a/blog/templates/blog/detail.html b/blog/templates/blog/detail.html index 0f63566..0212031 100644 --- a/blog/templates/blog/detail.html +++ b/blog/templates/blog/detail.html @@ -1 +1,94 @@ -{{ blog.title }} \ No newline at end of file + + + + {% load static %} + + + + + + +
+
+
+
+
+ {{ blog.title }}
+{{ blog.pubdate }}
+ ++
+
{{ blog.body }}
++
Code Portfolio
My code samples.
+ diff --git a/portfolio/settings.py b/portfolio/settings.py index 2de05fa..44b9ad4 100644 --- a/portfolio/settings.py +++ b/portfolio/settings.py @@ -124,7 +124,11 @@ USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/3.0/howto/static-files/ +STATICFILES_DIRS = [ + os.path.join(BASE_DIR, 'portfolio/static') +] STATIC_URL = '/static/' +STATIC_ROOT = os.path.join(BASE_DIR, 'static') MEDIA_ROOT = os.path.join(BASE_DIR, 'media') -MEDIA_URL = '/media/' \ No newline at end of file +MEDIA_URL = '/media/' diff --git a/portfolio/static/resume.pdf b/portfolio/static/resume.pdf new file mode 100644 index 0000000..a98a8f1 Binary files /dev/null and b/portfolio/static/resume.pdf differ diff --git a/portfolio/static/sharad.jpg b/portfolio/static/sharad.jpg new file mode 100644 index 0000000..c261a51 Binary files /dev/null and b/portfolio/static/sharad.jpg differ