|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="{{ page.lang | default: site.lang | default: 'en' }}"> |
| 3 | +<head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | + |
| 8 | + <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title> |
| 9 | + <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> |
| 10 | + |
| 11 | + <link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}"> |
| 12 | + <link rel="canonical" href="{{ page.url | replace:'index.html','' | relative_url }}"> |
| 13 | + <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ '/feed.xml' | relative_url }}"> |
| 14 | + |
| 15 | + <style> |
| 16 | + .container { |
| 17 | + display: flex; |
| 18 | + max-width: 1200px; |
| 19 | + margin: 0 auto; |
| 20 | + padding: 20px; |
| 21 | + } |
| 22 | + |
| 23 | + .sidebar { |
| 24 | + width: 250px; |
| 25 | + flex-shrink: 0; |
| 26 | + margin-right: 30px; |
| 27 | + padding-right: 20px; |
| 28 | + border-right: 1px solid #e1e4e8; |
| 29 | + } |
| 30 | + |
| 31 | + .main-content { |
| 32 | + flex: 1; |
| 33 | + min-width: 0; |
| 34 | + } |
| 35 | + |
| 36 | + .sidebar h3 { |
| 37 | + margin-top: 0; |
| 38 | + margin-bottom: 10px; |
| 39 | + font-size: 16px; |
| 40 | + font-weight: 600; |
| 41 | + color: #24292e; |
| 42 | + } |
| 43 | + |
| 44 | + .sidebar ul { |
| 45 | + list-style: none; |
| 46 | + padding: 0; |
| 47 | + margin: 0 0 20px 0; |
| 48 | + } |
| 49 | + |
| 50 | + .sidebar li { |
| 51 | + margin-bottom: 5px; |
| 52 | + } |
| 53 | + |
| 54 | + .sidebar a { |
| 55 | + display: block; |
| 56 | + padding: 5px 10px; |
| 57 | + color: #586069; |
| 58 | + text-decoration: none; |
| 59 | + border-radius: 3px; |
| 60 | + font-size: 14px; |
| 61 | + } |
| 62 | + |
| 63 | + .sidebar a:hover { |
| 64 | + background-color: #f6f8fa; |
| 65 | + color: #0366d6; |
| 66 | + } |
| 67 | + |
| 68 | + .sidebar a.active { |
| 69 | + background-color: #0366d6; |
| 70 | + color: white; |
| 71 | + } |
| 72 | + |
| 73 | + .sidebar .section { |
| 74 | + margin-bottom: 30px; |
| 75 | + } |
| 76 | + |
| 77 | + .sidebar .section-title { |
| 78 | + font-size: 18px; |
| 79 | + font-weight: 600; |
| 80 | + color: #24292e; |
| 81 | + margin-bottom: 15px; |
| 82 | + padding-bottom: 5px; |
| 83 | + border-bottom: 2px solid #e1e4e8; |
| 84 | + } |
| 85 | + |
| 86 | + @media (max-width: 768px) { |
| 87 | + .container { |
| 88 | + flex-direction: column; |
| 89 | + } |
| 90 | + |
| 91 | + .sidebar { |
| 92 | + width: 100%; |
| 93 | + margin-right: 0; |
| 94 | + margin-bottom: 20px; |
| 95 | + padding-right: 0; |
| 96 | + border-right: none; |
| 97 | + border-bottom: 1px solid #e1e4e8; |
| 98 | + padding-bottom: 20px; |
| 99 | + } |
| 100 | + } |
| 101 | + </style> |
| 102 | +</head> |
| 103 | + |
| 104 | +<body> |
| 105 | + <div class="container"> |
| 106 | + <nav class="sidebar"> |
| 107 | + <div class="section"> |
| 108 | + <div class="section-title">Getting Started</div> |
| 109 | + <ul> |
| 110 | + <li><a href="{{ '/getting-started/#installation' | relative_url }}">Installation</a></li> |
| 111 | + <li><a href="{{ '/getting-started/#basic-usage' | relative_url }}">Basic Usage</a></li> |
| 112 | + <li><a href="{{ '/getting-started/#configuration' | relative_url }}">Configuration</a></li> |
| 113 | + </ul> |
| 114 | + </div> |
| 115 | + |
| 116 | + <div class="section"> |
| 117 | + <div class="section-title">Core Features</div> |
| 118 | + <ul> |
| 119 | + <li><a href="{{ '/core-features/#memory-management' | relative_url }}">Memory Management</a></li> |
| 120 | + <li><a href="{{ '/core-features/#session-management' | relative_url }}">Session Management</a></li> |
| 121 | + <li><a href="{{ '/core-features/#search-capabilities' | relative_url }}">Search Capabilities</a></li> |
| 122 | + <li><a href="{{ '/advanced-features/' | relative_url }}">Advanced Features</a></li> |
| 123 | + </ul> |
| 124 | + </div> |
| 125 | + |
| 126 | + <div class="section"> |
| 127 | + <div class="section-title">Intelligence & Security</div> |
| 128 | + <ul> |
| 129 | + <li><a href="{{ '/intelligence/#intelligence-types' | relative_url }}">Intelligence Gathering</a></li> |
| 130 | + <li><a href="{{ '/intelligence/#mitre-attack-integration' | relative_url }}">MITRE ATT&CK Integration</a></li> |
| 131 | + <li><a href="{{ '/reverse-engineering/' | relative_url }}">Reverse Engineering</a></li> |
| 132 | + <li><a href="{{ '/security-patterns/' | relative_url }}">Security Patterns</a></li> |
| 133 | + </ul> |
| 134 | + </div> |
| 135 | + |
| 136 | + <div class="section"> |
| 137 | + <div class="section-title">Integration & Development</div> |
| 138 | + <ul> |
| 139 | + <li><a href="{{ '/ai-integration/' | relative_url }}">AI Integration</a></li> |
| 140 | + <li><a href="{{ '/authorization/' | relative_url }}">Authorization</a></li> |
| 141 | + <li><a href="{{ '/integration/' | relative_url }}">General Integration</a></li> |
| 142 | + </ul> |
| 143 | + </div> |
| 144 | + |
| 145 | + <div class="section"> |
| 146 | + <div class="section-title">Technical Reference</div> |
| 147 | + <ul> |
| 148 | + <li><a href="{{ '/api-reference/' | relative_url }}">API Reference</a></li> |
| 149 | + <li><a href="{{ '/contributing/' | relative_url }}">Contributing</a></li> |
| 150 | + </ul> |
| 151 | + </div> |
| 152 | + </nav> |
| 153 | + |
| 154 | + <main class="main-content"> |
| 155 | + {{ content }} |
| 156 | + </main> |
| 157 | + </div> |
| 158 | + |
| 159 | + <script> |
| 160 | + // Add active class to current page links |
| 161 | + document.addEventListener('DOMContentLoaded', function() { |
| 162 | + const currentPath = window.location.pathname; |
| 163 | + const links = document.querySelectorAll('.sidebar a'); |
| 164 | + |
| 165 | + links.forEach(function(link) { |
| 166 | + const href = link.getAttribute('href'); |
| 167 | + if (href && currentPath.includes(href.replace('#', '').replace(/\//g, ''))) { |
| 168 | + link.classList.add('active'); |
| 169 | + } |
| 170 | + }); |
| 171 | + }); |
| 172 | + </script> |
| 173 | +</body> |
| 174 | +</html> |
0 commit comments