Skip to content

Commit

Permalink
General updates
Browse files Browse the repository at this point in the history
  • Loading branch information
plibither8 committed Jul 23, 2018
1 parent a7c1112 commit 74f9563
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
15 changes: 5 additions & 10 deletions dist/.htaccess
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
Options +Indexes
Options -MultiViews

RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} !^www.sanskritischool.edu.in$ [NC]
RewriteRule ^(.*)$ http://www.sanskritischool.edu.in/$1 [L,R=301]

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^([^/]+)/$ $1.html

# Forces a trailing slash to be added
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
RewriteRule (.*)$ /$1/ [R=301,L]
RewriteRule ^([^\.]+)$ $1.html [NC,L]

#RewriteCond %{REQUEST_URI} !(/$|\.)
#RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]

ErrorDocument 404 /404.html

Expand Down
4 changes: 3 additions & 1 deletion dist/about/staff/middle-senior.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ <h2>Department of History-Civics</h2>
<li>Minakshi Khemka</li>
<li>Mona Singh</li>
<li>Swati Shukla</li>
<li>Department of Geography</li>
</div>
<h2>Department of Geography</h2>
<div class="ul">
<li>Kavita Gupta (HOD)</li>
<li>Nilakshi Chatterjee</li>
<li>Shilpi Singh</li>
Expand Down
2 changes: 1 addition & 1 deletion dist/assets/json/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
{
"name": "Staff",
"href": "/about/staff"
"href": "/about/staff.html"
},
{
"name": "Counselling",
Expand Down
4 changes: 2 additions & 2 deletions dist/news/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ <h2>September 2017</h2>
<a href="/News/anti_bullying_class_V.pdf" target="_blank">View ..... </a>
</li>
<li class="updates-item">24/09/2017: Canteen Menu for 25th to 27th Sept 2017
<a href="/Canteen.html" target="_blank">View ..... </a>
<a href="./Canteen.html" target="_blank">View ..... </a>
</li>
<li class="updates-item">22/09/2017: Student Council Form 2017
<a href="/News/CouncilForm.pdf" target="_blank">View ..... </a>
Expand Down Expand Up @@ -819,7 +819,7 @@ <h2>May 2017</h2>
<a href="https://goo.gl/forms/1kUrwo7BA6r4tGX62" target="_blank">Maths Club </a>
</li>
<li class="updates-item">11/05/2017:
<a href="/newsletter.html" target="_blank">Junior school :Suggested Activities for the Summer Vacations 2017-18</a>
<a href="./newsletter.html" target="_blank">Junior school :Suggested Activities for the Summer Vacations 2017-18</a>
</li>
<li class="updates-item">09/05/2017:
<a href="/News/HolidayHomework.pdf" target="_blank">Holiday Homework for the Middle and Senior School</a>
Expand Down
6 changes: 5 additions & 1 deletion src/pug/pages/about/staff/middle-senior.pug
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ html(lang='en')
li Minakshi Khemka
li Mona Singh
li Swati Shukla
li Department of Geography

h2 Department of Geography

.ul

li Kavita Gupta (HOD)
li Nilakshi Chatterjee
li Shilpi Singh
Expand Down

0 comments on commit 74f9563

Please sign in to comment.