mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-02-12 21:10:54 +00:00
Compare commits
5 Commits
147064b359
...
anee-branc
| Author | SHA1 | Date | |
|---|---|---|---|
| 58cb5c09f2 | |||
| 2f6bdbdf54 | |||
| 1518f633c6 | |||
| 7f968ddd5d | |||
| e01a4f3e6c |
@ -21,9 +21,9 @@ defaults:
|
|||||||
is_category_page: true
|
is_category_page: true
|
||||||
layout: category
|
layout: category
|
||||||
|
|
||||||
name: Watch Out, IIT Roorkee
|
title: Watch Out, IIT Roorkee
|
||||||
url: http://watchout.iitr.ac.in
|
url: http://watchout.iitr.ac.in
|
||||||
gems: [jekyll-paginate]
|
plugins: [jekyll-paginate]
|
||||||
description: The official news magazine of IIT Roorkee.
|
description: The official news magazine of IIT Roorkee.
|
||||||
paginate: 10
|
paginate: 10
|
||||||
paginate_path: "/page/:num"
|
paginate_path: "/page/:num"
|
||||||
|
|||||||
@ -1,15 +1,9 @@
|
|||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0DKSQSXFTB"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
<!-- Google Analytics -->
|
gtag('config', 'G-0DKSQSXFTB');
|
||||||
<script type="text/javascript">
|
</script>
|
||||||
|
|
||||||
var _gaq = _gaq || [];
|
|
||||||
_gaq.push(['_setAccount', 'UA-35663579-1']);
|
|
||||||
_gaq.push(['_trackPageview']);
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
||||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
||||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
||||||
})();
|
|
||||||
|
|
||||||
</script>
|
|
||||||
@ -105,17 +105,20 @@
|
|||||||
<script>
|
<script>
|
||||||
document.addEventListener('DOMContentLoaded', function() {
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
// Mobile menu elements
|
// Mobile menu elements
|
||||||
const mobileToggle = document.getElementById('mobile-menu-toggle');
|
|
||||||
const mobileNav = document.getElementById('mobile-nav');
|
const mobileNav = document.getElementById('mobile-nav');
|
||||||
const mobileNavOverlay = document.getElementById('mobile-nav-overlay');
|
const mobileNavOverlay = document.getElementById('mobile-nav-overlay');
|
||||||
const mobileNavClose = document.getElementById('mobile-nav-close');
|
const mobileNavClose = document.getElementById('mobile-nav-close');
|
||||||
|
const mobileToggle = document.getElementById('mobile-menu-toggle');
|
||||||
// Function to open mobile menu
|
// Function to open mobile menu
|
||||||
function openMobileMenu() {
|
function openMobileMenu() {
|
||||||
if (mobileNav && mobileNavOverlay) {
|
if (mobileNav && mobileNavOverlay) {
|
||||||
mobileNav.classList.add('show');
|
mobileNav.classList.add('show');
|
||||||
mobileNavOverlay.classList.add('show');
|
mobileNavOverlay.classList.add('show');
|
||||||
mobileToggle.classList.add('active');
|
const toggle = document.getElementById('mobile-menu-toggle');
|
||||||
|
if (toggle) {
|
||||||
|
toggle.parentElement.removeChild(toggle);
|
||||||
|
}
|
||||||
document.body.style.overflow = 'hidden'; // Prevent body scroll
|
document.body.style.overflow = 'hidden'; // Prevent body scroll
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -125,8 +128,28 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
if (mobileNav && mobileNavOverlay) {
|
if (mobileNav && mobileNavOverlay) {
|
||||||
mobileNav.classList.remove('show');
|
mobileNav.classList.remove('show');
|
||||||
mobileNavOverlay.classList.remove('show');
|
mobileNavOverlay.classList.remove('show');
|
||||||
mobileToggle.classList.remove('active');
|
|
||||||
document.body.style.overflow = ''; // Restore body scroll
|
document.body.style.overflow = ''; // Restore body scroll
|
||||||
|
if (!document.getElementById('mobile-menu-toggle')) {
|
||||||
|
const newToggle = document.createElement('button');
|
||||||
|
newToggle.type = 'button';
|
||||||
|
newToggle.id = 'mobile-menu-toggle';
|
||||||
|
newToggle.className = 'navbar-toggle visible-xs position-fixed top-0 end-0 m-3 z-1030';
|
||||||
|
newToggle.innerHTML = `
|
||||||
|
<span class="sr-only">Toggle navigation</span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
`;
|
||||||
|
|
||||||
|
const container = document.querySelector('.pre-nav');
|
||||||
|
if (container) container.appendChild(newToggle);
|
||||||
|
|
||||||
|
newToggle.addEventListener('click', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
e.stopPropagation();
|
||||||
|
openMobileMenu();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Close all open dropdowns
|
// Close all open dropdowns
|
||||||
const openDropdowns = document.querySelectorAll('.mobile-nav .dropdown.open');
|
const openDropdowns = document.querySelectorAll('.mobile-nav .dropdown.open');
|
||||||
|
|||||||
@ -74,6 +74,6 @@ This issue can be dealt with if the dogs are treated properly. The campus has a
|
|||||||
|
|
||||||
The Dog Menace Committee meets every month, so any rule/initiatives which may have loopholes are expected to be revamped. Roorkee’s pup fiction will need an active contribution from the campus junta to have a happy and warm ending.
|
The Dog Menace Committee meets every month, so any rule/initiatives which may have loopholes are expected to be revamped. Roorkee’s pup fiction will need an active contribution from the campus junta to have a happy and warm ending.
|
||||||
|
|
||||||
<span style="text-decoration:underline">[Minutes of Meeting of the Dog Menace Committee Meeting, 15 th April 2019 (PDF)]({{ site.url }}/{{ https://drive.google.com/file/d/1Ro59qPApmDfeWm5k_YyI3-p5jzWroQFa/view?usp=sharing }})</span>
|
<span style="text-decoration:underline">[Minutes of Meeting of the Dog Menace Committee, 15th April 2019 (PDF)](https://drive.google.com/file/d/1Ro59qPApmDfeWm5k_YyI3-p5jzWroQFa/view?usp=sharing)</span>
|
||||||
|
|
||||||
{: style="width:70%;height:auto"}
|
{: style="width:70%;height:auto"}
|
||||||
|
|||||||
2
atom.xml
2
atom.xml
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: nil
|
layout: none
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: nil
|
layout: none
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
|||||||
Reference in New Issue
Block a user