Skip to content

Commit 615f024

Browse files
committed
chore: format
1 parent 0df7523 commit 615f024

File tree

1 file changed

+41
-45
lines changed

1 file changed

+41
-45
lines changed

source/layouts/default.html.erb

Lines changed: 41 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,60 @@
11
<!DOCTYPE html>
22
<html>
3-
4-
<head>
3+
<head>
54
<meta charset="utf-8" />
65
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
76
<meta content="IE=edge;chrome=1" http-equiv="X-UA-Compatible" />
87
<meta name="viewport" content="width=device-width, initial-scale=1" />
98
<link href="/images/favicon.ico" rel="shortcut icon" type="image/x-icon" crossorigin="anonymous" />
109
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
11-
integrity="sha384-LN+7fdVzj6u52u30Kp6M/trliBMCMKTyK833zpbD+pXdCLuTusPj697FH4R/5mcr" crossorigin="anonymous">
10+
integrity="sha384-LN+7fdVzj6u52u30Kp6M/trliBMCMKTyK833zpbD+pXdCLuTusPj697FH4R/5mcr" crossorigin="anonymous">
1211
<link href="/css/style.css" rel="stylesheet" crossorigin="anonymous" />
1312
<title>
14-
Akademickie Stowarzyszenie Informatyczne<%= " - #{current_article.title}" unless current_article.nil? %>
13+
Akademickie Stowarzyszenie Informatyczne<%= " - #{current_article.title}" unless current_article.nil? %>
1514
</title>
1615
<meta name="description"
17-
content="Strona domowa Akademickiego Stowarzyszenia Informatycznego, czyli ponad 25-letniej organizacji popularyzującej Open Source" />
18-
</head>
19-
20-
<body>
16+
content="Strona domowa Akademickiego Stowarzyszenia Informatycznego, czyli ponad 25-letniej organizacji popularyzującej Open Source" />
17+
</head>
18+
<body>
2119
<%= partial 'shared/menu' %>
2220
<main class="container">
23-
<div class="row">
24-
<div class="col-md-8 col-sm-11">
25-
<h3>
26-
<%= current_article.title unless current_article.nil? %>
27-
</h3>
28-
<%= yield %>
29-
<% if current_article %>
30-
<a href="javascript:window.history.back();">Wstecz</a>
31-
<% end %>
32-
</div>
33-
<div class="col-md-4 col-sm-12">
34-
<div class="mb-3"></div>
35-
<h2 class="aside">Spotkania ASI</h2>
36-
<p>Spotykamy się w każdy wtorek o godzinie 18:00 w naszej siedzibie, która mieści się na ulicy
37-
Grunwaldzkiej 61, w pok. nr 1 (wejście boczne budynku T3).</p>
38-
<h2 class="aside">ASI w Internecie</h2>
39-
<a href="https://discord.gg/nwdcrnk" target="_blank">Discord</a><br>
40-
<a href="https://www.facebook.com/asi-wroclaw/" target="_blank">Facebook</a><br>
41-
<a href="https://www.linkedin.com/company/akademickie-stowarzyszenie-informatyczne/"
42-
target="_blank">LinkedIn</a><br>
43-
<a rel="me" href="https://fosstodon.org/@ASI" target="_blank">Mastodon</a><br>
44-
<a href="https://bsky.app/profile/asi.wroclaw.pl" target="_blank">Bluesky</a><br>
45-
<a href="https://www.facebook.com/groups/175529160840/" target="_blank">Grupa ASI</a><br>
46-
<p></p>
47-
<h2 class="aside">Według roku</h2>
48-
<% blog.articles.group_by { |a| a.date.year }.each do |year, articles| %>
49-
<p>
50-
<%= link_to "#{year} (#{articles.size})" , blog_year_path(year) %>
51-
</p>
52-
<% end %>
53-
</div>
21+
<div class="row">
22+
<div class="col-md-8 col-sm-11">
23+
<h3>
24+
<%= current_article.title unless current_article.nil? %>
25+
</h3>
26+
<%= yield %>
27+
<% if current_article %>
28+
<a href="javascript:window.history.back();">Wstecz</a>
29+
<% end %>
5430
</div>
31+
<div class="col-md-4 col-sm-12">
32+
<div class="mb-3"></div>
33+
<h2 class="aside">Spotkania ASI</h2>
34+
<p>Spotykamy się w każdy wtorek o godzinie 18:00 w naszej siedzibie, która mieści się na ulicy
35+
Grunwaldzkiej 61, w pok. nr 1 (wejście boczne budynku T3).</p>
36+
<h2 class="aside">ASI w Internecie</h2>
37+
<a href="https://discord.gg/nwdcrnk" target="_blank">Discord</a><br>
38+
<a href="https://www.facebook.com/asi-wroclaw/" target="_blank">Facebook</a><br>
39+
<a href="https://www.linkedin.com/company/akademickie-stowarzyszenie-informatyczne/"
40+
target="_blank">LinkedIn</a><br>
41+
<a rel="me" href="https://fosstodon.org/@ASI" target="_blank">Mastodon</a><br>
42+
<a href="https://bsky.app/profile/asi.wroclaw.pl" target="_blank">Bluesky</a><br>
43+
<a href="https://www.facebook.com/groups/175529160840/" target="_blank">Grupa ASI</a><br>
44+
<p></p>
45+
<h2 class="aside">Według roku</h2>
46+
<% blog.articles.group_by { |a| a.date.year }.each do |year, articles| %>
47+
<p>
48+
<%= link_to "#{year} (#{articles.size})" , blog_year_path(year) %>
49+
</p>
50+
<% end %>
51+
</div>
52+
</div>
5553
</main>
5654
<%= partial 'shared/footer' %>
57-
58-
<script async src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
59-
integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q"
60-
crossorigin="anonymous"></script>
55+
<script async src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
56+
integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q"
57+
crossorigin="anonymous"></script>
6158
<script async src="https://scripts.simpleanalyticscdn.com/latest.js" data-collect-dnt="true"></script>
62-
</body>
63-
59+
</body>
6460
</html>

0 commit comments

Comments
 (0)